Battam commited on
Commit
62afbc9
·
verified ·
1 Parent(s): f477065

portal: data page of repository commit f5a3a51c7d65

Browse files

Files of catalog/portal/ (25), digest 2ac07af5d660850218b84e54a438d6c0ed6d87d0b424e950c2ce1527d86774b4.

first.json CHANGED
@@ -3,7 +3,7 @@
3
  "files": 1439321777,
4
  "files_not_counted": 0,
5
  "format": "portal-first/6",
6
- "index": "e809ae240ea2fdb6926149a2b98ea1d14d1233c2",
7
  "sizes": {
8
  "index": {
9
  "bytes": 7337635825282246,
 
3
  "files": 1439321777,
4
  "files_not_counted": 0,
5
  "format": "portal-first/6",
6
+ "index": "998674e0f20e2fab2299782eb737d9387eab8de3",
7
  "sizes": {
8
  "index": {
9
  "bytes": 7337635825282246,
index.html CHANGED
@@ -938,7 +938,8 @@ function start(D, V) {
938
  $('brand-sub').textContent = t('page.story.brandSub');
939
  $('links').replaceChildren(...[['#explore', t('page.explorer.nav')], ['#get', t('page.get.nav')], ['#notes', t('page.notes.title')]].map(([h, t]) => { const a = el('a', '', t); a.href = h; return a; }));
940
  // the first screen
941
- $('kicker').textContent = t('page.story.asOf', { date: D.read });
 
942
  $('title').textContent = t('page.story.title');
943
  $('lede').textContent = t('page.story.lede');
944
  $('cta').textContent = t('page.story.cta');
@@ -1002,7 +1003,9 @@ function start(D, V) {
1002
  for (const id of ['q1', 'q2']) { $(id).placeholder = t('page.explorer.search'); $(id).setAttribute('aria-label', $(id).placeholder); }
1003
  $('dl').textContent = t('page.explorer.download');
1004
  $('toget').textContent = t('page.explorer.toGet');
1005
- $('charts-note').textContent = t('page.explorer.chartsNote');
 
 
1006
  $('get-title').textContent = t('page.get.title');
1007
  // the notes, folded: how each number of the story is defined, and the glossary
1008
  $('notes-title').textContent = t('page.notes.title');
 
938
  $('brand-sub').textContent = t('page.story.brandSub');
939
  $('links').replaceChildren(...[['#explore', t('page.explorer.nav')], ['#get', t('page.get.nav')], ['#notes', t('page.notes.title')]].map(([h, t]) => { const a = el('a', '', t); a.href = h; return a; }));
940
  // the first screen
941
+ // the day of the release the page's figures are of (D.date), not of main's last commit
942
+ $('kicker').textContent = t('page.story.asOf', { date: D.date });
943
  $('title').textContent = t('page.story.title');
944
  $('lede').textContent = t('page.story.lede');
945
  $('cta').textContent = t('page.story.cta');
 
1003
  for (const id of ['q1', 'q2']) { $(id).placeholder = t('page.explorer.search'); $(id).setAttribute('aria-label', $(id).placeholder); }
1004
  $('dl').textContent = t('page.explorer.download');
1005
  $('toget').textContent = t('page.explorer.toGet');
1006
+ // what the units of the charts are: each stage's own count of a source once the stage figures give it (staged),
1007
+ // else every unit a source registers (stageUnits)
1008
+ $('charts-note').textContent = t(A.some((o) => o.staged) ? 'page.explorer.chartsNote' : 'page.explorer.chartsNoteRegistered');
1009
  $('get-title').textContent = t('page.get.title');
1010
  // the notes, folded: how each number of the story is defined, and the glossary
1011
  $('notes-title').textContent = t('page.notes.title');
locales/en.json CHANGED
@@ -17,6 +17,7 @@
17
  "page.explorer.chart.log": "log scale",
18
  "page.explorer.chart.top": "Show the top {{top}}",
19
  "page.explorer.chartsNote": "A source can hold several classes, so the bars can add up to more than the total. A training stage's bar, and every chart once a training stage is selected, counts only the units deduplicated and decontaminated against benchmarks.",
 
20
  "page.explorer.chip.remove": "Remove this filter",
21
  "page.explorer.chip.search": "Search",
22
  "page.explorer.chip.tick": "Ticked",
 
17
  "page.explorer.chart.log": "log scale",
18
  "page.explorer.chart.top": "Show the top {{top}}",
19
  "page.explorer.chartsNote": "A source can hold several classes, so the bars can add up to more than the total. A training stage's bar, and every chart once a training stage is selected, counts only the units deduplicated and decontaminated against benchmarks.",
20
+ "page.explorer.chartsNoteRegistered": "A source can hold several classes, so the bars can add up to more than the total. Unit counts here are all the units the selected sources register; the training stages section counts only units deduplicated and decontaminated against benchmarks.",
21
  "page.explorer.chip.remove": "Remove this filter",
22
  "page.explorer.chip.search": "Search",
23
  "page.explorer.chip.tick": "Ticked",
locales/zh.json CHANGED
@@ -17,6 +17,7 @@
17
  "page.explorer.chart.log": "对数刻度",
18
  "page.explorer.chart.top": "只显示前 {{top}} 类",
19
  "page.explorer.chartsNote": "一个来源可属多个类别,各条之和可超过总数。训练阶段的各条,以及选了训练阶段之后的各图,只计去重并经基准测试去污染的单元。",
 
20
  "page.explorer.chip.remove": "取消这项筛选",
21
  "page.explorer.chip.search": "搜索",
22
  "page.explorer.chip.tick": "已勾选",
 
17
  "page.explorer.chart.log": "对数刻度",
18
  "page.explorer.chart.top": "只显示前 {{top}} 类",
19
  "page.explorer.chartsNote": "一个来源可属多个类别,各条之和可超过总数。训练阶段的各条,以及选了训练阶段之后的各图,只计去重并经基准测试去污染的单元。",
20
+ "page.explorer.chartsNoteRegistered": "一个来源可属多个类别,各条之和可超过总数。这里的单元数是所选来源登记的全部单元;「训练阶段」一节只计去重并经基准测试去污染的单元。",
21
  "page.explorer.chip.remove": "取消这项筛选",
22
  "page.explorer.chip.search": "搜索",
23
  "page.explorer.chip.tick": "已勾选",
manual/manual.en.md CHANGED
@@ -157,7 +157,7 @@ Later, `--revision <commit>` or the same tag takes the same files.
157
  A line of `_meta/manifest.jsonl` (JSON Lines: one JSON object per line):
158
 
159
  ```json
160
- {"source": "exfatprogs-fsck-cases", "path": "D2_sysadmin/exfatprogs-fsck-cases/bad_bitmap-3601dc1e9aa6/cases/bad_bitmap/exfat.img", "url": "https://raw.githubusercontent.com/exfatprogs/exfatprogs/8b427483164888f0a5af5e4ba92da4981f1094e2/tests/bad_bitmap/exfat.img.tar.xz", "sha256": "36ac403ccbbfcf0433d560483418a4ac74d7e552494c759749d849cd5e269cd6", "bytes": 5242880, "spdx": "GPL-2.0-only", "licence_url": "https://raw.githubusercontent.com/exfatprogs/exfatprogs/8b427483164888f0a5af5e4ba92da4981f1094e2/COPYING", "publisher": "exfatprogs project", "retrieved": "2026-11-26", "origin_kind": "tool_fixture", "label": "D2.5", "unit_id": "bad_bitmap", "verified": true}
161
  ```
162
 
163
  For what was not fetched, read `status` and `reason` in `_meta/fetch_manifest.jsonl`, each run's lines told apart by `run_id`.
@@ -612,7 +612,7 @@ The index takes every unit that has an address. Its license (unknown where none
612
 
613
  | Category | Requirement | Sources | Units |
614
  |---|---|---:|---:|
615
- | `no_address_or_hash` | A unit must have an address its file can be downloaded from. | 0 | 3,102 |
616
  | `legally_blocked` | A unit must not be blocked for legal reasons (HTTP 451, a regional legal restriction, or a host, repository or dataset catalog/blocked.tsv keeps out by law). | 0 | 0 |
617
  | `release_checks` | A unit must pass the checks before release on names and credentials. | 1 | 0 |
618
  | `unscanned` | A file must be read by the checks before release on names and credentials; the units in a file they could not read stay out. | 0 | 0 |
@@ -848,7 +848,7 @@ units of any license and units marked as carrying personal data come unless `--t
848
  <details id="manual/numbers">
849
  <summary>Where this manual's numbers come from</summary>
850
 
851
- The numbers and command outputs of this manual were filled in at deploy time, from the index commit `e809ae240ea2fdb6926149a2b98ea1d14d1233c2` (release tag `release-2026-11-25.5`).
852
  This release holds 2,451 sources with 1,439,313,019 units in 1,439,321,777 files, which point to 6.24 PB of deduplicated content, and of the 36,660 files whose recorded size was compared with the file itself, 97.0% matched.
853
 
854
  </details>
@@ -932,7 +932,7 @@ What you need first: [Before you start](#manual/before).
932
 
933
  <h4 id="manual/workbooks-1">1. Write the selection</h4>
934
 
935
- **Do**: put the sources in a selection file, `training-data-foundation-selection-e809ae2.json` in your fetch folder;
936
  here, the 52 sources allowed for training throughout whose files include Excel workbooks (a query of the catalog finds them, as in [Pick sources in bulk with DuckDB](#manual/bulk)).
937
 
938
  **See**: the file names the release and the sources:
@@ -954,7 +954,7 @@ here, the 52 sources allowed for training throughout whose files include Excel w
954
 
955
  ```sh
956
  uv run https://huggingface.co/datasets/Battam/training-data-foundation/resolve/release-2026-11-25.5/tools/fetch.py \
957
- --selection training-data-foundation-selection-e809ae2.json \
958
  --revision release-2026-11-25.5 \
959
  --ext xlsx \
960
  --ext xlsm \
@@ -983,7 +983,7 @@ ok austender-ict-procurement-statistics workbooks/2016-17-austender-ict-contract
983
  ...
984
  306 files fetched and checked (110MB) into take; details in take/_meta/fetch_run.json
985
  files of units: 220 ok; files of the sources themselves: 86 ok
986
- run_id 20261126T234045.154246Z: 306 ok (lines in take/_meta/fetch_manifest.jsonl)
987
  ```
988
 
989
  Before the first download, `removed by` gives the units the default profile removed and the option that keeps them, counted in the data files read as far as `--limit` needed;
@@ -999,8 +999,8 @@ failed western-australia-government-workbooks workbooks/wa-gross-regional-produc
999
  incomplete: 1 unit miss a file (the files fetched are kept; _meta/fetch_manifest.jsonl says why): ...
1000
  5 files fetched and checked (1.35MB) into probe; details in probe/_meta/fetch_run.json
1001
  files of units: 1 failed, 1 ok; files of the sources themselves: 4 ok
1002
- run_id 20261126T234651.159535Z: 1 failed, 5 ok (lines in probe/_meta/fetch_manifest.jsonl)
1003
- its lines that are not ok, in DuckDB: SELECT json FROM read_json_objects('probe/_meta/fetch_manifest.jsonl') WHERE json_extract_string(json, 'run_id') = '20261126T234651.159535Z' AND json_extract_string(json, 'status') NOT IN ('ok', 'selected')
1004
  ```
1005
 
1006
  **Get**: every `ok` file matched its recorded size and hash.
@@ -1122,7 +1122,7 @@ ok dosfstools-fsck-cases README.md: 3.32kB
1122
  ok exfatprogs-fsck-cases cases/bad_bitmap/exfat.img: 5.24MB
1123
  59 files fetched and checked (110MB) into data; details in data/_meta/fetch_run.json
1124
  files of units: 52 ok; files of the sources themselves: 7 ok
1125
- run_id 20261126T234700.608595Z: 59 ok (lines in data/_meta/fetch_manifest.jsonl)
1126
  ```
1127
 
1128
  An exFAT image is `exfat.img.tar.xz` at its publisher;
 
157
  A line of `_meta/manifest.jsonl` (JSON Lines: one JSON object per line):
158
 
159
  ```json
160
+ {"source": "exfatprogs-fsck-cases", "path": "D2_sysadmin/exfatprogs-fsck-cases/bad_bitmap-3601dc1e9aa6/cases/bad_bitmap/exfat.img", "url": "https://raw.githubusercontent.com/exfatprogs/exfatprogs/8b427483164888f0a5af5e4ba92da4981f1094e2/tests/bad_bitmap/exfat.img.tar.xz", "sha256": "36ac403ccbbfcf0433d560483418a4ac74d7e552494c759749d849cd5e269cd6", "bytes": 5242880, "spdx": "GPL-2.0-only", "licence_url": "https://raw.githubusercontent.com/exfatprogs/exfatprogs/8b427483164888f0a5af5e4ba92da4981f1094e2/COPYING", "publisher": "exfatprogs project", "retrieved": "2026-11-27", "origin_kind": "tool_fixture", "label": "D2.5", "unit_id": "bad_bitmap", "verified": true}
161
  ```
162
 
163
  For what was not fetched, read `status` and `reason` in `_meta/fetch_manifest.jsonl`, each run's lines told apart by `run_id`.
 
612
 
613
  | Category | Requirement | Sources | Units |
614
  |---|---|---:|---:|
615
+ | `no_address_or_hash` | A unit must have an address its file can be downloaded from. | 0 | 3,108 |
616
  | `legally_blocked` | A unit must not be blocked for legal reasons (HTTP 451, a regional legal restriction, or a host, repository or dataset catalog/blocked.tsv keeps out by law). | 0 | 0 |
617
  | `release_checks` | A unit must pass the checks before release on names and credentials. | 1 | 0 |
618
  | `unscanned` | A file must be read by the checks before release on names and credentials; the units in a file they could not read stay out. | 0 | 0 |
 
848
  <details id="manual/numbers">
849
  <summary>Where this manual's numbers come from</summary>
850
 
851
+ The numbers and command outputs of this manual were filled in at deploy time, from the index commit `998674e0f20e2fab2299782eb737d9387eab8de3` (release tag `release-2026-11-25.5`).
852
  This release holds 2,451 sources with 1,439,313,019 units in 1,439,321,777 files, which point to 6.24 PB of deduplicated content, and of the 36,660 files whose recorded size was compared with the file itself, 97.0% matched.
853
 
854
  </details>
 
932
 
933
  <h4 id="manual/workbooks-1">1. Write the selection</h4>
934
 
935
+ **Do**: put the sources in a selection file, `training-data-foundation-selection-998674e.json` in your fetch folder;
936
  here, the 52 sources allowed for training throughout whose files include Excel workbooks (a query of the catalog finds them, as in [Pick sources in bulk with DuckDB](#manual/bulk)).
937
 
938
  **See**: the file names the release and the sources:
 
954
 
955
  ```sh
956
  uv run https://huggingface.co/datasets/Battam/training-data-foundation/resolve/release-2026-11-25.5/tools/fetch.py \
957
+ --selection training-data-foundation-selection-998674e.json \
958
  --revision release-2026-11-25.5 \
959
  --ext xlsx \
960
  --ext xlsm \
 
983
  ...
984
  306 files fetched and checked (110MB) into take; details in take/_meta/fetch_run.json
985
  files of units: 220 ok; files of the sources themselves: 86 ok
986
+ run_id 20261127T001213.211112Z: 306 ok (lines in take/_meta/fetch_manifest.jsonl)
987
  ```
988
 
989
  Before the first download, `removed by` gives the units the default profile removed and the option that keeps them, counted in the data files read as far as `--limit` needed;
 
999
  incomplete: 1 unit miss a file (the files fetched are kept; _meta/fetch_manifest.jsonl says why): ...
1000
  5 files fetched and checked (1.35MB) into probe; details in probe/_meta/fetch_run.json
1001
  files of units: 1 failed, 1 ok; files of the sources themselves: 4 ok
1002
+ run_id 20261127T001818.941068Z: 1 failed, 5 ok (lines in probe/_meta/fetch_manifest.jsonl)
1003
+ its lines that are not ok, in DuckDB: SELECT json FROM read_json_objects('probe/_meta/fetch_manifest.jsonl') WHERE json_extract_string(json, 'run_id') = '20261127T001818.941068Z' AND json_extract_string(json, 'status') NOT IN ('ok', 'selected')
1004
  ```
1005
 
1006
  **Get**: every `ok` file matched its recorded size and hash.
 
1122
  ok exfatprogs-fsck-cases cases/bad_bitmap/exfat.img: 5.24MB
1123
  59 files fetched and checked (110MB) into data; details in data/_meta/fetch_run.json
1124
  files of units: 52 ok; files of the sources themselves: 7 ok
1125
+ run_id 20261127T001835.907434Z: 59 ok (lines in data/_meta/fetch_manifest.jsonl)
1126
  ```
1127
 
1128
  An exFAT image is `exfat.img.tar.xz` at its publisher;
manual/manual.zh.md CHANGED
@@ -156,7 +156,7 @@ reading hf://datasets/Battam/training-data-foundation@1da77dfad33254626b38d6e64a
156
  `_meta/manifest.jsonl` 的一条记录(JSON Lines 格式,每条记录是一个 JSON 对象):
157
 
158
  ```json
159
- {"source": "exfatprogs-fsck-cases", "path": "D2_sysadmin/exfatprogs-fsck-cases/bad_bitmap-3601dc1e9aa6/cases/bad_bitmap/exfat.img", "url": "https://raw.githubusercontent.com/exfatprogs/exfatprogs/8b427483164888f0a5af5e4ba92da4981f1094e2/tests/bad_bitmap/exfat.img.tar.xz", "sha256": "36ac403ccbbfcf0433d560483418a4ac74d7e552494c759749d849cd5e269cd6", "bytes": 5242880, "spdx": "GPL-2.0-only", "licence_url": "https://raw.githubusercontent.com/exfatprogs/exfatprogs/8b427483164888f0a5af5e4ba92da4981f1094e2/COPYING", "publisher": "exfatprogs project", "retrieved": "2026-11-26", "origin_kind": "tool_fixture", "label": "D2.5", "unit_id": "bad_bitmap", "verified": true}
160
  ```
161
 
162
  没取到的,看 `_meta/fetch_manifest.jsonl` 里的 `status` 和 `reason`,各次运行按 `run_id` 区分。
@@ -610,7 +610,7 @@ LIMIT 20;
610
 
611
  | 类别 | 要求 | 来源数 | 单元数 |
612
  |---|---|---:|---:|
613
- | `no_address_or_hash` | 单元必须有可以下载其文件的地址。 | 0 | 3,102 |
614
  | `legally_blocked` | 单元不得因法律原因被封锁(HTTP 451、地区性的法律限制,或 catalog/blocked.tsv 依法排除的主机、仓库或数据集)。 | 0 | 0 |
615
  | `release_checks` | 单元必须通过发布前关于名称和凭据的检查。 | 1 | 0 |
616
  | `unscanned` | 文件必须能被发布前关于名称和凭据的检查读取;检查读不了的文件,其中的单元不收录。 | 0 | 0 |
@@ -855,7 +855,7 @@ LIMIT 20;
855
  <details id="manual/numbers">
856
  <summary>本手册的数字从哪来</summary>
857
 
858
- 本手册的数字和命令输出是部署时填入的,取自索引提交 `e809ae240ea2fdb6926149a2b98ea1d14d1233c2`(发布标签 `release-2026-11-25.5`)。
859
  本次发布有 2,451 个来源,共 1,439,313,019 个单元,1,439,321,777 个文件,指向去重后共 6.24 PB 的内容,记录的大小与文件本身比对过的 36,660 个文件中有 97.0% 一致。
860
 
861
  </details>
@@ -939,7 +939,7 @@ LIMIT 20;
939
 
940
  <h4 id="manual/workbooks-1">1. 写选择清单</h4>
941
 
942
- **做**:把要取的来源写进一个选择清单,`training-data-foundation-selection-e809ae2.json`,放进下载目录;
943
  这里是许可全允许训练、文件里有 Excel 工作簿的 52 个来源(查一次目录表就能找出来,做法同[用 DuckDB 批量挑来源](#manual/bulk))。
944
 
945
  **看到**:清单记着版本和来源:
@@ -961,7 +961,7 @@ LIMIT 20;
961
 
962
  ```sh
963
  uv run https://huggingface.co/datasets/Battam/training-data-foundation/resolve/release-2026-11-25.5/tools/fetch.py \
964
- --selection training-data-foundation-selection-e809ae2.json \
965
  --revision release-2026-11-25.5 \
966
  --ext xlsx \
967
  --ext xlsm \
@@ -990,7 +990,7 @@ ok austender-ict-procurement-statistics workbooks/2016-17-austender-ict-contract
990
  ...
991
  306 files fetched and checked (110MB) into take; details in take/_meta/fetch_run.json
992
  files of units: 220 ok; files of the sources themselves: 86 ok
993
- run_id 20261126T234045.154246Z: 306 ok (lines in take/_meta/fetch_manifest.jsonl)
994
  ```
995
 
996
  第一次下载之前,`removed by` 是默认配置去掉的单元和保留它们的开关,数的是 `--limit` 需要读到的那些数据文件;
@@ -1006,8 +1006,8 @@ failed western-australia-government-workbooks workbooks/wa-gross-regional-produc
1006
  incomplete: 1 unit miss a file (the files fetched are kept; _meta/fetch_manifest.jsonl says why): ...
1007
  5 files fetched and checked (1.35MB) into probe; details in probe/_meta/fetch_run.json
1008
  files of units: 1 failed, 1 ok; files of the sources themselves: 4 ok
1009
- run_id 20261126T234651.159535Z: 1 failed, 5 ok (lines in probe/_meta/fetch_manifest.jsonl)
1010
- its lines that are not ok, in DuckDB: SELECT json FROM read_json_objects('probe/_meta/fetch_manifest.jsonl') WHERE json_extract_string(json, 'run_id') = '20261126T234651.159535Z' AND json_extract_string(json, 'status') NOT IN ('ok', 'selected')
1011
  ```
1012
 
1013
  **得到**:`ok` 的文件已按记录的大小和哈希核对。
@@ -1127,7 +1127,7 @@ ok dosfstools-fsck-cases README.md: 3.32kB
1127
  ok exfatprogs-fsck-cases cases/bad_bitmap/exfat.img: 5.24MB
1128
  59 files fetched and checked (110MB) into data; details in data/_meta/fetch_run.json
1129
  files of units: 52 ok; files of the sources themselves: 7 ok
1130
- run_id 20261126T234700.608595Z: 59 ok (lines in data/_meta/fetch_manifest.jsonl)
1131
  ```
1132
 
1133
  exFAT 镜像在原站是 `exfat.img.tar.xz`,脚本解出后再按单元自己的 SHA-256 核对,盘上只留镜像。
 
156
  `_meta/manifest.jsonl` 的一条记录(JSON Lines 格式,每条记录是一个 JSON 对象):
157
 
158
  ```json
159
+ {"source": "exfatprogs-fsck-cases", "path": "D2_sysadmin/exfatprogs-fsck-cases/bad_bitmap-3601dc1e9aa6/cases/bad_bitmap/exfat.img", "url": "https://raw.githubusercontent.com/exfatprogs/exfatprogs/8b427483164888f0a5af5e4ba92da4981f1094e2/tests/bad_bitmap/exfat.img.tar.xz", "sha256": "36ac403ccbbfcf0433d560483418a4ac74d7e552494c759749d849cd5e269cd6", "bytes": 5242880, "spdx": "GPL-2.0-only", "licence_url": "https://raw.githubusercontent.com/exfatprogs/exfatprogs/8b427483164888f0a5af5e4ba92da4981f1094e2/COPYING", "publisher": "exfatprogs project", "retrieved": "2026-11-27", "origin_kind": "tool_fixture", "label": "D2.5", "unit_id": "bad_bitmap", "verified": true}
160
  ```
161
 
162
  没取到的,看 `_meta/fetch_manifest.jsonl` 里的 `status` 和 `reason`,各次运行按 `run_id` 区分。
 
610
 
611
  | 类别 | 要求 | 来源数 | 单元数 |
612
  |---|---|---:|---:|
613
+ | `no_address_or_hash` | 单元必须有可以下载其文件的地址。 | 0 | 3,108 |
614
  | `legally_blocked` | 单元不得因法律原因被封锁(HTTP 451、地区性的法律限制,或 catalog/blocked.tsv 依法排除的主机、仓库或数据集)。 | 0 | 0 |
615
  | `release_checks` | 单元必须通过发布前关于名称和凭据的检查。 | 1 | 0 |
616
  | `unscanned` | 文件必须能被发布前关于名称和凭据的检查读取;检查读不了的文件,其中的单元不收录。 | 0 | 0 |
 
855
  <details id="manual/numbers">
856
  <summary>本手册的数字从哪来</summary>
857
 
858
+ 本手册的数字和命令输出是部署时填入的,取自索引提交 `998674e0f20e2fab2299782eb737d9387eab8de3`(发布标签 `release-2026-11-25.5`)。
859
  本次发布有 2,451 个来源,共 1,439,313,019 个单元,1,439,321,777 个文件,指向去重后共 6.24 PB 的内容,记录的大小与文件本身比对过的 36,660 个文件中有 97.0% 一致。
860
 
861
  </details>
 
939
 
940
  <h4 id="manual/workbooks-1">1. 写选择清单</h4>
941
 
942
+ **做**:把要取的来源写进一个选择清单,`training-data-foundation-selection-998674e.json`,放进下载目录;
943
  这里是许可全允许训练、文件里有 Excel 工作簿的 52 个来源(查一次目录表就能找出来,做法同[用 DuckDB 批量挑来源](#manual/bulk))。
944
 
945
  **看到**:清单记着版本和来源:
 
961
 
962
  ```sh
963
  uv run https://huggingface.co/datasets/Battam/training-data-foundation/resolve/release-2026-11-25.5/tools/fetch.py \
964
+ --selection training-data-foundation-selection-998674e.json \
965
  --revision release-2026-11-25.5 \
966
  --ext xlsx \
967
  --ext xlsm \
 
990
  ...
991
  306 files fetched and checked (110MB) into take; details in take/_meta/fetch_run.json
992
  files of units: 220 ok; files of the sources themselves: 86 ok
993
+ run_id 20261127T001213.211112Z: 306 ok (lines in take/_meta/fetch_manifest.jsonl)
994
  ```
995
 
996
  第一次下载之前,`removed by` 是默认配置去掉的单元和保留它们的开关,数的是 `--limit` 需要读到的那些数据文件;
 
1006
  incomplete: 1 unit miss a file (the files fetched are kept; _meta/fetch_manifest.jsonl says why): ...
1007
  5 files fetched and checked (1.35MB) into probe; details in probe/_meta/fetch_run.json
1008
  files of units: 1 failed, 1 ok; files of the sources themselves: 4 ok
1009
+ run_id 20261127T001818.941068Z: 1 failed, 5 ok (lines in probe/_meta/fetch_manifest.jsonl)
1010
+ its lines that are not ok, in DuckDB: SELECT json FROM read_json_objects('probe/_meta/fetch_manifest.jsonl') WHERE json_extract_string(json, 'run_id') = '20261127T001818.941068Z' AND json_extract_string(json, 'status') NOT IN ('ok', 'selected')
1011
  ```
1012
 
1013
  **得到**:`ok` 的文件已按记录的大小和哈希核对。
 
1127
  ok exfatprogs-fsck-cases cases/bad_bitmap/exfat.img: 5.24MB
1128
  59 files fetched and checked (110MB) into data; details in data/_meta/fetch_run.json
1129
  files of units: 52 ok; files of the sources themselves: 7 ok
1130
+ run_id 20261127T001835.907434Z: 59 ok (lines in data/_meta/fetch_manifest.jsonl)
1131
  ```
1132
 
1133
  exFAT 镜像在原站是 `exfat.img.tar.xz`,脚本解出后再按单元自己的 SHA-256 核对,盘上只留镜像。
portal.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "commit": "b40f304265ff8d0628a71c5b7290a5b83ec6dd0f",
3
- "digest": "4575c8930df07b1911e798618f0d5c0cbf49a4c25cc844da39747bcc080ebaa6",
4
  "files": 25,
5
  "format": "portal-deploy/1",
6
  "funnel": "93c9d8ae26cfb409122f4cd4222359d30c31566c",
7
- "index": "e809ae240ea2fdb6926149a2b98ea1d14d1233c2"
8
  }
 
1
  {
2
+ "commit": "f5a3a51c7d650dc9f396667916c69e415004f9f0",
3
+ "digest": "2ac07af5d660850218b84e54a438d6c0ed6d87d0b424e950c2ce1527d86774b4",
4
  "files": 25,
5
  "format": "portal-deploy/1",
6
  "funnel": "93c9d8ae26cfb409122f4cd4222359d30c31566c",
7
+ "index": "998674e0f20e2fab2299782eb737d9387eab8de3"
8
  }
sources.json CHANGED
The diff for this file is too large to render. See raw diff