-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Issue while model sharing and uploading on huggingface #8512
Comments
You cannot save directly remotely like this (though it could be nice to be able to do this in the future, cc @madlag). You need to first create a repo with Then clone it locally and add your files, then push. Hopefully #8520 makes it clearer? |
yes. Thankyou. :) |
Hello, I have the same issue with different outputs. I followed all steps in https://huggingface.co/transformers/model_sharing.html remote: OS: Ubuntu 20.04 I already used "git lfs install" but I could not figure out this problem. I wish someone can help |
@serdarakyol Please make sure you read the Getting started guide at https://git-lfs.github.com/ – in your case I think you didn't lfs-track your actual model file |
@julien-c Thank you so much. fixed the problem |
The model I am using (Bert, XLNet ...): Roberta for questionanswering
I am trying to follow the tutorial given in https://huggingface.co/transformers/model_sharing.html and while I am able to load my model in the local repository, I am unable to save my model and tokenizer using "model.save_pretrained("https://huggingface.co/saburbutt/testing")
tokenizer.save_pretrained("https://huggingface.co/saburbutt/testing")"
If I try to open the link it says "Cannot GET /saburbutt/testing/tokenizer_config.json"
While I try to "echo "hello" >> README.md" or use git functions, It gives me the error "fatal: not a git repository (or any of the parent directories): .git" The task I am working on is SQuAD
I expect the model to be saved in the huggingface/saburbutt/testing repository
The text was updated successfully, but these errors were encountered: