Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kaist_14/korquad-open-ldbd/22 submission error #37

Open
as12088 opened this issue Jun 19, 2020 · 8 comments
Open

kaist_14/korquad-open-ldbd/22 submission error #37

as12088 opened this issue Jun 19, 2020 · 8 comments

Comments

@as12088
Copy link

as12088 commented Jun 19, 2020

Traceback (most recent call last):
File "run_squad.py", line 78, in
(),
File "run_squad.py", line 77, in
(tuple(conf.pretrained_config_archive_map.keys()) for conf in (BertConfig, RobertaConfig, XLNetConfig, XLMConfig)),
AttributeError: type object 'BertConfig' has no attribute 'pretrained_config_archive_map'
User session exited
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

I trained the baseline model and tried to submit in about 10 days ago. At that time, the docker image was not created, so submission was impossible due to a server problem. After the server problem was solved, I tried to submit again, but now it is said that it is impossible to submit due to a code problem. I don't understand, when I run the baseline code, why can't I just test after 4 days of learning? Please resolve it as soon as possible

@nsml-admin
Copy link

Please refer to this #34 (comment)

@as12088
Copy link
Author

as12088 commented Jun 19, 2020

I tried it but still getting problem. kaist_14/korquad-open-ldbd/25

@nsml-admin
Copy link

As I said in the comment, as the server is updated, new package versions are downloaded, but the package version has been updated in the meantime, and the updated package and code are not compatible.

To fix this error, please change setup.py like below

from

# nsml: nsml/ml:cuda10.1-cudnn7-pytorch1.3keras2.3

from distutils.core import setup

setup(
    name='kaist-korquad-test',
    version='1.0',
    install_requires=[
        'boto3', 'regex', 'sacremoses', 'filelock', 'tokenizers',
        'tqdm', 'konlpy', 'sentencepiece', 'dataclasses', 'transformers'
    ]
)

to

# nsml: nsml/ml:cuda10.1-cudnn7-pytorch1.3keras2.3

from distutils.core import setup

setup(
    name='kaist-korquad-test',
    version='1.0',
    install_requires=[
        'boto3', 'regex', 'sacremoses', 'filelock', 'tokenizers',
        'tqdm', 'konlpy', 'sentencepiece', 'dataclasses', 'transformers==2.10.0'
    ]
)

@as12088
Copy link
Author

as12088 commented Jun 19, 2020

Are you saying that I can't test the model I've learned before, and I need to learn new ones after changing setup.py?

@as12088
Copy link
Author

as12088 commented Jun 19, 2020

I fixed but it does not work!!

from distutils.core import setup

setup(
name='kaist-korquad-test',
version='1.0',
install_requires=[
'boto3', 'regex', 'sacremoses', 'filelock', 'tokenizers',
'tqdm', 'konlpy', 'sentencepiece', 'dataclasses', 'transformers==2.10.0'
]
)

@nsml-admin
Copy link

Does test mean submit?

If you want to submit a previous session, please let us know your session name. We'll fix it and let you know again.

And if you have a session that doesn't work even though you changed it, please tell us sessionName

@as12088
Copy link
Author

as12088 commented Jun 19, 2020

I want to submit kaist_14/korquad-open-ldbd/1

@nsml-admin
Copy link

Please submit again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants