Open as12088 opened 4 years ago
Please refer to this https://github.com/Naver-AI-Hackathon/cs492h/issues/34#issuecomment-643721935
I tried it but still getting problem. kaist_14/korquad-open-ldbd/25
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'
]
)
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?
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' ] )
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
I want to submit kaist_14/korquad-open-ldbd/1
Please submit again.
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