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

The download speed is very slow in China #53

Closed
chncwang opened this issue May 22, 2020 · 8 comments
Closed

The download speed is very slow in China #53

chncwang opened this issue May 22, 2020 · 8 comments

Comments

@chncwang
Copy link

After I execute bert_score to run examples, it begins to download files, and the first file is downloaded fast, but the second file of size 1.43G, which I suppose is the BERT model file, is very verty slow, and my base is China. Is there any method to work around this problem? for example can I download BERT models elsewhere first and then use bert_score to run them?

@felixgwu
Copy link
Collaborator

Hi @chncwang,

It seems to be common that it's very slow to download files from s3 to China.
Since the model downloading part is handled within huggingface's transformers library, it would be better to contact them instead.

To use a downloaded model with bert-score, you can simply set --model path/to/my/roberta-large to specify the folder containing the pretrained model.

Best,
Felix

@chncwang
Copy link
Author

Thank you!

@felixgwu
Copy link
Collaborator

Hi @chncwang,

I've put a copy of RoBERTa-large on Baidu Pan. I hope this helps.
Link: https://pan.baidu.com/s/1MTmGHsZ3ubn7Vr_W-wyEdQ
Password: dhe5

Best,
Felix

@chncwang
Copy link
Author

Hi @chncwang,

I've put a copy of RoBERTa-large on Baidu Pan. I hope this helps.
Link: https://pan.baidu.com/s/1MTmGHsZ3ubn7Vr_W-wyEdQ
Password: dhe5

Best,
Felix

Many thanks! i am just struggling to search where to download bert models satisfying bert_score's format, but have not seen anywhere. I will try it right now!

@chncwang
Copy link
Author

Hi @chncwang,

I've put a copy of RoBERTa-large on Baidu Pan. I hope this helps.
Link: https://pan.baidu.com/s/1MTmGHsZ3ubn7Vr_W-wyEdQ
Password: dhe5

Best,
Felix

It works!
Would you mind to facilitate me to download bert-base-chinese please? Since I plan to use bert-score to evaluate conversation models on Chinese. Thank you again!

@felixgwu
Copy link
Collaborator

Yes, here is the link: https://pan.baidu.com/s/1THfiCXjWtdGGsCMskQ5svA and password: jvk7
I hope this helps.

@chncwang
Copy link
Author

It really helps me! Thank you again!

@chncwang
Copy link
Author

Despite various ngram and embedding based automatic metric approaches I have tried, this is the first automatic metric showing our models' priority. It really saves me...

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