tamnd commited on
Commit
ace8551
·
verified ·
1 Parent(s): e8a257c

Index the parts and say so on the card

Browse files
Files changed (1) hide show
  1. README.md +8 -8
README.md CHANGED
@@ -37,7 +37,7 @@ configs:
37
 
38
  # ViTweb
39
 
40
- > 1,749,322 Vietnamese documents from one public corpus, 3.9 GB of Parquet, one schema
41
 
42
  This dataset is one row per page gao's own crawler fetched and kept: the extracted article as plain text, the same article as markdown, the whole page as markdown, and the address, host, fetch time, robots decision and every measurement the page was judged on.
43
 
@@ -72,8 +72,8 @@ Every page that was not kept is in `open-index/vitweb-rejects` with the stage an
72
 
73
  | source | documents | parts | input files | size | pinned at |
74
  | --- | ---: | ---: | ---: | ---: | --- |
75
- | `web` | 1,749,322 | 197 | 3 | 3.9 GB | `web-20260819`, `web-20260820`, `web-20260820b`, `web-20260820c`, `web-20260820d`, `web-20260821x` |
76
- | **total** | **1,749,322** | **197** | | **3.9 GB** | |
77
 
78
  Every count here is the row count in a part's own Parquet footer, added up. None of it is what a run reported writing, because a run that died between pushing a part and writing down that it had is exactly the case a count has to be right about.
79
 
@@ -89,7 +89,7 @@ Four public corpora, pinned at a revision, read once, and written out under the
89
 
90
  ### `web`
91
 
92
- 1,749,322 documents.
93
 
94
  Two more are pinned in the ingest manifest and are not here. CulturaX is gated on the Hub and the terms were never granted to anybody on this project, so not one byte of it has been read and it is dropped rather than pending. It is mC4 and OSCAR, both built out of Common Crawl, so it went over the same pages the sources above went over, though that is worth less than it sounds: identity here is a hash of the extracted text, and two Common Crawl derivatives in this repo share under one percent of the smaller of them, because two extractors rarely agree on every byte of a page. MADLAD-400 ships as gzipped JSONL rather than Parquet, so it costs a rewrite that the Parquet sources do not, and it is queued behind them.
95
 
@@ -102,7 +102,7 @@ README.md
102
  parts.csv
103
  data/web/
104
  web-20260819-00000-00000.parquet
105
- ... and 196 more
106
  ```
107
 
108
  One directory per source, and the file name is the snapshot, the input file of the source the part came out of, and the part. The snapshot is the source and the revision it was pinned at, so re-pinning a source puts its new parts beside the old ones in the same directory under a different name rather than moving the directory. That is deliberate: the directory is the config name somebody writes in a `load_dataset` call, and a name that moves every time a source is re-pinned is a name nobody can write down.
@@ -136,7 +136,7 @@ GROUP BY source ORDER BY documents DESC;
136
  │ source │ parts │ documents │ gb │
137
  │ varchar │ int64 │ int128 │ double │
138
  ├─────────┼───────┼───────────┼────────┤
139
- │ web │ 197 │ 1749322 │ 3.9 │
140
  └─────────┴───────┴───────────┴────────┘
141
  ```
142
 
@@ -152,11 +152,11 @@ FROM read_parquet('hf://datasets/open-index/vitweb/data/web/*.parquet');
152
  │ documents │
153
  │ int64 │
154
  ├───────────┤
155
- │ 1749322 │
156
  └───────────┘
157
  ```
158
 
159
- **Group by a column.** Parquet is columnar, so a query over two columns reads two columns. This one touches 1,749,322 documents across 197 files.
160
 
161
  ```sql
162
  SELECT license_class, count(*) AS documents,
 
37
 
38
  # ViTweb
39
 
40
+ > 1,749,335 Vietnamese documents from one public corpus, 3.9 GB of Parquet, one schema
41
 
42
  This dataset is one row per page gao's own crawler fetched and kept: the extracted article as plain text, the same article as markdown, the whole page as markdown, and the address, host, fetch time, robots decision and every measurement the page was judged on.
43
 
 
72
 
73
  | source | documents | parts | input files | size | pinned at |
74
  | --- | ---: | ---: | ---: | ---: | --- |
75
+ | `web` | 1,749,335 | 198 | 3 | 3.9 GB | `web-20260819`, `web-20260820`, `web-20260820b`, `web-20260820c`, `web-20260820d`, `web-20260821x` |
76
+ | **total** | **1,749,335** | **198** | | **3.9 GB** | |
77
 
78
  Every count here is the row count in a part's own Parquet footer, added up. None of it is what a run reported writing, because a run that died between pushing a part and writing down that it had is exactly the case a count has to be right about.
79
 
 
89
 
90
  ### `web`
91
 
92
+ 1,749,335 documents.
93
 
94
  Two more are pinned in the ingest manifest and are not here. CulturaX is gated on the Hub and the terms were never granted to anybody on this project, so not one byte of it has been read and it is dropped rather than pending. It is mC4 and OSCAR, both built out of Common Crawl, so it went over the same pages the sources above went over, though that is worth less than it sounds: identity here is a hash of the extracted text, and two Common Crawl derivatives in this repo share under one percent of the smaller of them, because two extractors rarely agree on every byte of a page. MADLAD-400 ships as gzipped JSONL rather than Parquet, so it costs a rewrite that the Parquet sources do not, and it is queued behind them.
95
 
 
102
  parts.csv
103
  data/web/
104
  web-20260819-00000-00000.parquet
105
+ ... and 197 more
106
  ```
107
 
108
  One directory per source, and the file name is the snapshot, the input file of the source the part came out of, and the part. The snapshot is the source and the revision it was pinned at, so re-pinning a source puts its new parts beside the old ones in the same directory under a different name rather than moving the directory. That is deliberate: the directory is the config name somebody writes in a `load_dataset` call, and a name that moves every time a source is re-pinned is a name nobody can write down.
 
136
  │ source │ parts │ documents │ gb │
137
  │ varchar │ int64 │ int128 │ double │
138
  ├─────────┼───────┼───────────┼────────┤
139
+ │ web │ 198 │ 1749335 │ 3.9 │
140
  └─────────┴───────┴───────────┴────────┘
141
  ```
142
 
 
152
  │ documents │
153
  │ int64 │
154
  ├───────────┤
155
+ │ 1749335 │
156
  └───────────┘
157
  ```
158
 
159
+ **Group by a column.** Parquet is columnar, so a query over two columns reads two columns. This one touches 1,749,335 documents across 198 files.
160
 
161
  ```sql
162
  SELECT license_class, count(*) AS documents,