AngryYoungBhaloo's picture
Add files using upload-large-folder tool
4f4ca7d verified
|
Raw History Blame Contribute Delete
4.49 kB
---
license: odc-by
language:
- en
pretty_name: ECT pre-training corpus (FineWeb-Edu filtered of text that could teach imitation of consciousness)
size_categories:
- 1M<n<10M
source_datasets:
- HuggingFaceFW/fineweb-edu
task_categories:
- text-generation
configs:
- config_name: default
data_files:
- split: train
path: data/train-*.parquet
- split: validation
path: data/validation-*.parquet
---
# ECT pre-training corpus
The exact text the base model [AngryYoungBhaloo/ect-base-100m](https://huggingface.co/AngryYoungBhaloo/ect-base-100m) was pre-trained on: 4,129,771 passages of educational web text from which any text that could teach a model to imitate consciousness or its traits was filtered out. 4,125,621 passages are the training split (2,610,181,035 next-token targets) and 4,150 the validation split (2,614,056 targets), exactly as used in training.
It accompanies the paper *Emergence of Consciousness Traits in a SLM*. Code: [github.com/gut-puncture/emergence-of-consciousness-traits](https://github.com/gut-puncture/emergence-of-consciousness-traits).
## Source
[FineWeb-Edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu) (`HuggingFaceFW/fineweb-edu`), config `sample-100BT`, revision `v1.4.0` (commit [`87f09149ef4734204d70ed1d046ddc9ca3f2b8f9`](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu/tree/87f09149ef4734204d70ed1d046ddc9ca3f2b8f9)). The filter read the parquet files through the dataset's `refs/convert/parquet` branch; those files are byte-identical (same SHA-256) to `sample/100BT/*.parquet` at that commit.
What we changed: split each document into passages, filtered them with word rules and two classifiers trained to reject such text, and removed exact duplicates. The filter removed writing about awareness, selves, beliefs, intentions, emotions, pain and pleasure, sleep and dreams, psychology and neuroscience, and whole forms of writing that show minds at work, such as fiction, dialogue, forums, advice, reviews, news and biography. It is automatic and not perfect: a little news-like and marketing text remains. The paper's Appendix B gives the details and the measured error rates.
## Columns
| Column | Meaning |
|---|---|
| `passage_index` | stable index, 0 to 4,129,770: the passage's position in the order the training used (sorted by `clean_run_text_hash`) |
| `text` | the passage, a contiguous stretch of one FineWeb-Edu document |
| `source_document_id_hash` | identifies the source document (a hash of its position in FineWeb-Edu); passages from one document share it |
| `split` | `train` or `validation`; documents linked by a shared duplicate passage are always in the same split |
| `clean_run_id_hash`, `clean_run_text_hash`, `selected_block_count`, `selected_block_root`, `utf8_byte_count` | the remaining fields of the original records, kept so the training code's input files can be rebuilt exactly |
`parts.json` lists the 413 original input files (10,000 passages each, in `passage_index` order) with their SHA-256. `to_jsonl` in `prepare_corpus.py` (in this repository; the same script built it) writes them back from this dataset and checks each one byte for byte.
`manifest/` holds the original manifest and the per-file receipts (record counts and hashes, no text) that the training code's packing step reads.
`labels/` holds the labels the filter's classifiers were trained and checked on, as FineWeb-Edu identifiers and labels only; see `labels/README.md`.
## Licence and terms
Released under the [Open Data Commons Attribution License (ODC-By) 1.0](https://opendatacommons.org/licenses/by/1-0/), the licence of the source. As FineWeb-Edu states, use of the text is also subject to [Common Crawl's terms of use](https://commoncrawl.org/terms-of-use).
## Removal requests
If you find your content in this dataset and want it removed, open a discussion on this dataset's [Community page](https://huggingface.co/datasets/AngryYoungBhaloo/ect-pretraining-corpus/discussions) naming the `passage_index` values or the text, and we will remove it.
## Citation
Please cite the source dataset:
```bibtex
@inproceedings{penedo2024fineweb,
title = {The {FineWeb} Datasets: Decanting the Web for the Finest Text Data at Scale},
author = {Penedo, Guilherme and others},
booktitle = {Advances in Neural Information Processing Systems 37 (Datasets and Benchmarks Track)},
year = {2024},
pages = {30811--30849},
doi = {10.52202/079017-0970}
}
```