huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
134.74k stars 26.94k forks source link

Uploaded models not appearing on website #4322

Closed manueltonneau closed 4 years ago

manueltonneau commented 4 years ago

🐛 Bug

Information

I uploaded two models (named clinicalcovid-bert-base-cased and biocovid-bert-large-cased) following the instructions on the website. The folder I uploaded for each model contains the configuration json file, the vocabulary in txt format, the three tensorflow models files and the pytorch model bin. They are now downloadable from S3 at the following links:

Model Downloads
clinicalcovid-bert-base-cased config.jsontensorflow weightstensorflow.metatensorflow.indexpytorch_model.binvocab.txt
biocovid-bert-large-cased config.jsontensorflow weightstensorflow.metatensorflow.indexpytorch_model.binvocab.txt

Yet, they are not appearing on the website. Any idea why that could be?

julien-c commented 4 years ago

Hi @mananeau we should improve validation and error messages soon, but the config.json file should be exactly named config.json

If you rename those files your models will pop up.

Are they TF2 models?

manueltonneau commented 4 years ago

Got it, will try now.

Are they TF2 models?

They are TF1.11 and TF1.15 models.

manueltonneau commented 4 years ago

It worked, thanks a lot for your swift reply :) I created a PR mentioned above to clarify the upload instructions in the README.md.

Keep on rocking!

julien-c commented 4 years ago

They are TF1.11 and TF1.15 models.

FYI you can host those models if you want, but the transformers library doesn't support them

julien-c commented 4 years ago

(I'd be interested in hearing more about your use case here though)