Download README.md from sigiranic/grounded-alignment-wiki: direct link, hf CLI and curl.
- Browser
- Download file 5.85 kB
-
https://huggingface.co/datasets/sigiranic/grounded-alignment-wiki/resolve/main/README.md
- Command line
-
hf download hf://datasets/sigiranic/grounded-alignment-wiki/README.md
-
curl -L -o README.md https://huggingface.co/datasets/sigiranic/grounded-alignment-wiki/resolve/main/README.md
license: cc-by-sa-4.0
language:
- en
tags:
- machine-translation
- low-resource
- parallel-corpus
- wikipedia
configs:
- config_name: default
data_files:
- split: train
path: data/**/*.parquet
- config_name: als
data_files:
- split: train
path: data/als/*.parquet
- config_name: bar
data_files:
- split: train
path: data/bar/*.parquet
- config_name: frr
data_files:
- split: train
path: data/frr/*.parquet
- config_name: glk
data_files:
- split: train
path: data/glk/*.parquet
- config_name: mzn
data_files:
- split: train
path: data/mzn/*.parquet
Grounded alignment: parallel documents from low-resource Wikipedias
Each row is one Wikipedia article in a low-resource language, translated sentence by sentence into a high-resource language, with the translation grounded on the genuine parallel articles reached through the page's Wikidata item.
Built by sigiranic/grounded-alignment-pipeline from
HuggingFaceFW/finewiki, so every
language side is the same extraction of the same dump.
What grounding means here
The low-resource page is the source and the only text translated. The parallel articles are evidence about wording -- how a name is conventionally spelled in the target language, which term of art it uses -- and never a source of content. Where the richer article knows something the source does not, that knowledge stays out: importing it would read as a better translation and make a worse dataset, because the target side would assert things its source never said.
Spans written in a script foreign to both languages, and confirmed by a parallel article, are reproduced character for character rather than translated or transliterated.
Schema
Google SMOL's smoldoc fields, with the same meanings, so a reader written for
google/smol works unchanged:
| field | meaning |
|---|---|
id |
<source>-<target>-<strategy>-<wikidata id> |
sl, tl |
source and target language codes; sl is always the low-resource side |
srcs, trgs |
aligned sentence lists, one translation per source sentence |
sep |
what followed each sentence, so the document reassembles exactly |
factuality |
unrated; no human rating has been applied |
is_src_orig |
always true -- the source side is the original Wikipedia text |
and this pipeline's own provenance:
| field | meaning |
|---|---|
strategy |
which prompt strategy produced it |
model |
the model that produced it |
wikidata_id, source_title, source_url |
the page it came from |
evidence_languages |
which parallel articles were in the prompt |
protected_spans |
foreign-script spans required to be copied verbatim |
checks |
JSON of the measured properties of that document |
Because a record is a whole document rather than a loose sentence pair, it is usable both as sentence pairs and as a document-level consistency set: a name rendered one way in sentence 2 and another way in sentence 9 is visible within the record.
Measured properties
None of these checks needs a reference translation: how often the output went off-script,
leaked the source's script, came back identical to its source, or dropped a span it was
required to copy verbatim. Counts are over sentences, not documents, and every document
carries its own in checks.
| source | targets | documents | sentences | length ratio | off-script | source-script leaks | identical to source | protected spans kept |
|---|---|---|---|---|---|---|---|---|
als |
de, en |
38,999 | 587,856 | 1.031 | 76 (<0.1%) | 0 | 36,283 (6.2%) | 7,430/9,612 |
bar |
en, de |
24,576 | 257,967 | 1.06 | 25 (<0.1%) | 0 | 23,337 (9.0%) | 3,555/4,884 |
frr |
en, de |
13,820 | 148,082 | 1.044 | 26 (<0.1%) | 0 | 45,506 (30.7%) | 5,977/10,068 |
glk |
en, fa |
2,078 | 20,850 | 1.093 | 202 (1.0%) | 3 | 1,404 (6.7%) | 168/198 |
mzn |
fa, en |
8,123 | 80,040 | 1.064 | 2,338 (2.9%) | 12 | 9,816 (12.3%) | 1,003/1,013 |
| all | 87,596 | 1,094,795 | 2,667 (0.2%) | 15 | 116,346 (10.6%) |
Two of these columns need reading with care rather than as error rates:
Identical to source counts sentences whose translation came back byte-identical to the
input. Much of it is correct. A sentence that is a bare year, a coordinate, a species
binomial or a person's name in Latin script has the same form in both languages, and the
Germanic wikis here are full of short factual sentences like that. The high frr figure is
also a genuine property of the pair: North Frisian and German share enough vocabulary that
short sentences coincide. It is still the column to look at first if you suspect copying,
because a long sentence returned unchanged is a real failure -- filter on sentence length
before drawing a conclusion from the rate.
Protected spans kept counts the foreign-script spans the prompt required to be copied
character for character that survived into the output. The misses are mostly spans that the
model rendered in the target language's script instead of reproducing, which is a fidelity
loss even where the result is readable. A consumer that cares about exact name forms should
treat a document with a dropped span as suspect; protected_spans and checks on each row
make that filterable.
Limitations
Machine-translated data. The target side is model output, not human translation, and
factuality is unrated. Use it as training data, never as a test set -- and in particular not
alongside sigiranic/underserved-translation-eval,
whose pages come from the same wikis.