Model Card for Model ID
The model is used to convert text from English to Spanish(Seq2Seq) (Translation)
How to Get Started with the Model
Use the code below to get started with the model.
# Loading PreTrained Models
checkpoint = 'Tharunya1/English-Spanish'
tokenizer = AutoTokenizer.from_pretrained('Tharunya1/English-Spanish')
model = AutoModelForSeq2SeqLM.from_pretrained('Tharunya1/English-Spanish')
input_token = 'How are you and where is your wife?'
tokens = tokenizer(input_token,return_tensors='pt')
output = model.generate(**tokens)
tokenizer.decode(output[0],skip_special_tokens=True) ## returns "驴C贸mo est谩n y d贸nde est谩 su esposa?"
- Downloads last month
- 3
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support