@@ -58,11 +58,11 @@ Source data lives in one directory per language (ISO 639 code), each containing
5858up to two files:
5959
6060`sentences_wikipedia.txt`::
61- Line-numbered Wikipedia sentences: `{lineNum}{TAB}{text}`.
61+ Line-numbered Wikipedia sentences: `\ {lineNum}\ {TAB}\ {text}`.
6262 One sentence per line.
6363
6464`sentences_madlad.txt`::
65- Line-numbered MADLAD-400 documents: `{lineNum}{TAB}{text}`.
65+ Line-numbered MADLAD-400 documents: `\ {lineNum}\ {TAB}\ {text}`.
6666 Documents contain literal two-character `\n` escape sequences as
6767 sub-sentence separators. The tool splits on these before processing.
6868
@@ -108,16 +108,16 @@ per script:
108108|===
109109| File | Split | Purpose
110110
111- | `{script}.train.gz`
111+ | `\ {script}.train.gz`
112112| 80%
113113| Bigram count accumulation in `TrainJunkModel`.
114114
115- | `{script}.dev.gz`
115+ | `\ {script}.dev.gz`
116116| 10%
117117| Calibration (mu/sigma estimation) in `TrainJunkModel`.
118118 Also used for iterative evaluation during development.
119119
120- | `{script}.test.gz`
120+ | `\ {script}.test.gz`
121121| 10%
122122| **Held out completely.** Use only for final reported evaluation numbers.
123123 Never use to make model or threshold decisions.
@@ -146,7 +146,7 @@ Key options:
146146
147147| `--output-dir`
148148| `~/datasets/madlad/junkdetect`
149- | Where to write `{script}.train.gz`, `.dev.gz`, `.test.gz`, and `manifest.tsv`.
149+ | Where to write `\ {script}.train.gz`, `.dev.gz`, `.test.gz`, and `manifest.tsv`.
150150
151151| `--total-budget-bytes`
152152| `50000000`
@@ -178,7 +178,7 @@ then calibrates z-score statistics from the `.dev.gz` file.
178178
179179=== Bigram table training
180180
181- [source]
181+ [source,subs="-attributes" ]
182182----
183183for each sentence in {script}.train.gz:
184184 utf8 = sentence.getBytes(UTF-8)
@@ -197,7 +197,7 @@ a small but nonzero probability for novel byte sequences.
197197
198198=== Calibration
199199
200- For each sentence in `{script}.dev.gz`:
200+ For each sentence in `\ {script}.dev.gz`:
201201
202202[source]
203203----
0 commit comments