Ubuntu commited on
Commit
02aecb6
1 Parent(s): d54dd7f

update model card

Browse files
Files changed (1) hide show
  1. README.md +51 -0
README.md CHANGED
@@ -1,3 +1,54 @@
1
  ---
2
  license: cc-by-nc-sa-4.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-sa-4.0
3
  ---
4
+
5
+ This is a [COMET](https://github.com/Unbabel/COMET) quality estimation model: It receives a source sentence and the respective translation and returns a score that reflects the quality of the translation.
6
+
7
+ # Paper
8
+
9
+ [CometKiwi: IST-Unbabel 2022 Submission for the Quality Estimation Shared Task](https://aclanthology.org/2022.wmt-1.60) (Rei et al., WMT 2022)
10
+
11
+
12
+ ## Usage (unbabel-comet)
13
+
14
+ Using this model requires unbabel-comet to be installed:
15
+
16
+ ```bash
17
+ pip install --upgrade pip # ensures that pip is current
18
+ pip install unbabel-comet
19
+ ```
20
+
21
+ Then you can use the model like this:
22
+
23
+ ```python
24
+ from comet import download_model, load_from_checkpoint
25
+
26
+ model_path = download_model("Unbabel/wmt22-cometkiwi-da")
27
+ model = load_from_checkpoint(model_path)
28
+ data = [
29
+ {
30
+ "src": "Dem Feuer konnte Einhalt geboten werden",
31
+ "mt": "The fire could be stopped"
32
+ },
33
+ {
34
+ "src": "Schulen und Kindergärten wurden eröffnet.",
35
+ "mt": "Schools and kindergartens were open"
36
+ }
37
+ ]
38
+ model_output = model.predict(data, batch_size=8, gpus=1)
39
+ print (model_output)
40
+ ```
41
+
42
+ ## Intended uses
43
+
44
+ Our model is intented to be used for **reference-free MT evaluation**.
45
+
46
+ Given a source text and its translation, outputs a single score between 0 and 1 where 1 represents a perfect translation.
47
+
48
+ ## Languages Covered:
49
+
50
+ This model builds on top of InfoXLM which cover the following languages:
51
+
52
+ Afrikaans, Albanian, Amharic, Arabic, Armenian, Assamese, Azerbaijani, Basque, Belarusian, Bengali, Bengali Romanized, Bosnian, Breton, Bulgarian, Burmese, Burmese, Catalan, Chinese (Simplified), Chinese (Traditional), Croatian, Czech, Danish, Dutch, English, Esperanto, Estonian, Filipino, Finnish, French, Galician, Georgian, German, Greek, Gujarati, Hausa, Hebrew, Hindi, Hindi Romanized, Hungarian, Icelandic, Indonesian, Irish, Italian, Japanese, Javanese, Kannada, Kazakh, Khmer, Korean, Kurdish (Kurmanji), Kyrgyz, Lao, Latin, Latvian, Lithuanian, Macedonian, Malagasy, Malay, Malayalam, Marathi, Mongolian, Nepali, Norwegian, Oriya, Oromo, Pashto, Persian, Polish, Portuguese, Punjabi, Romanian, Russian, Sanskri, Scottish, Gaelic, Serbian, Sindhi, Sinhala, Slovak, Slovenian, Somali, Spanish, Sundanese, Swahili, Swedish, Tamil, Tamil Romanized, Telugu, Telugu Romanized, Thai, Turkish, Ukrainian, Urdu, Urdu Romanized, Uyghur, Uzbek, Vietnamese, Welsh, Western, Frisian, Xhosa, Yiddish.
53
+
54
+ Thus, results for language pairs containing uncovered languages are unreliable!