wmt/wmt19
Viewer • Updated • 124M • 29.1k • 48
How to use stas/tiny-wmt19-en-de with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("stas/tiny-wmt19-en-de")
model = AutoModelForSeq2SeqLM.from_pretrained("stas/tiny-wmt19-en-de")This is a tiny model that is used in the transformers test suite. It doesn't do anything useful, other than testing that modeling_fsmt.py is functional.
Do not try to use it for anything that requires quality.
The model is indeed 1MB in size.
You can see how it was created here.
If you're looking for the real model, please go to https://huggingface.co/facebook/wmt19-en-de.