translations-raw / README.md
natgillin's picture
Rename cols: source/target; strip external account refs
4c973d8 verified
|
Raw
History Blame
2.03 kB
---
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: []
---
# 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/
...
```
`configs:` is left empty in the frontmatter; HF auto-discovers a
per-directory config from `data/<pair>/*.parquet`.
## `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>.