Problem while uploading a file

I am trying to upload our bert model for stack-overflow domain. I have used the transformer-cli upload command and I can access the uploaded files and see them .

However in in the https://huggingface.co/ web page I am always getting the errors that config,json is not found

image

Any help is really appreciated. Thanks.

2 Likes

Maybe @julien-c has a solution.

I’m having the same issue.
Though i have uploaded the config.json, I am getting the same error

These are the uploaded files

following is the logs from the upload command

https://s3.amazonaws.com/models.huggingface.co/bert/bewgle/bart-large-mnli-bewgle/tokenizer_config.json
Your file now lives at:                                                                                                                        
https://s3.amazonaws.com/models.huggingface.co/bert/bewgle/bart-large-mnli-bewgle/special_tokens_map.json
Your file now lives at:                                                                                                                        
https://s3.amazonaws.com/models.huggingface.co/bert/bewgle/bart-large-mnli-bewgle/config.json
Your file now lives at:                                                                                                                        
https://s3.amazonaws.com/models.huggingface.co/bert/bewgle/bart-large-mnli-bewgle/modelcard.json
Your file now lives at:                                                                                                                        
https://s3.amazonaws.com/models.huggingface.co/bert/bewgle/bart-large-mnli-bewgle/README.md
Your file now lives at:                                                                                                                        
https://s3.amazonaws.com/models.huggingface.co/bert/bewgle/bart-large-mnli-bewgle/merges.txt
Your file now lives at:                                                                                                                        
https://s3.amazonaws.com/models.huggingface.co/bert/bewgle/bart-large-mnli-bewgle/pytorch_model.bin
Your file now lives at:                                                                                                                        
https://s3.amazonaws.com/models.huggingface.co/bert/bewgle/bart-large-mnli-bewgle/vocab.json

Could it be that the /bert/ should be /bart/ in the s3 URL?

@swarajraibagi, I am not sure if there is anyway to change the urls. how you did that?

@julien-c, It will be really great if you can provide some solution/insight into this problem. I am kind of stuck for days :frowning:

@jeniya I didn’t change the url, I was wondering if that is contributing to the bug.

1 Like

@julien-c worth noting
the model seems to have uploaded correctly since the below code runs without any error

In [1]: from transformers import AutoModelForSequenceClassification

In [2]: model = AutoModelForSequenceClassification.from_pretrained('bewgle/bart-large-mnli-bewgle')
1 Like

Looking into it with @lysandre, should be fixed tomorrow.

Should be fixed now.

3 Likes

it’s working as expected now
Thanks !

I’m not sure if it’s related but it seems like the model does not load in exbert, for example this one.

1 Like

Its working now! Thanks :smiley: