Datasets:
Update 400GB dataset policy and checkpoint reports
Browse files- dataset_guide/GROK_SYNTHETIC_GENERATION_400GB_PROMPT.md +202 -0
- dataset_guide/HF_DATASET_CARD.md +6 -5
- dataset_guide/README.md +4 -3
- dataset_guide/TARGET_400GB_POLICY.md +101 -0
- dataset_guide/checkpoint_reports/checkpoint_20260611_112534_bundle01_20g/CHECKSUMS.txt +1 -21
- dataset_guide/checkpoint_reports/checkpoint_20260611_112534_bundle01_20g/MANIFEST.json +9 -166
- dataset_guide/checkpoint_reports/checkpoint_20260611_112534_bundle01_20g/UPLOAD_READY.md +8 -4
dataset_guide/GROK_SYNTHETIC_GENERATION_400GB_PROMPT.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Grok Synthetic Generation Prompt For 400GB Dataset Target
|
| 2 |
+
|
| 3 |
+
Give this document to each interactive Grok session when more synthetic data is
|
| 4 |
+
needed. Grok should generate only staging JSONL. Final dedup, balancing,
|
| 5 |
+
checkpointing, Hugging Face upload, and Google Drive backup are handled outside
|
| 6 |
+
Grok.
|
| 7 |
+
|
| 8 |
+
## Mission
|
| 9 |
+
|
| 10 |
+
Generate high-quality, non-duplicated synthetic code training records for the
|
| 11 |
+
FABLE 5 code completion and FIM dataset. Output JSONL only. The target system
|
| 12 |
+
will combine this synthetic stream with public real-code sources into twenty
|
| 13 |
+
balanced 20GB single-JSONL checkpoints, for 400GB total mirrored to Hugging Face
|
| 14 |
+
and Google Drive.
|
| 15 |
+
|
| 16 |
+
## Absolute Safety Rules
|
| 17 |
+
|
| 18 |
+
- Do not load the whole corpus into memory.
|
| 19 |
+
- Do not scan all existing dataset files.
|
| 20 |
+
- Do not build an in-memory global set of hashes.
|
| 21 |
+
- Write small JSONL files incrementally.
|
| 22 |
+
- Keep one process below 1.2GiB RSS; stop immediately above 1.5GiB RSS.
|
| 23 |
+
- Stop if disk free space drops below 95GiB.
|
| 24 |
+
- Never write into `dataset/`; only write staging output.
|
| 25 |
+
- Never delete source datasets.
|
| 26 |
+
- Never create binary, parquet, sqlite, zip, tar, or cache files unless
|
| 27 |
+
explicitly requested.
|
| 28 |
+
|
| 29 |
+
## Output Directory
|
| 30 |
+
|
| 31 |
+
Write generated files under:
|
| 32 |
+
|
| 33 |
+
```text
|
| 34 |
+
data/grok_outbox/<run_id>.inprogress/
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
When a run is complete and all files are flushed, rename the folder to:
|
| 38 |
+
|
| 39 |
+
```text
|
| 40 |
+
data/grok_outbox/<run_id>.final/
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
Use file names:
|
| 44 |
+
|
| 45 |
+
```text
|
| 46 |
+
w<worker>-part-<number>.jsonl
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
Each file should be about 512MiB to 1GiB. Smaller files are acceptable. Do not
|
| 50 |
+
create one huge file.
|
| 51 |
+
|
| 52 |
+
## JSONL Schema
|
| 53 |
+
|
| 54 |
+
Each line must be one UTF-8 JSON object:
|
| 55 |
+
|
| 56 |
+
```json
|
| 57 |
+
{"text":"...","domain":"code_fim","difficulty":"medium","meta":{"lang":"python","source":"grok","mode":"psm","synthetic_kind":"api_usage"}}
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
Required fields:
|
| 61 |
+
|
| 62 |
+
- `text`: non-empty training string.
|
| 63 |
+
- `domain`: `code_fim` or `code_gen`.
|
| 64 |
+
- `difficulty`: `easy`, `medium`, or `hard`.
|
| 65 |
+
- `meta.lang`: one of the target languages.
|
| 66 |
+
- `meta.source`: always `grok`.
|
| 67 |
+
- `meta.synthetic_kind`: one of the categories below.
|
| 68 |
+
|
| 69 |
+
FIM records must use one of:
|
| 70 |
+
|
| 71 |
+
```text
|
| 72 |
+
<|fim_prefix|>{prefix}<|fim_suffix|>{suffix}<|fim_middle|>{middle}
|
| 73 |
+
<|fim_suffix|>{suffix}<|fim_prefix|>{prefix}<|fim_middle|>{middle}
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
Do not include markdown fences inside `text` unless the training record is
|
| 77 |
+
intentionally a markdown/documentation example.
|
| 78 |
+
|
| 79 |
+
## Target Mix For Synthetic Output
|
| 80 |
+
|
| 81 |
+
Across each Grok run, approximate this mix:
|
| 82 |
+
|
| 83 |
+
| Category | Share |
|
| 84 |
+
| --- | ---: |
|
| 85 |
+
| Realistic repository FIM | 35% |
|
| 86 |
+
| API/library usage FIM | 20% |
|
| 87 |
+
| Bug fix / refactor FIM | 15% |
|
| 88 |
+
| Tests and edge cases | 10% |
|
| 89 |
+
| Algorithmic code generation | 8% |
|
| 90 |
+
| Systems/concurrency/performance | 7% |
|
| 91 |
+
| Documentation/comment aware completion | 5% |
|
| 92 |
+
|
| 93 |
+
Language mix:
|
| 94 |
+
|
| 95 |
+
| Language | Share |
|
| 96 |
+
| --- | ---: |
|
| 97 |
+
| Python | 24% |
|
| 98 |
+
| TypeScript/JavaScript | 22% |
|
| 99 |
+
| Java | 14% |
|
| 100 |
+
| Rust | 12% |
|
| 101 |
+
| C/C++ | 12% |
|
| 102 |
+
| Go | 8% |
|
| 103 |
+
| Kotlin/Swift/C# mixed | 8% |
|
| 104 |
+
|
| 105 |
+
Difficulty mix:
|
| 106 |
+
|
| 107 |
+
| Difficulty | Share |
|
| 108 |
+
| --- | ---: |
|
| 109 |
+
| easy | 20% |
|
| 110 |
+
| medium | 50% |
|
| 111 |
+
| hard | 30% |
|
| 112 |
+
|
| 113 |
+
FIM mode mix:
|
| 114 |
+
|
| 115 |
+
| Mode | Share |
|
| 116 |
+
| --- | ---: |
|
| 117 |
+
| psm | 70% |
|
| 118 |
+
| spm | 20% |
|
| 119 |
+
| gen | 10% |
|
| 120 |
+
|
| 121 |
+
## Quality Bar
|
| 122 |
+
|
| 123 |
+
Generate useful code that looks like it came from real projects:
|
| 124 |
+
|
| 125 |
+
- Complete functions, classes, modules, tests, configs, and migrations.
|
| 126 |
+
- Realistic imports and dependency boundaries.
|
| 127 |
+
- Meaningful variable names and project structure.
|
| 128 |
+
- Edge cases, error handling, logging, type hints, and validation.
|
| 129 |
+
- Korean and English comments are allowed, but code should remain idiomatic.
|
| 130 |
+
- Include tests for tricky logic where appropriate.
|
| 131 |
+
- Prefer medium-length examples. Avoid tiny toy snippets as bulk data.
|
| 132 |
+
|
| 133 |
+
Reject or avoid:
|
| 134 |
+
|
| 135 |
+
- Near-duplicate templates with only renamed variables.
|
| 136 |
+
- Repeated boilerplate.
|
| 137 |
+
- Fake secrets, API keys, private keys, passwords, tokens, or credentials.
|
| 138 |
+
- Copyrighted source copied from real projects.
|
| 139 |
+
- Broken syntax unless the record is explicitly a bug-fix example and the
|
| 140 |
+
completion repairs it.
|
| 141 |
+
- Long natural-language explanations replacing code.
|
| 142 |
+
|
| 143 |
+
## Dedup Discipline Inside Grok
|
| 144 |
+
|
| 145 |
+
Within a single Grok run, keep a small bounded rolling hash set only for recent
|
| 146 |
+
outputs to avoid immediate repeats. Do not attempt global dedup across all
|
| 147 |
+
datasets. The external pipeline handles global out-of-core dedup.
|
| 148 |
+
|
| 149 |
+
For each generated record, vary at least three of:
|
| 150 |
+
|
| 151 |
+
- language
|
| 152 |
+
- library/API family
|
| 153 |
+
- problem shape
|
| 154 |
+
- repository path
|
| 155 |
+
- data structure
|
| 156 |
+
- error handling
|
| 157 |
+
- tests
|
| 158 |
+
- FIM split location
|
| 159 |
+
- naming style
|
| 160 |
+
|
| 161 |
+
## Record Examples
|
| 162 |
+
|
| 163 |
+
Good `meta.synthetic_kind` values:
|
| 164 |
+
|
| 165 |
+
- `repository_fim`
|
| 166 |
+
- `api_usage`
|
| 167 |
+
- `bugfix_refactor`
|
| 168 |
+
- `unit_tests`
|
| 169 |
+
- `algorithmic`
|
| 170 |
+
- `systems_concurrency`
|
| 171 |
+
- `performance`
|
| 172 |
+
- `docs_comments`
|
| 173 |
+
- `config_infra`
|
| 174 |
+
- `data_processing`
|
| 175 |
+
|
| 176 |
+
Example shape:
|
| 177 |
+
|
| 178 |
+
```json
|
| 179 |
+
{"text":"<|fim_prefix|>def normalize_path(raw: str) -> str:\n cleaned = raw.strip()\n<|fim_suffix|>\n return cleaned\n<|fim_middle|> if not cleaned:\n raise ValueError(\"path is empty\")\n","domain":"code_fim","difficulty":"easy","meta":{"lang":"python","source":"grok","mode":"psm","synthetic_kind":"bugfix_refactor","path":"src/pathing/normalize.py"}}
|
| 180 |
+
```
|
| 181 |
+
|
| 182 |
+
## Run Completion Report
|
| 183 |
+
|
| 184 |
+
At the end of a run, write:
|
| 185 |
+
|
| 186 |
+
```text
|
| 187 |
+
data/grok_outbox/<run_id>.final/RUN_REPORT.md
|
| 188 |
+
```
|
| 189 |
+
|
| 190 |
+
Include:
|
| 191 |
+
|
| 192 |
+
- total files
|
| 193 |
+
- total bytes
|
| 194 |
+
- approximate records
|
| 195 |
+
- category counts
|
| 196 |
+
- language counts
|
| 197 |
+
- difficulty counts
|
| 198 |
+
- max observed RSS
|
| 199 |
+
- disk free at start and end
|
| 200 |
+
- any files intentionally skipped or stopped early
|
| 201 |
+
|
| 202 |
+
The report is metadata only. Do not put dataset records in the report.
|
dataset_guide/HF_DATASET_CARD.md
CHANGED
|
@@ -12,7 +12,7 @@ tags:
|
|
| 12 |
- dense
|
| 13 |
pretty_name: FABLE 5 Code FIM Upload Checkpoints
|
| 14 |
size_categories:
|
| 15 |
-
-
|
| 16 |
---
|
| 17 |
|
| 18 |
# FABLE 5 Code FIM Upload Checkpoints
|
|
@@ -21,7 +21,8 @@ This dataset repository stores upload-ready JSONL training checkpoints for code
|
|
| 21 |
completion and fill-in-the-middle training. Checkpoints are appended in
|
| 22 |
approximately 20 GiB units so they can also be copied to Google Drive and loaded
|
| 23 |
from Colab/H100 training jobs. New checkpoints use one JSONL file per 20 GiB
|
| 24 |
-
checkpoint.
|
|
|
|
| 25 |
|
| 26 |
## Current Upload Status
|
| 27 |
|
|
@@ -30,7 +31,7 @@ Only validation-passing checkpoints should be uploaded or used for training.
|
|
| 30 |
| Checkpoint | Size | JSONL | In-bundle duplicates | Status |
|
| 31 |
| --- | ---: | --- | ---: | --- |
|
| 32 |
| `checkpoint_20260611_104104_bundle01_20g` | 19.04 GiB | valid, legacy multi-part | 0 | uploaded to Hugging Face |
|
| 33 |
-
| `checkpoint_20260611_112534_bundle01_20g` | 19.11 GiB | valid,
|
| 34 |
|
| 35 |
## Repository Layout
|
| 36 |
|
|
@@ -93,8 +94,8 @@ A checkpoint is upload-ready only when:
|
|
| 93 |
- Empty `text` count is zero.
|
| 94 |
- In-bundle duplicate count is zero.
|
| 95 |
- The checkpoint folder contains only one file:
|
| 96 |
-
`dataset/<checkpoint>.jsonl`. Legacy
|
| 97 |
-
|
| 98 |
- `MANIFEST.json`, `BALANCE_REPORT.md`, and `CHECKSUMS.txt` are present under
|
| 99 |
`dataset_guide/checkpoint_reports/<checkpoint>/`.
|
| 100 |
- Shared `tokenizer/`, `dense/`, and `moe/` documentation lives at repository
|
|
|
|
| 12 |
- dense
|
| 13 |
pretty_name: FABLE 5 Code FIM Upload Checkpoints
|
| 14 |
size_categories:
|
| 15 |
+
- 10M<n<100M
|
| 16 |
---
|
| 17 |
|
| 18 |
# FABLE 5 Code FIM Upload Checkpoints
|
|
|
|
| 21 |
completion and fill-in-the-middle training. Checkpoints are appended in
|
| 22 |
approximately 20 GiB units so they can also be copied to Google Drive and loaded
|
| 23 |
from Colab/H100 training jobs. New checkpoints use one JSONL file per 20 GiB
|
| 24 |
+
checkpoint. The long-term target is 400GB total mirrored to Hugging Face and
|
| 25 |
+
Google Drive.
|
| 26 |
|
| 27 |
## Current Upload Status
|
| 28 |
|
|
|
|
| 31 |
| Checkpoint | Size | JSONL | In-bundle duplicates | Status |
|
| 32 |
| --- | ---: | --- | ---: | --- |
|
| 33 |
| `checkpoint_20260611_104104_bundle01_20g` | 19.04 GiB | valid, legacy multi-part | 0 | uploaded to Hugging Face |
|
| 34 |
+
| `checkpoint_20260611_112534_bundle01_20g` | 19.11 GiB | valid, single JSONL | 0 | uploaded to Hugging Face; Google Drive local single-file copy present; Drive cloud sync not claimed |
|
| 35 |
|
| 36 |
## Repository Layout
|
| 37 |
|
|
|
|
| 94 |
- Empty `text` count is zero.
|
| 95 |
- In-bundle duplicate count is zero.
|
| 96 |
- The checkpoint folder contains only one file:
|
| 97 |
+
`dataset/<checkpoint>.jsonl`. Legacy checkpoints may contain several JSONL
|
| 98 |
+
parts only until they are repackaged.
|
| 99 |
- `MANIFEST.json`, `BALANCE_REPORT.md`, and `CHECKSUMS.txt` are present under
|
| 100 |
`dataset_guide/checkpoint_reports/<checkpoint>/`.
|
| 101 |
- Shared `tokenizer/`, `dense/`, and `moe/` documentation lives at repository
|
dataset_guide/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
# Dataset Guide
|
| 2 |
|
| 3 |
This folder documents how the 20 GiB JSONL checkpoints are generated, validated,
|
| 4 |
-
uploaded, and consumed for training.
|
|
|
|
| 5 |
|
| 6 |
## Design Goal
|
| 7 |
|
|
@@ -39,8 +40,8 @@ dataset/
|
|
| 39 |
Reports and checksums live outside checkpoint folders at
|
| 40 |
`dataset_guide/checkpoint_reports/<checkpoint>/`.
|
| 41 |
|
| 42 |
-
Older legacy checkpoints may contain multiple 1 GiB JSONL parts
|
| 43 |
-
checkpoints should use the single-file layout above.
|
| 44 |
|
| 45 |
## Required Validation
|
| 46 |
|
|
|
|
| 1 |
# Dataset Guide
|
| 2 |
|
| 3 |
This folder documents how the 20 GiB JSONL checkpoints are generated, validated,
|
| 4 |
+
uploaded, and consumed for training. The current long-term target is 400GB total
|
| 5 |
+
mirrored to Hugging Face and Google Drive.
|
| 6 |
|
| 7 |
## Design Goal
|
| 8 |
|
|
|
|
| 40 |
Reports and checksums live outside checkpoint folders at
|
| 41 |
`dataset_guide/checkpoint_reports/<checkpoint>/`.
|
| 42 |
|
| 43 |
+
Older legacy checkpoints may contain multiple 1 GiB JSONL parts until they are
|
| 44 |
+
repacked. New checkpoints should use the single-file layout above.
|
| 45 |
|
| 46 |
## Required Validation
|
| 47 |
|
dataset_guide/TARGET_400GB_POLICY.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 400GB Dataset Target Policy
|
| 2 |
+
|
| 3 |
+
## Target
|
| 4 |
+
|
| 5 |
+
The final public dataset target is 400GB total, mirrored to both Hugging Face
|
| 6 |
+
and Google Drive, packaged as twenty balanced 20GB-class checkpoints.
|
| 7 |
+
|
| 8 |
+
```text
|
| 9 |
+
dataset/
|
| 10 |
+
checkpoint_YYYYMMDD_HHMMSS_bundleNN_20g/
|
| 11 |
+
dataset/
|
| 12 |
+
checkpoint_YYYYMMDD_HHMMSS_bundleNN_20g.jsonl
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
Each checkpoint folder must contain exactly one dataset JSONL file. Tokenizer,
|
| 16 |
+
Dense, MoE, generation notes, reports, and checksums live outside checkpoint
|
| 17 |
+
folders.
|
| 18 |
+
|
| 19 |
+
## Current Contract
|
| 20 |
+
|
| 21 |
+
- Global duplicate policy: exact `text` duplicate count must be zero across the
|
| 22 |
+
curated stream.
|
| 23 |
+
- Bundle duplicate policy: in-bundle duplicate count must be zero.
|
| 24 |
+
- Format: JSONL only.
|
| 25 |
+
- Required field: non-empty `text`.
|
| 26 |
+
- Preferred metadata: `domain`, `difficulty`, `meta.lang`, `meta.source`,
|
| 27 |
+
repository/file context when available.
|
| 28 |
+
|
| 29 |
+
## Quality Order
|
| 30 |
+
|
| 31 |
+
Use this order when deciding what enters the 400GB target:
|
| 32 |
+
|
| 33 |
+
1. Real public code FIM from The Stack v2 family already staged in
|
| 34 |
+
`data/v2_shards`.
|
| 35 |
+
2. Verified high-quality Grok/Codex synthetic FIM and code completion records.
|
| 36 |
+
3. Deduped synthetic `code_gen` records with useful executable or idiomatic code.
|
| 37 |
+
4. Small public benchmark/instruction datasets only as a limited evaluation or
|
| 38 |
+
style slice, not as bulk pretraining data.
|
| 39 |
+
|
| 40 |
+
Avoid adding public datasets only because they are large. Do not use gated or
|
| 41 |
+
license-ambiguous sources as bulk input unless their access terms are explicitly
|
| 42 |
+
accepted and recorded.
|
| 43 |
+
|
| 44 |
+
## Target Mix
|
| 45 |
+
|
| 46 |
+
For a code completion/FIM model, prefer this approximate mix over the full
|
| 47 |
+
400GB:
|
| 48 |
+
|
| 49 |
+
| Source class | Target share | Reason |
|
| 50 |
+
|---|---:|---|
|
| 51 |
+
| Real public code FIM | 60-70% | Teaches real repository structure, APIs, style, imports |
|
| 52 |
+
| Synthetic FIM | 20-30% | Teaches clean middle reconstruction and tab-completion shape |
|
| 53 |
+
| High-quality code generation | 10-15% | Teaches continuation, algorithms, tests, and explanations |
|
| 54 |
+
| Bench/instruction slices | <=5% | Keeps reasoning formats visible without polluting pretraining |
|
| 55 |
+
|
| 56 |
+
The mix should be enforced by streaming selection and dataloader weights, not
|
| 57 |
+
by duplicating files on disk.
|
| 58 |
+
|
| 59 |
+
## SSD-Safe Build Rule
|
| 60 |
+
|
| 61 |
+
Never materialize the whole 400GB dataset twice. The safe loop is:
|
| 62 |
+
|
| 63 |
+
1. Keep source pools in hidden staging folders.
|
| 64 |
+
2. Stream records through the disk-backed `seen.db`.
|
| 65 |
+
3. Fill `data/curated_upload` only until there is enough for one 20GB bundle.
|
| 66 |
+
4. Build one checkpoint by streaming selected parts into
|
| 67 |
+
`dataset/<checkpoint>/dataset/<checkpoint>.jsonl` and deleting each source
|
| 68 |
+
part after it is appended.
|
| 69 |
+
5. Upload that checkpoint to Hugging Face.
|
| 70 |
+
6. Copy or upload that checkpoint to Google Drive and wait for cloud sync.
|
| 71 |
+
7. Delete the local workspace checkpoint after HF is verified and Drive has a
|
| 72 |
+
local copy; delete any duplicate Drive local part files only after the single
|
| 73 |
+
JSONL is present and at least one verified remote copy exists.
|
| 74 |
+
|
| 75 |
+
## Google Drive Verification Rule
|
| 76 |
+
|
| 77 |
+
Google Drive Desktop local copy is not the same as cloud upload completion.
|
| 78 |
+
Cloud completion is confirmed only when DriveFS metadata no longer shows local
|
| 79 |
+
placeholder IDs for the JSONL files and the Drive app has no pending sync/error
|
| 80 |
+
state for the checkpoint.
|
| 81 |
+
|
| 82 |
+
Google Drive Desktop is not allowed to exceed the RSS safety budget. If the
|
| 83 |
+
Drive app grows above the upload-process safety threshold, stop it and use a
|
| 84 |
+
lower-RSS upload path such as a dedicated CLI/API uploader before claiming cloud
|
| 85 |
+
completion.
|
| 86 |
+
|
| 87 |
+
## Public HF Candidate Policy
|
| 88 |
+
|
| 89 |
+
Current HF Hub candidates observed for code data include:
|
| 90 |
+
|
| 91 |
+
- `bigcode/the-stack-v2`: high-priority real code, gated auto, license `other`.
|
| 92 |
+
- `bigcode/the-stack-v2-dedup`: high-priority dedup variant, gated auto.
|
| 93 |
+
- `bigcode/starcoderdata`: older high-volume code source, gated auto.
|
| 94 |
+
- `code-search-net/code_search_net`: smaller, useful for docstring/function
|
| 95 |
+
style and evaluation slices.
|
| 96 |
+
- `codeparrot/apps` and `deepmind/code_contests`: useful for algorithmic
|
| 97 |
+
problem-solving slices, not bulk repository pretraining.
|
| 98 |
+
|
| 99 |
+
Bulk additions from HF must pass license/access review, schema inspection,
|
| 100 |
+
secret filtering, exact dedup, and small-sample quality inspection before they
|
| 101 |
+
enter `data/curated_upload`.
|
dataset_guide/checkpoint_reports/checkpoint_20260611_112534_bundle01_20g/CHECKSUMS.txt
CHANGED
|
@@ -1,21 +1 @@
|
|
| 1 |
-
|
| 2 |
-
8b153abb586af2184c3ad7bd6ba748c46a71b48b0426de80e32961d56e93b3f3 dataset/w0-part-00017.jsonl
|
| 3 |
-
5bd24e06907dd2425050fe3c1926325f50fbcfa3f2280cad08f0f3943b5368ca dataset/w0-part-00018.jsonl
|
| 4 |
-
2355c8702fecd54c6e337c31b556f2b2f03f22a7401369eb03ad3b4c58998434 dataset/w0-part-00019.jsonl
|
| 5 |
-
f1a30afaafdd8bcce60aad2556d5215ff5b04ae3d84b0ed3b7232cfa94892236 dataset/w1-part-00001.jsonl
|
| 6 |
-
f55a1e4b19989cb20740d0d5678e91bffa617279599deacaa0362a551d8f1c48 dataset/w1-part-00002.jsonl
|
| 7 |
-
f50e4a116320bf23abf77afaa543d1a501393f59cf3f90ecb89df8f5797b5dd0 dataset/w1-part-00003.jsonl
|
| 8 |
-
c00be216f9983da012977a061f18afbda12924e1a307d95ac8fc44a7045dfaa6 dataset/w1-part-00004.jsonl
|
| 9 |
-
bfd400eb27aa912ae0adcd6f15c63aa5b321ba676eaf03b668474a9b1561ae61 dataset/w1-part-00005.jsonl
|
| 10 |
-
86b55cdfea16ea898c0e3330bf16e4b888c1a31610678a1b5604d0b0c22d722f dataset/w1-part-00006.jsonl
|
| 11 |
-
01c2a3bad3671aab9a3a488d67ce7fce04232dbab40e716084757a9450ffc3da dataset/w1-part-00007.jsonl
|
| 12 |
-
967c96e48b1790dc6d2b6cc70ce2022541e7aecf85476e17eda6faea46de9373 dataset/w2-part-00013.jsonl
|
| 13 |
-
54f3a083bcfbc234bae2cbbbb01239f4782e78e0e876e27bb28b5c6663597cde dataset/w2-part-00014.jsonl
|
| 14 |
-
09593a235c2dfea1413a0d061c7cacb82272155a8df184d5030df8387d8fdb8f dataset/w2-part-00015.jsonl
|
| 15 |
-
ef9f960d3ce3a8a98bd24b78793c1bd8f5e602852d71228ff39b104642198afd dataset/w2-part-00016.jsonl
|
| 16 |
-
0a041d53f4b04333702a3aac6e00682a6f1035536dda5ef0b81ddc3245b7c948 dataset/w2-part-00017.jsonl
|
| 17 |
-
4da0025dc9d24d8766dfe8fef4c9e0dd096893cd1e1c985bda0a2efc64dfec10 dataset/w2-part-00018.jsonl
|
| 18 |
-
d414b7f4e49e10cebf8f620eb58007fcb05c8bcdb83eee96d0036ee4f847605a dataset/w2-part-00019.jsonl
|
| 19 |
-
1f620844cadb811ff1064d2a325e8808f5ee98b2ddf53872acf1f1964034b34b dataset/w3-part-00013.jsonl
|
| 20 |
-
ec0e449c3f7d95b93169ade7620ed18dc0e65a8d4c0299954ff1938234b805e4 dataset/w3-part-00014.jsonl
|
| 21 |
-
d495ef4cf4fe9bcc2f62fd01593e9d4f00978d2ab26036088012637fd5afa34f dataset/w3-part-00015.jsonl
|
|
|
|
| 1 |
+
a0b2f654ee1ea558416af615998ca4699908dfc94bb747536d7483569918afbb dataset/checkpoint_20260611_112534_bundle01_20g.jsonl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dataset_guide/checkpoint_reports/checkpoint_20260611_112534_bundle01_20g/MANIFEST.json
CHANGED
|
@@ -79,176 +79,19 @@
|
|
| 79 |
},
|
| 80 |
"files": [
|
| 81 |
{
|
| 82 |
-
"file": "dataset/
|
| 83 |
-
"bytes":
|
| 84 |
-
"records":
|
| 85 |
"invalid": 0,
|
| 86 |
"duplicates": 0,
|
| 87 |
-
"sha256": "
|
| 88 |
-
},
|
| 89 |
-
{
|
| 90 |
-
"file": "dataset/w0-part-00017.jsonl",
|
| 91 |
-
"bytes": 1073741125,
|
| 92 |
-
"records": 216933,
|
| 93 |
-
"invalid": 0,
|
| 94 |
-
"duplicates": 0,
|
| 95 |
-
"sha256": "8b153abb586af2184c3ad7bd6ba748c46a71b48b0426de80e32961d56e93b3f3"
|
| 96 |
-
},
|
| 97 |
-
{
|
| 98 |
-
"file": "dataset/w0-part-00018.jsonl",
|
| 99 |
-
"bytes": 1073730168,
|
| 100 |
-
"records": 217487,
|
| 101 |
-
"invalid": 0,
|
| 102 |
-
"duplicates": 0,
|
| 103 |
-
"sha256": "5bd24e06907dd2425050fe3c1926325f50fbcfa3f2280cad08f0f3943b5368ca"
|
| 104 |
-
},
|
| 105 |
-
{
|
| 106 |
-
"file": "dataset/w0-part-00019.jsonl",
|
| 107 |
-
"bytes": 32219721,
|
| 108 |
-
"records": 6470,
|
| 109 |
-
"invalid": 0,
|
| 110 |
-
"duplicates": 0,
|
| 111 |
-
"sha256": "2355c8702fecd54c6e337c31b556f2b2f03f22a7401369eb03ad3b4c58998434"
|
| 112 |
-
},
|
| 113 |
-
{
|
| 114 |
-
"file": "dataset/w1-part-00001.jsonl",
|
| 115 |
-
"bytes": 1073741067,
|
| 116 |
-
"records": 743776,
|
| 117 |
-
"invalid": 0,
|
| 118 |
-
"duplicates": 0,
|
| 119 |
-
"sha256": "f1a30afaafdd8bcce60aad2556d5215ff5b04ae3d84b0ed3b7232cfa94892236"
|
| 120 |
-
},
|
| 121 |
-
{
|
| 122 |
-
"file": "dataset/w1-part-00002.jsonl",
|
| 123 |
-
"bytes": 1073740937,
|
| 124 |
-
"records": 743666,
|
| 125 |
-
"invalid": 0,
|
| 126 |
-
"duplicates": 0,
|
| 127 |
-
"sha256": "f55a1e4b19989cb20740d0d5678e91bffa617279599deacaa0362a551d8f1c48"
|
| 128 |
-
},
|
| 129 |
-
{
|
| 130 |
-
"file": "dataset/w1-part-00003.jsonl",
|
| 131 |
-
"bytes": 1073740362,
|
| 132 |
-
"records": 744004,
|
| 133 |
-
"invalid": 0,
|
| 134 |
-
"duplicates": 0,
|
| 135 |
-
"sha256": "f50e4a116320bf23abf77afaa543d1a501393f59cf3f90ecb89df8f5797b5dd0"
|
| 136 |
-
},
|
| 137 |
-
{
|
| 138 |
-
"file": "dataset/w1-part-00004.jsonl",
|
| 139 |
-
"bytes": 1073741247,
|
| 140 |
-
"records": 744161,
|
| 141 |
-
"invalid": 0,
|
| 142 |
-
"duplicates": 0,
|
| 143 |
-
"sha256": "c00be216f9983da012977a061f18afbda12924e1a307d95ac8fc44a7045dfaa6"
|
| 144 |
-
},
|
| 145 |
-
{
|
| 146 |
-
"file": "dataset/w1-part-00005.jsonl",
|
| 147 |
-
"bytes": 1073740625,
|
| 148 |
-
"records": 743971,
|
| 149 |
-
"invalid": 0,
|
| 150 |
-
"duplicates": 0,
|
| 151 |
-
"sha256": "bfd400eb27aa912ae0adcd6f15c63aa5b321ba676eaf03b668474a9b1561ae61"
|
| 152 |
-
},
|
| 153 |
-
{
|
| 154 |
-
"file": "dataset/w1-part-00006.jsonl",
|
| 155 |
-
"bytes": 1073740718,
|
| 156 |
-
"records": 744019,
|
| 157 |
-
"invalid": 0,
|
| 158 |
-
"duplicates": 0,
|
| 159 |
-
"sha256": "86b55cdfea16ea898c0e3330bf16e4b888c1a31610678a1b5604d0b0c22d722f"
|
| 160 |
-
},
|
| 161 |
-
{
|
| 162 |
-
"file": "dataset/w1-part-00007.jsonl",
|
| 163 |
-
"bytes": 1073741569,
|
| 164 |
-
"records": 744210,
|
| 165 |
-
"invalid": 0,
|
| 166 |
-
"duplicates": 0,
|
| 167 |
-
"sha256": "01c2a3bad3671aab9a3a488d67ce7fce04232dbab40e716084757a9450ffc3da"
|
| 168 |
-
},
|
| 169 |
-
{
|
| 170 |
-
"file": "dataset/w2-part-00013.jsonl",
|
| 171 |
-
"bytes": 1073738583,
|
| 172 |
-
"records": 332005,
|
| 173 |
-
"invalid": 0,
|
| 174 |
-
"duplicates": 0,
|
| 175 |
-
"sha256": "967c96e48b1790dc6d2b6cc70ce2022541e7aecf85476e17eda6faea46de9373"
|
| 176 |
-
},
|
| 177 |
-
{
|
| 178 |
-
"file": "dataset/w2-part-00014.jsonl",
|
| 179 |
-
"bytes": 1073740978,
|
| 180 |
-
"records": 332248,
|
| 181 |
-
"invalid": 0,
|
| 182 |
-
"duplicates": 0,
|
| 183 |
-
"sha256": "54f3a083bcfbc234bae2cbbbb01239f4782e78e0e876e27bb28b5c6663597cde"
|
| 184 |
-
},
|
| 185 |
-
{
|
| 186 |
-
"file": "dataset/w2-part-00015.jsonl",
|
| 187 |
-
"bytes": 1073736007,
|
| 188 |
-
"records": 332733,
|
| 189 |
-
"invalid": 0,
|
| 190 |
-
"duplicates": 0,
|
| 191 |
-
"sha256": "09593a235c2dfea1413a0d061c7cacb82272155a8df184d5030df8387d8fdb8f"
|
| 192 |
-
},
|
| 193 |
-
{
|
| 194 |
-
"file": "dataset/w2-part-00016.jsonl",
|
| 195 |
-
"bytes": 1073737752,
|
| 196 |
-
"records": 331548,
|
| 197 |
-
"invalid": 0,
|
| 198 |
-
"duplicates": 0,
|
| 199 |
-
"sha256": "ef9f960d3ce3a8a98bd24b78793c1bd8f5e602852d71228ff39b104642198afd"
|
| 200 |
-
},
|
| 201 |
-
{
|
| 202 |
-
"file": "dataset/w2-part-00017.jsonl",
|
| 203 |
-
"bytes": 1073741182,
|
| 204 |
-
"records": 335022,
|
| 205 |
-
"invalid": 0,
|
| 206 |
-
"duplicates": 0,
|
| 207 |
-
"sha256": "0a041d53f4b04333702a3aac6e00682a6f1035536dda5ef0b81ddc3245b7c948"
|
| 208 |
-
},
|
| 209 |
-
{
|
| 210 |
-
"file": "dataset/w2-part-00018.jsonl",
|
| 211 |
-
"bytes": 1073738398,
|
| 212 |
-
"records": 340780,
|
| 213 |
-
"invalid": 0,
|
| 214 |
-
"duplicates": 0,
|
| 215 |
-
"sha256": "4da0025dc9d24d8766dfe8fef4c9e0dd096893cd1e1c985bda0a2efc64dfec10"
|
| 216 |
-
},
|
| 217 |
-
{
|
| 218 |
-
"file": "dataset/w2-part-00019.jsonl",
|
| 219 |
-
"bytes": 1073740559,
|
| 220 |
-
"records": 343350,
|
| 221 |
-
"invalid": 0,
|
| 222 |
-
"duplicates": 0,
|
| 223 |
-
"sha256": "d414b7f4e49e10cebf8f620eb58007fcb05c8bcdb83eee96d0036ee4f847605a"
|
| 224 |
-
},
|
| 225 |
-
{
|
| 226 |
-
"file": "dataset/w3-part-00013.jsonl",
|
| 227 |
-
"bytes": 1073741710,
|
| 228 |
-
"records": 286029,
|
| 229 |
-
"invalid": 0,
|
| 230 |
-
"duplicates": 0,
|
| 231 |
-
"sha256": "1f620844cadb811ff1064d2a325e8808f5ee98b2ddf53872acf1f1964034b34b"
|
| 232 |
-
},
|
| 233 |
-
{
|
| 234 |
-
"file": "dataset/w3-part-00014.jsonl",
|
| 235 |
-
"bytes": 1073741221,
|
| 236 |
-
"records": 285911,
|
| 237 |
-
"invalid": 0,
|
| 238 |
-
"duplicates": 0,
|
| 239 |
-
"sha256": "ec0e449c3f7d95b93169ade7620ed18dc0e65a8d4c0299954ff1938234b805e4"
|
| 240 |
-
},
|
| 241 |
-
{
|
| 242 |
-
"file": "dataset/w3-part-00015.jsonl",
|
| 243 |
-
"bytes": 90341025,
|
| 244 |
-
"records": 24283,
|
| 245 |
-
"invalid": 0,
|
| 246 |
-
"duplicates": 0,
|
| 247 |
-
"sha256": "d495ef4cf4fe9bcc2f62fd01593e9d4f00978d2ab26036088012637fd5afa34f"
|
| 248 |
}
|
| 249 |
]
|
| 250 |
},
|
| 251 |
"folders": {
|
| 252 |
-
"dataset": "JSONL training
|
| 253 |
-
}
|
|
|
|
|
|
|
|
|
|
| 254 |
}
|
|
|
|
| 79 |
},
|
| 80 |
"files": [
|
| 81 |
{
|
| 82 |
+
"file": "dataset/checkpoint_20260611_112534_bundle01_20g.jsonl",
|
| 83 |
+
"bytes": 20523612203,
|
| 84 |
+
"records": 8809220,
|
| 85 |
"invalid": 0,
|
| 86 |
"duplicates": 0,
|
| 87 |
+
"sha256": "a0b2f654ee1ea558416af615998ca4699908dfc94bb747536d7483569918afbb"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
}
|
| 89 |
]
|
| 90 |
},
|
| 91 |
"folders": {
|
| 92 |
+
"dataset": "Exactly one JSONL training file for this checkpoint. Shared docs live in top-level dataset_guide, tokenizer, dense, and moe folders."
|
| 93 |
+
},
|
| 94 |
+
"repacked_at": "2026-06-11 13:03:20 +0900",
|
| 95 |
+
"repacked_from_legacy_parts": true,
|
| 96 |
+
"single_jsonl_sha256": "a0b2f654ee1ea558416af615998ca4699908dfc94bb747536d7483569918afbb"
|
| 97 |
}
|
dataset_guide/checkpoint_reports/checkpoint_20260611_112534_bundle01_20g/UPLOAD_READY.md
CHANGED
|
@@ -1,13 +1,17 @@
|
|
| 1 |
# Upload Ready
|
| 2 |
|
| 3 |
-
This checkpoint is ready for Google Drive
|
| 4 |
|
| 5 |
-
-
|
| 6 |
- Size: 19.11 GiB
|
| 7 |
-
- Format: JSONL
|
|
|
|
|
|
|
|
|
|
| 8 |
- Validation: PASS
|
| 9 |
- Invalid JSONL records: 0
|
| 10 |
- Empty text records: 0
|
| 11 |
- In-bundle duplicate records: 0
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
| 1 |
# Upload Ready
|
| 2 |
|
| 3 |
+
This checkpoint is ready for Hugging Face use as a single JSONL file. Google Drive has a local single-file copy; cloud sync must be verified separately because Google Drive Desktop exceeded the safety RSS threshold during sync.
|
| 4 |
|
| 5 |
+
- Checkpoint: `checkpoint_20260611_112534_bundle01_20g`
|
| 6 |
- Size: 19.11 GiB
|
| 7 |
+
- Format: one JSONL file
|
| 8 |
+
- File: `dataset/checkpoint_20260611_112534_bundle01_20g.jsonl`
|
| 9 |
+
- SHA256: `a0b2f654ee1ea558416af615998ca4699908dfc94bb747536d7483569918afbb`
|
| 10 |
+
- Records: 8,809,220
|
| 11 |
- Validation: PASS
|
| 12 |
- Invalid JSONL records: 0
|
| 13 |
- Empty text records: 0
|
| 14 |
- In-bundle duplicate records: 0
|
| 15 |
|
| 16 |
+
HF verification: uploaded single JSONL and removed legacy `w*-part-*.jsonl` files.
|
| 17 |
+
SSD note: local workspace checkpoint is absent; the remaining local copy is under Google Drive Desktop storage.
|