Skip to content
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

In which directory the downloaded roberta-base models will be stored on linux server conda environment #2128

Closed
jonanem opened this issue Dec 10, 2019 · 5 comments
Labels

Comments

@jonanem
Copy link

jonanem commented Dec 10, 2019

In which directory the downloaded roberta-base models will be stored on linux server conda environment

@LysandreJik
Copy link
Member

Models downloaded with the XXXModel.from_pretrained method are usually in the torch home folder, which is ~/.cache/torch/transformers

@jonanem
Copy link
Author

jonanem commented Dec 11, 2019

Thanks for your response. I could see there are some files with below names
b35e7cd126cd4229a746b5d5c29a749e8e84438b14bcdb575950584fe33207e8.70bec105b4158ed9a1747fea67a43f5dee97855c64d62b6ec3742f4cfdb5feda.json

Can we rename those files something like below, the naming convention mentioned in https://s3.amazonaws.com/models.huggingface.co/

roberta-base-config.json

and load them as RobertaTokenizer.from_pretrained('roberta-base')

@aaugustin
Copy link
Contributor

#2157 is very similar; perhaps it'll answer your question.

@stale
Copy link

stale bot commented Mar 1, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 1, 2020
@stale stale bot closed this as completed Mar 8, 2020
@johntiger1
Copy link

If we have the model loaded, can we then find from where on disk it was loaded?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants