Instructions to use microsoft/deberta-v3-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/deberta-v3-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="microsoft/deberta-v3-large")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/deberta-v3-large", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Unable to load vocabulary from file
#7
by IgorSh - opened
hello
when i try to do
tokenizer = AutoTokenizer.from_pretrained('microsoft/deberta-v3-large')
I get error: OSError: Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted.
What I should do?
After trying to fix this problem for 3 days, I simply changed the location of the file and it worked. The space on a single file caused this error.
Hope this helps.
Thanks, but I don't understand what file you're talking about
I downloaded the model files to my PC. The file path of the model includes a folder with a space on its name. The space caused the error of "not being able to find the spm.model file. "