ymcui / MacBERT

Revisiting Pre-trained Models for Chinese Natural Language Processing (MacBERT)
https://www.aclweb.org/anthology/2020.findings-emnlp.58/
Apache License 2.0
639 stars 56 forks source link

huggingface models clone failed #16

Closed Vimos closed 2 years ago

Vimos commented 2 years ago

I tried several times, but still getting the following error

(base) vimos@vimos-Z270MX-Gaming5 pretrained_models  % git lfs install
git clone https://huggingface.co/hfl/chinese-macbert-base
Git LFS initialized.
Cloning into 'chinese-macbert-base'...
remote: Authorization error.
fatal: unable to access 'https://huggingface.co/hfl/chinese-macbert-base/': The requested URL returned error: 403

I can clone other models without problems. Is there any special authentication requirements on MacBERT?

ymcui commented 2 years ago

I didn't find any issues on cloning MacBERT-base. If it does not work for you, please try to download these models manually on the webpage.

> git clone https://huggingface.co/hfl/chinese-macbert-base
Cloning into 'chinese-macbert-base'...
remote: Enumerating objects: 45, done.
remote: Counting objects: 100% (45/45), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 45 (delta 17), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (45/45), done.
Downloading flax_model.msgpack (409 MB)
Downloading pytorch_model.bin (412 MB)
Downloading tf_model.h5 (478 MB)
Vimos commented 2 years ago

OK, thanks!

It seems I cannot clone any of the models under the namespace hfl.

(base) vimos@vimos-Z270MX-Gaming5 pretrained_models  % git lfs install
git clone https://huggingface.co/hfl/chinese-roberta-wwm-ext-large
Git LFS initialized.
Cloning into 'chinese-roberta-wwm-ext-large'...
remote: Authorization error.
fatal: unable to access 'https://huggingface.co/hfl/chinese-roberta-wwm-ext-large/': The requested URL returned error: 403
(base) vimos@vimos-Z270MX-Gaming5 pretrained_models  % git lfs install
git clone https://huggingface.co/hfl/chinese-roberta-wwm-ext
Git LFS initialized.
Cloning into 'chinese-roberta-wwm-ext'...
remote: Authorization error.
fatal: unable to access 'https://huggingface.co/hfl/chinese-roberta-wwm-ext/': The requested URL returned error: 403
ymcui commented 2 years ago

We cannot put any restrictions on accessing our models. Sometimes huggingface may restrict unusual frequent access to the model hub. If this is the case, please try to forward your issue to huggingface team for further information.