File size: 2,406 Bytes
3c1e26c
4c973d8
3c1e26c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
be16b5a
 
 
 
 
 
 
 
 
3c1e26c
 
 
 
4c973d8
3c1e26c
46c948a
3c1e26c
4c973d8
 
 
 
 
 
 
3c1e26c
46c948a
 
 
3c1e26c
46c948a
3c1e26c
46c948a
 
3c1e26c
46c948a
 
 
 
 
 
 
 
 
 
 
be16b5a
 
 
 
 
46c948a
 
 
 
 
 
 
 
3c1e26c
 
 
 
 
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
pretty_name: Translations
license: other
license_name: per-upstream-corpus
task_categories:
  - translation
language:
  - en
  - ca
  - be
tags:
  - parallel-corpus
  - bitext
  - mtdata
  - machine-translation
size_categories:
  - 10M<n<100M
configs:
  - config_name: bel-eng
    data_files:
      - split: train
        path: data/bel-eng/*.parquet
  - config_name: cat-eng
    data_files:
      - split: train
        path: data/cat-eng/*.parquet
---

# natgillin/translations

Parquet bitext corpus assembled from upstream mtdata / OPUS releases.

## Schema

| column        | type   | description |
| ------------- | ------ | ----------- |
| `source`      | string | source-language sentence |
| `target`      | string | target-language sentence |
| `source_lang` | string | source language, ISO 639-3 (3-char), e.g. `bel`, `cat`, `eng` |
| `target_lang` | string | target language, ISO 639-3 (3-char) |
| `origin`      | string | upstream sub-corpus, e.g. `opus-ccmatrix`, `opus-nllb`, `elr`, `mtdata-merged` |

Source / target ordering is fixed by **alphabetical ISO 639-3 code**
(`bel` before `eng`, `cat` before `eng`). This keeps the pair name
deterministic and bidirectional joins unambiguous.

## Configs / layout

One config per language pair. The OPUS sub-corpus is encoded as a
row-level column (`origin`), not as a separate config.

```
data/
  bel-eng/
    opus-ccmatrix-00000-of-00200.parquet
    opus-nllb-00000-of-00200.parquet
    mtdata-merged-00000-of-00200.parquet
    ...
  cat-eng/
    ...
```

Each language pair is one config (`bel-eng`, `cat-eng`) with everything
under that pair pinned to `split: train`. The configs are listed
explicitly in the YAML frontmatter so that HF's auto-split detection
does not mistake filenames containing substrings like `-test-` for an
actual test split.

## `origin` values

| value             | meaning |
| ----------------- | ------- |
| `mtdata-merged`   | mtdata's final deduplicated merged bitext for the pair |
| `opus-<source>`   | one upstream OPUS sub-corpus, e.g. `opus-ccmatrix`, `opus-nllb`, `opus-ccaligned`, `opus-multiccaligned`, `opus-wikimatrix`, `opus-eubookshop`, `opus-kde4`, `opus-gnome`, `opus-neulab-tedtalks`, ... |
| `elr`             | ELRA / ELR slice of the pair when distinct from the merged top-level |

## License

Inherits per-corpus terms from the upstream OPUS sources. Cite OPUS:
<https://opus.nlpl.eu>.