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

demo error: bert-base-uncased #7

Open
ericyq opened this issue Aug 12, 2024 · 2 comments
Open

demo error: bert-base-uncased #7

ericyq opened this issue Aug 12, 2024 · 2 comments

Comments

@ericyq
Copy link

ericyq commented Aug 12, 2024

dynrefer_inference.py
model = task.build_model(cfg)
tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")

OSError: Can't load tokenizer for 'bert-base-uncased'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'bert-base-uncased' is the correct path to a directory containing all relevant files for a BertTokenizer tokenizer.

@ericyq
Copy link
Author

ericyq commented Aug 13, 2024

Download is complete using the Agency website

@callsys
Copy link
Owner

callsys commented Aug 13, 2024

Sorry for the delay response, bert-base-uncased can be downloaded by tools like huggingface_hub.

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

No branches or pull requests

2 participants