Text corpora from 0.6
How Mova's annotated text corpora are built from 0.6 on: several parses agree, the agreement is a hint for the teacher (Sol, gpt-6.1-sol through Codex), and the results go into a closed corpus that grows by epochs. The pipeline is open; the closed corpus's data stays closed. The licence rules are those of Data and model licences; the parsers and their licences are in Open parsers: witnesses and tests.
Stage graph
text ─┬─ Mova (en.bin, CPU) ─────────────┐
├─ top parsers (GPU lease, or CPU) ─┤
└─ old teacher parse (if any) ──────┴─→ agreer (hint mode) ─→ hint + votes
│
Sol request (Fish contract + hint) ←────┘
│ reply, Fish validators
▼
closed corpus: epoch store (all layers, votes, Sol reply)
- Tokens. All sources parse the same tokens: the old teacher parse's tokens when one exists, else Mova's. Mova re-parses on them (
en annotate MODEL FILE.conllukeeps the given forms); the parsers run pretokenized. - Parsers. Stanza and Trankit (UD, the witnesses of the school's agreement) for English; the French set is in Open parsers: witnesses and tests. GPU work takes the shared GPU lock non-blocking (
flock -non the Eel'sgpu.lock) and never takes the GPU from the Eel mid-round; when the lock is held the parsers run on the CPU. The parsers' output is read from the shared parse cache when it is there (its API is documented in Open parsers: witnesses and tests); only missing sentences are parsed here, and no second cache is kept. - Agreer. The agreer (internal, not part of the open release), in its hint mode: the sources vote word by word, in priority order (the first is the base: the old teacher parse, else Mova). The head with the most votes wins, then the relation among the sources on that head; ties go to the earlier source. The base changes only when the winning pair has more votes than the base's own pair, and at least two. Every change passes the agreer's gates (UD English registry, one root, no cycles, projective punctuation, relation fits UPOS) or is refused and marked
gate. Output:hint.conllu,votes.tsv(per word every source's head and relation, the hint, support, statusall|major|split|gate|unaligned),agree.md(rates). - Sol request.
mova-corpus prompts(tools/corpus) builds the Fish English Wikipedia contract (tools/fish/src/wiki.rs, unchanged) with the hint tree as the draft, the earlier teacher's pragmatic labels as the hint labels, and oneDISPUTEDline per target listing every word the sources do not all share, with each candidate and the sources behind it. Contract idmova_corpus_sol_en_v1(base contractmova_fish_wiki_en_v1); the reply has the Fish format, so the Fish validator (wiki::validate_draft) checks it unchanged against the request's own task (tasks/<id>.json). - Agreement record. The epoch store keeps every input layer, the votes and, once validated, Sol's reply.
Closed-corpus store
One treestore file per epoch and shard, written by mova-corpus store with the store model of the public Wikipedia pass (graph/passes/wiki-all-v5/trees/model.bin, copied into the store directory), so the closed corpus is coded exactly as the public parses: typed columns, tree-shape fragments, zstd with trained dictionaries and the context coder. One record per article and layer, key <title>#<epoch>:<layer>, with text_md, sentences_tsv (the wikicorpus layout) and conllu; the hint record also carries votes_tsv (kept in the envelope, not column-coded). The parsers' blocks get the base's # sent_id, # text and MISC (the parsers write _ there); a layer with other tokens is kept as written. Every record is decoded back and compared byte for byte before the manifest is written. Layouts: <epoch> with model.bin, <epoch>-NNNNN.mts, index.tsv, manifest.json.
Epochs and mini-versions
- Epoch
eN: a full Sol run over the texts. Keyed by epoch id, teacher model, contract hash and the agreer's source list;e1is the first Sol epoch. - Mini-version
eN.mK: a re-parse of the same texts with a newer Mova model, without a teacher run. Keyed by the epoch and theen.binhash; it adds amovalayer (and new votes), never rewrites the epoch's records. - Nothing is deleted: a new epoch or mini-version is a new store file next to the old ones.
Public and closed
| what | where |
|---|---|
| the pipeline (code, contracts, this page) | public, with the code |
| the trained Mova, its model, Mova's own parses of open texts | public |
| the school: our closed Sol parse of the school's lessons | public (the exception) |
| Sol and earlier teacher parses, the agreement records, the parsers' parses | closed corpus: internal only |
Licences bound this further: Wikipedia text is CC BY-SA 4.0, so its records stay internal and out of the repository and releases; parser outputs from NC or research-only models (UDPipe 2, the IU-trained Ukrainian models) are for tests and measurements only, never in a build; corpora stay separated (open, tales, corporate, the Grand Spider's) with their own stores, and data only flows open → corporate → the Grand Spider's.
Readers
The Eel and the Whales read the closed corpus with treestore (dir::Store::open(dir)?.get(key) or store::Shard::each to iterate), choosing epoch and layer by key; the Eel trains on the validated Sol layer (one article in ten, by FNV-1a of the page id, is dev and never trains, as in the Fish corpus), the Whales read any layer with its votes.
Epoch 0: the current Fish output
The existing Fish corpora (fish-*, the Terra replies under the pager roots) stay where they are, untouched. They are imported as epoch e0 by writing a new store with two layers per article, old (the teacher's reply) and draft (Mova's draft the Fish saw), read from the validated jobs; the import copies, it never moves or rewrites.
The continuous pipeline: batches of sentences
From 2026-11-13 the pipeline runs as a resumable worker over batches of 10 000 sentences. The driver is private
(it holds the closed paths and the deployment); its store is the public sentstore.
- Draw. Half of a batch is dense parallel text: windows of up to 250 consecutive pairs of one en–fr corpus (chosen
with weight √rows), both sides together, so the parallel corpora are covered fast. The other half is general:
random sentences across our en and fr texts with fixed quotas per 5 000 (Wikipedia passes and raw shards 1 800,
Research 700, e-prints 700, school 600, tales 400, grammars 300, dictionaries 300, random pairs 200). Sentences come
from the parse-cache plan's corpora, so tokens and sentence ids are those of the cached parses. A batch draws
without replacement against the store's
(document, sentence)keys and never from the held-out treebanks (UD English EWT dev and test, UD French GSD dev). The seed is recorded per batch; each draw is made twice with the same seed and the same slice lists and must be byte-identical. - Document and context. Each sentence keeps its document id (
<corpus>/<document key>: a Wikipedia title, a paper key, a lesson, a parallel row) and the context Mova builds for it. The context builder is a small separate function, versionctx-v1: the title, up to two sentences before and one after, and for a parallel text the other side; at most 1 200 bytes. Mova is to learn a better choice; each Sol answer is feedback on the context she chose. - Parses. Mova's parse (
en.bin, or the Eel's currentfr.bin) on the sentence's tokens; every open GPU parser of the Eel's pinned plan (en: Stanza, Trankit, spaCy trf, SuPar; fr: Stanza, Stanza Sequoia, Trankit, hopsparser, spaCy, COMBO), read from the parse cache when the sentence's slice is done there, otherwise parsed by the cache's own rounds in a corpus of the batch's missing (sentence, parser) pairs (with a map back to the source sentence ids), between the Eel's rounds (its PAUSE marker and the shared GPU lock). A slice that runs out of GPU memory waits and runs again; a parser that fails otherwise is left out of the batch and recorded. To make reuse likely, half of each corpus's slice reads and half of the dense windows come from the slices with the most parsers already done in the cache; every cache epoch is searched. - Agreer. The agreer's hint mode over whatever parses exist: the earlier teacher parse when its tokens are ours, Mova's (always), then the parsers. Mova alone gives Mova's parse as the hint.
- Sol. Up to 20 sentences of one language per request (at most 95 000 bytes): the Fish conventions text of the
language, then per target its document, context, the hint as the draft, the hint pragmatic labels (English) and
the
DISPUTEDline. Each target of an answer is checked by the Fish validator of its language as a one-target task, so a bad target rejects only itself. The first usage-limit, quota or authorization error stops the worker; a timeout or connection drop is retried once, then the request is held. - Store. One append per batch to the closed store: per document, every sentence with its id, text, tokens, context, every parser's parse with its key and version, Mova's parse with her model hash, the agreer's output and votes, Sol's parse with model and date (or the reason it was rejected), and the batch and run id. The same text in two documents is two records.
A batch is committed only when every Sol request has a result. The next batch starts only when the checks of the last one are clean: the store verifies, every sentence of the batch is stored, at most 15 % of the targets rejected and 5 % held, at most 5 % not sent, and no request 5× from the median number of targets per request.
Measured (2026-11-14, batch b0001 of 10 000 sentences)
Seed 20261113; 6 600 English and 3 400 French sentences in 8 317 documents (parallel 5 200, Wikipedia 1 800, Research 700, e-prints 700, school 600, tales 400, grammars 300, dictionaries 300). Every sentence got Mova's parse and every open parser of its language (4 English, 6 French with COMBO). The cache held 3 537 of the 46 800 (sentence, parser) pairs; 43 263 were parsed on the GPU in 585 s between the Eel's rounds. Sol: 591 requests (median 19 targets, 88 KB), 49.1 MB sent, 23.9 M input tokens (4.9 M cached), 8.7 M output, median 305 s per call with six in parallel (about 8 h), no retry, no stop. 9 706 targets accepted, 294 rejected (two answers with an invalid JSON escape; French registry refusals, mostly PronType=Tot on DET and English or Spanish auxiliaries in text that is not French). Agreement over aligned words (UAS/LAS): English Mova–hint 91.2/89.1, hint–Sol 81.4/77.9, Mova–Sol 77.1/72.2; French Mova–hint 88.4/83.7, hint–Sol 82.5/74.1, Mova–Sol 74.1/62.7. Sol changed 2.1 % of the words all parses agreed on, 16.8 % of the majority words, 63.3 % of the split ones and 96.1 % of the votes the gates had refused; it changed 8 266 of 9 706 sentences. The ten largest Sol–Mova differences were all UNPC rows whose English or French column holds untranslated French or Spanish text: 270 of the batch's 1 540 UNPC sentences fail the sampler's function-word language check, which later batches apply. Store: 18.9 MB for 10 000 sentences in 256 shards, verified.
Measured (2026-11-07, slice of 200 sentences)
Sample: 25 validated Fish English Wikipedia tasks of 8 targets (15 articles, 5 513 words), chosen by FNV-1a of the task id from the 940 validated jobs (mova-corpus sample). Sources: old (Terra gpt-6.1-terra), Stanza, Trankit, Mova (en.bin 2483516a26a8e17d, the model that drew the Fish drafts). Every step was run twice; all outputs are byte-identical.
- Agreement. All four give the same head and relation on 56.9% of words (58.6% without punctuation); majority 23.2%, split 16.4%, refused by the gates 3.5%. Pairwise UAS: old–Stanza 77.4, old–Trankit 75.4, old–Mova 71.3, Stanza–Trankit 83.3, Stanza–Mova 82.3; UPOS agreement 93.7–96.6.
- Hint against the old parse. The hint changes 619 words (11.2%) in 140 of 200 sentences; it agrees with the old parse on 89.9% UAS / 88.8% LAS. 217 of the 619 changes are words the old parse marked
flat: the Fish contract tells the teacher to head a multiword name by its first word and attach the rest asflat, while EWT/GUM and the three parsers usecompoundand inner structure ("South Asia": head "Asia"). This convention clash, not parser noise, is the largest single source of disagreement; the Sol request still carries the Fish instruction. - Requests. 25 requests, 765 392 bytes (20 965–40 127, mean 30 616) against 22 208 for the same Terra tasks (+38%, the
DISPUTEDlines); 2 378 words listed as disputed. Not sent. - Store. Epoch 1 (Mova, Stanza, Trankit, hint with votes): 60 records, 2.15 MB of JSON → 102 645 bytes (one zstd −19 frame of the same CoNLL-U and votes: 144 068); epoch 0 (old, draft): 30 records, 0.88 MB → 23 587 bytes (zstd −19: 60 814). About 513 and 118 bytes per sentence.
Cost per sentence. Mova: 0.75 ms on the CPU (plus 0.46 s model load). Stanza 11 s and Trankit 7 s wall per run of 200 sentences on the RTX 4000, mostly model load. Agreer and store: well under a second for the slice. Teacher: one call per 8 sentences. Terra over 1 079 Fish calls: 18 476 input tokens (9 256 cached), 6 703 output, 138 s per call (p50 127 s); 12.5% quarantined, 0.4% executor failures. Sol has not been measured; with requests 38% longer, a Sol call is estimated at ≈ 25 k input and ≈ 7 k output tokens. Estimates: the slice is 25 calls (≈ 640 k input, ≈ 170 k output tokens); a full epoch of the current corpora (8 630 English Wikipedia targets and 1 032 French) is ≈ 1 210 calls (≈ 30 M input, ≈ 8.5 M output tokens). All Sol numbers are prospective until the first calls are measured.
Limits
- Sol's answers are validated by the Fish gates, not against gold; their quality is measured as agreement only.
- The agreer votes on head and relation only; tags, lemmas and features come from the base. Agreement among parsers that share UD conventions is not independent accuracy evidence.
votes_tsvis stored in the envelope, not column-coded.- French uses the same agreer; its relation subtypes outside the English registry are refused by the agreer's gates, so most proposed French changes are refused (14 914 of 23 269 in batch b0001, 2026-11-13; English: 6 443 of 23 273).
- Parallel rows are documents of one sentence; their neighbours in the file are their context, which is unrelated text for corpora sorted by score (WikiMatrix).
- Sol is asked once per sentence and epoch; a held request is not asked again automatically.
This page in Markdown https://md.mova.elamur.ai/free/en/docs/repo-docs/corpora/