Update NeoCorpus dataset card
Browse files
README.md
CHANGED
|
@@ -1,36 +1,120 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
- name: source_shard
|
| 12 |
-
dtype: string
|
| 13 |
-
- name: token_count
|
| 14 |
-
dtype: int64
|
| 15 |
-
splits:
|
| 16 |
-
- name: train
|
| 17 |
-
num_bytes: 5736819606
|
| 18 |
-
num_examples: 1889952
|
| 19 |
-
- name: validation
|
| 20 |
-
num_bytes: 15416446
|
| 21 |
-
num_examples: 5000
|
| 22 |
-
- name: test
|
| 23 |
-
num_bytes: 60512810
|
| 24 |
-
num_examples: 20000
|
| 25 |
-
download_size: 3308591684
|
| 26 |
-
dataset_size: 5812748862
|
| 27 |
-
configs:
|
| 28 |
-
- config_name: foundation
|
| 29 |
-
data_files:
|
| 30 |
-
- split: train
|
| 31 |
-
path: foundation/train-*
|
| 32 |
-
- split: validation
|
| 33 |
-
path: foundation/validation-*
|
| 34 |
-
- split: test
|
| 35 |
-
path: foundation/test-*
|
| 36 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
pretty_name: NeoCorpus
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- pretraining
|
| 9 |
+
- language-modeling
|
| 10 |
+
- english
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
+
# NeoCorpus
|
| 13 |
+
|
| 14 |
+
**NeoCorpus** is a multi-stage pretraining corpus for the NeoLM
|
| 15 |
+
family of decoder-only language models trained from scratch.
|
| 16 |
+
|
| 17 |
+
## Available Configurations
|
| 18 |
+
|
| 19 |
+
| Configuration | Description | Status |
|
| 20 |
+
|---|---|---|
|
| 21 |
+
| `foundation` | General-purpose foundation pretraining | Available |
|
| 22 |
+
| `specialized` | Specialized continued pretraining | Planned |
|
| 23 |
+
| `decay` | Final high-quality pretraining | Planned |
|
| 24 |
+
|
| 25 |
+
## Foundation Dataset
|
| 26 |
+
|
| 27 |
+
The `foundation` configuration contains an English-language subset
|
| 28 |
+
derived from Andrej Karpathy's globally shuffled NVIDIA Nemotron-ClimbMix.
|
| 29 |
+
|
| 30 |
+
### Dataset Statistics
|
| 31 |
+
|
| 32 |
+
| Split | Documents |
|
| 33 |
+
|---|---:|
|
| 34 |
+
| Train | 1,889,952 |
|
| 35 |
+
| Validation | 5,000 |
|
| 36 |
+
| Test | 20,000 |
|
| 37 |
+
| **Total** | **1,914,952** |
|
| 38 |
+
|
| 39 |
+
### Token Statistics
|
| 40 |
+
|
| 41 |
+
Estimated using the previous NeoLM ByteLevel BPE tokenizer
|
| 42 |
+
(vocabulary size 32,000), including one planned EOS per document.
|
| 43 |
+
|
| 44 |
+
| Split | Estimated Tokens |
|
| 45 |
+
|---|---:|
|
| 46 |
+
| Train | 1,199,827,981 |
|
| 47 |
+
| Validation | 3,223,381 |
|
| 48 |
+
| Test | 12,650,844 |
|
| 49 |
+
|
| 50 |
+
Final token counts will be recalculated using the tokenizer
|
| 51 |
+
trained for the next NeoLM model.
|
| 52 |
+
|
| 53 |
+
### Source and Provenance
|
| 54 |
+
|
| 55 |
+
- Original corpus: [NVIDIA Nemotron-ClimbMix](https://huggingface.co/datasets/nvidia/Nemotron-ClimbMix)
|
| 56 |
+
- Shuffled source: [karpathy/climbmix-400b-shuffle](https://huggingface.co/datasets/karpathy/climbmix-400b-shuffle)
|
| 57 |
+
- Source revision: `915333b4f8b8684f39aeaafea600fea6f43fb703`
|
| 58 |
+
- Collection seed: `1337`
|
| 59 |
+
- Collection method: sequential traversal of globally shuffled source shards
|
| 60 |
+
|
| 61 |
+
NeoCorpus is an independent derivative dataset, not affiliated
|
| 62 |
+
with NVIDIA or Andrej Karpathy.
|
| 63 |
+
|
| 64 |
+
### Data Preparation
|
| 65 |
+
|
| 66 |
+
1. Stream documents from the pinned source revision.
|
| 67 |
+
2. Strip edge whitespace while retaining internal formatting.
|
| 68 |
+
3. Filter empty documents and lengths outside 100–100,000 characters.
|
| 69 |
+
4. Exclude reserved tokenizer markers.
|
| 70 |
+
5. Reserve 5,000 validation and 20,000 test documents.
|
| 71 |
+
6. Collect approximately 1.2 billion training tokens.
|
| 72 |
+
7. Remove exact-text duplicates from the training set,
|
| 73 |
+
prioritizing validation and test holdouts.
|
| 74 |
+
8. Preserve provenance and estimated token counts.
|
| 75 |
+
|
| 76 |
+
483 training documents were removed by exact deduplication.
|
| 77 |
+
Near-duplicate deduplication was not performed.
|
| 78 |
+
|
| 79 |
+
### Features
|
| 80 |
+
|
| 81 |
+
| Field | Description |
|
| 82 |
+
|---|---|
|
| 83 |
+
| `doc_id` | Stable document identifier |
|
| 84 |
+
| `text` | Document content |
|
| 85 |
+
| `source` | Original dataset identifier |
|
| 86 |
+
| `source_shard` | Original source shard |
|
| 87 |
+
| `token_count` | Estimated tokens including planned EOS |
|
| 88 |
+
|
| 89 |
+
## Usage
|
| 90 |
+
|
| 91 |
+
from datasets import load_dataset
|
| 92 |
+
|
| 93 |
+
ds = load_dataset(
|
| 94 |
+
"MaagDeveloper/NeoCorpus",
|
| 95 |
+
"foundation",
|
| 96 |
+
split="train",
|
| 97 |
+
)
|
| 98 |
+
|
| 99 |
+
The next NeoLM tokenizer will be trained on the training split only.
|
| 100 |
+
|
| 101 |
+
## Limitations
|
| 102 |
+
|
| 103 |
+
The dataset may contain factual errors, biases, unsafe text,
|
| 104 |
+
personally identifiable information, and near-duplicates.
|
| 105 |
+
It has not undergone exhaustive manual quality review.
|
| 106 |
+
|
| 107 |
+
Source licensing and redistribution obligations require review
|
| 108 |
+
before public release.
|
| 109 |
+
|
| 110 |
+
## Attribution
|
| 111 |
+
|
| 112 |
+
NeoCorpus builds upon NVIDIA Nemotron-ClimbMix and
|
| 113 |
+
Andrej Karpathy's shuffled ClimbMix dataset used for nanochat.
|
| 114 |
+
|
| 115 |
+
- [NVIDIA Nemotron-ClimbMix](https://huggingface.co/datasets/nvidia/Nemotron-ClimbMix)
|
| 116 |
+
- [Karpathy ClimbMix Shuffle](https://huggingface.co/datasets/karpathy/climbmix-400b-shuffle)
|
| 117 |
+
- [nanochat](https://github.com/karpathy/nanochat)
|
| 118 |
+
|
| 119 |
+
This project is independent and is not officially affiliated
|
| 120 |
+
with NVIDIA or Andrej Karpathy.
|