I am new in this forum and Hugging face models. Could someone help with this:
I want to use model ‘Helsinki-NLP/opus-mt-en-sla’. I am using code from the site:
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained(“Helsinki-NLP/opus-mt-en-sla”)
model = AutoModelForSeq2SeqLM.from_pretrained(“Helsinki-NLP/opus-mt-en-sla”)
but I get this error: ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.
I have installed all necessary libraries and my internet connection is good…could someone help with this?