alexa / dialoglue

DialoGLUE: A Natural Language Understanding Benchmark for Task-Oriented Dialogue
https://evalai.cloudcv.org/web/challenges/challenge-page/708/overview
Apache License 2.0
282 stars 27 forks source link

Cannot download pre-trained model #4

Closed zqwerty closed 4 years ago

zqwerty commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

mihail-amazon commented 4 years ago

Yup just opened a PR for it: https://github.com/alexa/dialoglue/pull/6

mihail-amazon commented 4 years ago

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 commented 4 years ago

Great!

jind11 commented 4 years ago

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!