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
Model name not found or config.json missing #6
Comments
Hi, the archive |
Hi, thanks for your quick reply! Now it works :) Does that mean that only models starting with xlm work with the transformers lib ? Could we load the Flaubert from |
Hi @hzitoun, We are uploading Flaubert’s pretrained models to Hugging Face’s repo, so very soon you’ll be able to load them in |
@formiel that is great! Are you planning as well to be part of the A bit like what import torch
flaubert = torch.hub.load('pytorch/fairseq', 'flaubert.v1')
flaubert.eval()
masked_line = 'Le ciel est <mask> aujourd'hui :)' #a bit of imagination :)
flaubert.fill_mask(masked_line, topk=5) Finally, when running the example in readme, I'm getting the following warning:
Any idea? Thank you for being so reactive! Eager to try your model on some semantic search tasks, will compare results to CamemBERT too :) |
Thanks for the suggestion. That's also planned but unfortunately we have no ETA yet.
We have integrated Flaubert into Hugging Face's |
assume that you got your answer @hzitoun ? |
Transformers version
2.3.0
Pytorch version
1.4
When running readme.md code
Output
Tried downloading the model as tar file (lower and normal), extracting it and putting its absolute folder path as
modelname
but keeps getting the same error....I may be missing something so stupid but I don't see a
config.json
file in the archive fileWhat is wrong?
The text was updated successfully, but these errors were encountered: