How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
# Warning: Pipeline type "translation" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# 'pip install "transformers<5.0.0'
from transformers import pipeline

pipe = pipeline("translation", model="JavierIA/es-en")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("JavierIA/es-en")
model = AutoModelForSeq2SeqLM.from_pretrained("JavierIA/es-en")
Quick Links

eng-spa

Benchmarks

testset BLEU chr-F
newssyscomb2009-engspa.eng.spa 31.0 0.583
news-test2008-engspa.eng.spa 29.7 0.564
newstest2009-engspa.eng.spa 30.2 0.578
newstest2010-engspa.eng.spa 36.9 0.620
newstest2011-engspa.eng.spa 38.2 0.619
newstest2012-engspa.eng.spa 39.0 0.625
newstest2013-engspa.eng.spa 35.0 0.598
Tatoeba-test.eng.spa 54.9 0.721

System Info:

Downloads last month
7
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support