Translation
LiteRT
Safetensors
English
German
marian
odegiber commited on
Commit
9f7104e
·
verified ·
1 Parent(s): 0f3adf0

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - Helsinki-NLP/tatoeba
5
+ - openlanguagedata/flores_plus
6
+ - facebook/bouquet
7
+ language:
8
+ - en
9
+ - de
10
+ metrics:
11
+ - bleu
12
+ - comet
13
+ - chrf
14
+ pipeline_tag: translation
15
+ ---
16
+
17
+ # OPUS-MT-tiny-deu-eng
18
+
19
+ Distilled model from a Tatoeba-MT Teacher: [OPUS-MT-models/de-en/opus-2020-02-26](https://object.pouta.csc.fi/OPUS-MT-models/de-en/opus-2020-02-26.zip), which has been trained on the [Tatoeba](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/data) dataset.
20
+
21
+ We used the [OpusDistillery](https://github.com/Helsinki-NLP/OpusDistillery) to train new a new student with the tiny architecture, with a regular transformer decoder.
22
+ For training data, we used [Tatoeba](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/data).
23
+ The configuration file fed into OpusDistillery can be found [here](https://github.com/Helsinki-NLP/OpusDistillery/blob/main/configs/opustranslate_hf/config.op.de-en.yml).
24
+
25
+ ## How to run
26
+ ```python
27
+ >>> from transformers import pipeline
28
+ >>> pipe = pipeline("translation", model="Helsinki-NLP/opus-mt_tiny_deu-eng", max_length=256)
29
+ >>> pipe("Hallo, wie geht's dir?")
30
+ ```
31
+
32
+ ## Benchmarks
33
+ ### Teacher
34
+ | testset | BLEU | chr-F | COMET|
35
+ |-----------------------|-------|-------|-------|
36
+ | Flores+ | 40.6 | 66.7 | 0.8559 |
37
+ | Bouquet | 42.5 | 63.5 | 0.8674|
38
+
39
+ ### Student
40
+
41
+ | testset | BLEU | chr-F | COMET |
42
+ |-----------------------|-------|-------|-------|
43
+ | Flores+ | - | - | - |
44
+ | Bouquet | - | - |- |
45
+
46
+