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

Cannot download pre-trained model #4

Closed
zqwerty opened this issue Oct 5, 2020 · 6 comments
Closed

Cannot download pre-trained model #4

zqwerty opened this issue Oct 5, 2020 · 6 comments
Assignees

Comments

@zqwerty
Copy link

zqwerty commented Oct 5, 2020

When running

python run.py \
        --train_data_path data_utils/dialoglue/hwu/train.csv \
        --val_data_path data_utils/dialoglue/hwu/val.csv \
        --test_data_path data_utils/dialoglue/hwu/test.csv \
        --token_vocab_path bert-base-uncased-vocab.txt \
        --train_batch_size 64 --dropout 0.1 --num_epochs 0 --learning_rate 6e-5 \
        --model_name_or_path convbert-dg --task intent --do_lowercase --max_seq_length 50 --mlm_pre --mlm_during --dump_outputs \

there is an error:

OSError: Model name 'convbert-dg' was not found in model name list. We assumed 'https://s3.amazonaws.com/models.huggingface.co/bert/convbert-dg/config.json' was a path, a model identifier, or url to a configuration file named config.json or a directory containing such a file but couldn't find any such file at this path or url.

How to download the checkpoints/pre-trained models stated in the README?

@mihail-amazon mihail-amazon self-assigned this Oct 5, 2020
@mihail-amazon
Copy link
Contributor

Hi @zqwerty thanks for pointing this out. We're still working on getting our pretrained checkpoints (the convbert-dg mentioned) onto a public s3 bucket, which we hope to have done in the next few days. I'll let you know when it's made available.

@zqwerty
Copy link
Author

zqwerty commented Oct 6, 2020

Thanks! BTW, could you post your environment (python packages&version) as well?

@mihail-amazon
Copy link
Contributor

Yup just opened a PR for it: #6

@mihail-amazon
Copy link
Contributor

Hey @zqwerty I've added a link to the checkpoints in our README, which should fix your issue. Let us know if you have any other problems.

@zqwerty
Copy link
Author

zqwerty commented Oct 11, 2020

Great!

@jind11
Copy link

jind11 commented Oct 30, 2020

Hi, I saw the link to download the checkpoints, however, I am not familiar with aws commands, so what is the command line to download those checkpoints? Could you provide it or all users need to learn the aws cli commands themselves. Thank you!

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

3 participants