alexliap commited on
Commit
d5fb001
·
1 Parent(s): 0646877

Update dataset card: near-duplicates are now removed, not tagged

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -28,7 +28,7 @@ Pipeline source: [github.com/alexliap/greek-cc](https://github.com/alexliap/gree
28
  Each processed crawl (e.g. `CC-MAIN-2024-22`) contributes two kinds of files:
29
 
30
  - **`raw/<crawl>/chunk=<offset>/*.parquet`**: per-chunk survivors, written as soon as each ~100k-row manifest chunk finishes extraction and filtering. These are **pre-deduplication**: near-duplicate detection only runs once a whole crawl is fully processed, so documents here may have near-duplicates elsewhere in the same crawl.
31
- - **`<crawl>/*.parquet`**: the final, whole-crawl output, written once every chunk is done. Every document here has been scored for near-duplicate clusters (see below).
32
 
33
  ### Columns
34
 
@@ -50,7 +50,7 @@ Each processed crawl (e.g. `CC-MAIN-2024-22`) contributes two kinds of files:
50
 
51
  \* only present in the final `<crawl>/*.parquet` files, not in `raw/`.
52
 
53
- **Near-duplicates are tagged, not removed.** Documents that MinHash considers near-duplicates of each other share a `minhash_cluster_id`, and the final files still contain every document. If you want a deduplicated set, keep one document per `minhash_cluster_id` yourself (e.g. the longest, or the first seen).
54
 
55
  ## How it was built
56
 
@@ -64,7 +64,7 @@ Each processed crawl (e.g. `CC-MAIN-2024-22`) contributes two kinds of files:
64
  - Gopher quality filter
65
  - all thresholds are FineWeb-2's own Greek (`ell_Grek`) config, used as-is rather than hand-tuned
66
  4. **Clean**: FTFY (mojibake/encoding fixes), PII redaction, stray symbol line removal.
67
- 5. **Deduplicate, per-snapshot rather than per-language-global.** MinHash (14 buckets, 8 hashes per bucket, 5-grams, xxhash 64-bit, the same hashing scheme FineWeb-2 uses), but scoped to one crawl at a time instead of across every crawl. FineWeb-2 dedups Greek globally across its full 2013 to April 2024 span, then has to upsample surviving documents by cluster size to claw back the volume that global dedup throws away. The original FineWeb (v1) found the opposite worked better: per-snapshot dedup kept far more tokens (20T vs 4T in their ablation) and avoided the quality drop global dedup caused, where what survives skews toward ads and keyword-stuffed text. This project follows FineWeb v1's per-snapshot scope for that reason. Documents are also tagged rather than dropped (see above), which is a further departure from both FineWeb v1 and FineWeb-2, who each remove near-duplicates outright. Pre-deduplication data is available in case someone wants to do deduplication globally, the FineWeb 2's way.
68
 
69
  ## Source and license
70
 
 
28
  Each processed crawl (e.g. `CC-MAIN-2024-22`) contributes two kinds of files:
29
 
30
  - **`raw/<crawl>/chunk=<offset>/*.parquet`**: per-chunk survivors, written as soon as each ~100k-row manifest chunk finishes extraction and filtering. These are **pre-deduplication**: near-duplicate detection only runs once a whole crawl is fully processed, so documents here may have near-duplicates elsewhere in the same crawl.
31
+ - **`<crawl>/*.parquet`**: the final, whole-crawl output, written once every chunk is done. Near-duplicates have been resolved down to one surviving document per cluster (see below).
32
 
33
  ### Columns
34
 
 
50
 
51
  \* only present in the final `<crawl>/*.parquet` files, not in `raw/`.
52
 
53
+ **Near-duplicates are removed.** Documents that MinHash considers near-duplicates of each other share a `minhash_cluster_id`; only one representative per cluster survives into the final `<crawl>/*.parquet` files, and `minhash_cluster_size` tells you how many documents that cluster had, i.e. how many were dropped alongside the survivor. If you want the removed documents, anti-join `raw/<crawl>/chunk=<offset>/` (pre-dedup) against `<crawl>/` (post-dedup) on `(warc_filename, warc_record_offset)`.
54
 
55
  ## How it was built
56
 
 
64
  - Gopher quality filter
65
  - all thresholds are FineWeb-2's own Greek (`ell_Grek`) config, used as-is rather than hand-tuned
66
  4. **Clean**: FTFY (mojibake/encoding fixes), PII redaction, stray symbol line removal.
67
+ 5. **Deduplicate, per-snapshot rather than per-language-global.** MinHash (14 buckets, 8 hashes per bucket, 5-grams, xxhash 64-bit, the same hashing scheme FineWeb-2 uses, run through datatrove's own signature/buckets/cluster/filter pipeline), but scoped to one crawl at a time instead of across every crawl. FineWeb-2 dedups Greek globally across its full 2013 to April 2024 span, then has to upsample surviving documents by cluster size to claw back the volume that global dedup throws away. The original FineWeb (v1) found the opposite worked better: per-snapshot dedup kept far more tokens (20T vs 4T in their ablation) and avoided the quality drop global dedup caused, where what survives skews toward ads and keyword-stuffed text. This project follows FineWeb v1's per-snapshot scope for that reason, and removes near-duplicates outright, matching both FineWeb v1 and FineWeb-2. Pre-deduplication data stays available under `raw/`, in case you want to redo deduplication globally the FineWeb-2 way, or reconstruct exactly which documents were dropped (see above).
68
 
69
  ## Source and license
70