wmt/wmt16
Viewer • Updated • 9.98M • 9.33k • 26
How to use kazandaev/m2m100_418M with Transformers:
# 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="kazandaev/m2m100_418M") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("kazandaev/m2m100_418M")
model = AutoModelForSeq2SeqLM.from_pretrained("kazandaev/m2m100_418M")This model is a fine-tuned version of kazandaev/m2m100_418M on the custom en-ru dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|---|---|---|---|---|---|
| 0.8087 | 1.0 | 47790 | 0.9542 | 30.786 | 36.1469 |
| 0.7266 | 2.0 | 95580 | 0.8954 | 32.0585 | 36.1643 |
Unable to build the model tree, the base model loops to the model itself. Learn more.