File size: 1,923 Bytes
5eb49de
 
 
9db3d2f
 
 
5eb49de
 
 
 
 
 
 
9db3d2f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eb49de
9db3d2f
 
 
 
 
 
 
 
 
 
 
 
5eb49de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# EC40 MNMT Dataset

GitHub: https://github.com/Smu-Tan/ZS-NMT-Variations/tree/main

### EC40 is an English-Centric Multilingual Machine Translation Dataset. It has over 60 Million sentences including 40 Languages across 5 Language Families. 

#### Note: The dataset is cleaned and pre-processed using tools like Moses, for more details, please refer to the paper.

### Features:
1. We carefully balanced the dataset across resources and languages by strictly maintaining each resource group containing 5 language families and each family consists of 8 representative languages.
2. EC40 covers a wide spectrum of resource availability, ranging from High(5M) to Medium(1M), Low(100K), and extremely-Low(50K) resources.
3. In total, there are 80 English-centric directions for training and 1,640 directions (including all supervised and ZS directions) for evaluation.
4. We make use of Ntrex-128 and Flores-200 as our validation and test set.


-----
## Languages and Family

| Family | Languges | 
| :---         |     :---:      | 
| Germanic   | Geman, Dutch, Swedish, Danish, Afrikaans, Luxembourgish, Norwegian, Icelandic     | 
| Romance    | French, Spanish, Italian, Portuguese, Romanian, Occitan, Asturian, Catalan   | 
| Slavic	 | Russian, Czech, Polish, Bulgarian, Ukrainian, Serbian, Belarusian, Bosnian |
| Indo-Aryan  | Hindi, Bengali, Kannada, Marathi, Sindhi, Gujarati, Nepali, Urdu |
-----

## Dataset Stats

| Resource | Languages | Size |
| --- | --- | --- |
| High | de, nl, fr, es, ru, cs, hi, bn, ar, he | 5M |
| Medium | sv, da, it, pt, pl, bg, kn, mr, mt, ha | 1M |
| Low | af, lb, ro, oc, uk, sr, sd, gu, ti, am | 100k |
| Extremely-Low | no, is, ast, ca, be, bs, ne, ur, kab, so | 50k |

-----
## Build Fairseq dataset (Shard->to avoid RAM OOM)

```
Read toolkit/build_fairseq_sharded_dataset.sh
```
<br>

-----

## Train mTransformer-Large baseline

```
Read toolkit/train-EC40-mTrans-large.sh
```