OpusTranslate
Collection
Collection of tiny models for the OpusTranslate mobile phone application. • 7 items • Updated
• 1
Distilled model from a Tatoeba-MT Teacher: OPUS-MT-models/en-ru/opus-2020-02-11, which has been trained on the Tatoeba dataset.
We used the OpusDistillery to train new a new student with the tiny architecture, with a regular transformer decoder. For training data, we used Tatoeba. The configuration file fed into OpusDistillery can be found here.
>>> from transformers import pipeline
>>> pipe = pipeline("translation", model="Helsinki-NLP/opus-mt_tiny_eng-rus", max_length=256)
>>> pipe("Hello, how are you?")
| testset | BLEU | chr-F | COMET |
|---|---|---|---|
| Flores+ | 25.8 | 53.9 | 0.8459 |
| Bouquet | 31.8 | 55.3 | 0.8685 |
| testset | BLEU | chr-F | COMET |
|---|---|---|---|
| Flores+ | |||
| Bouquet |