Datasets:
File size: 2,110 Bytes
6eb5c20 7de4d63 6eb5c20 fb0f153 6eb5c20 fb0f153 6eb5c20 5eb8e0b 4382ed7 fb0f153 5eb8e0b 7de4d63 fb0f153 6eb5c20 5eb8e0b 6eb5c20 fb0f153 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | # Dataset Guide
This folder documents how the 20 GiB JSONL checkpoints are generated, validated,
uploaded, and consumed for training. The current long-term target is 400GB total
mirrored to Hugging Face and Google Drive.
## Design Goal
The dataset is optimized for code completion, FIM training, and architecture
ablation between Dense and MoE models. Each checkpoint is a self-contained unit
that can be uploaded to Google Drive, Hugging Face, or mounted in Colab.
## Generation Method
Generation must be streaming and out-of-core:
- Never load a whole corpus or checkpoint into RAM.
- Write staging JSONL parts incrementally.
- Merge selected staging parts into one checkpoint JSONL by streaming bytes, then
delete each staging part.
- Use a disk-backed dedup index.
- Keep source files immutable.
- Stop generation when disk free space approaches the safety floor.
## Checkpoint Unit
Each checkpoint targets about 20 GiB because that size is practical for Google
Drive uploads and Colab/H100 training runs. The preferred checkpoint shape is
one complete JSONL file per checkpoint.
Checkpoint folders are intentionally dataset-only:
```text
dataset/
checkpoint_YYYYMMDD_HHMMSS_bundleNN_20g/
dataset/
checkpoint_YYYYMMDD_HHMMSS_bundleNN_20g.jsonl
```
Reports and checksums live outside checkpoint folders at
`dataset_guide/checkpoint_reports/<checkpoint>/`.
Older legacy checkpoints may contain multiple 1 GiB JSONL parts until they are
repacked. New checkpoints should use the single-file layout above.
## Required Validation
Before a checkpoint is considered upload-ready:
- Every line must parse as JSON.
- Every record must contain non-empty `text`.
- In-bundle duplicate count must be zero.
- Checksums must be regenerated after any file rewrite.
- `UPLOAD_READY.md` in `checkpoint_reports/<checkpoint>/` must say the
checkpoint is ready.
## Training Loader Expectations
Training loaders should read the checkpoint JSONL line by line. They should
append EOS between records, preserve FIM tokens, and avoid multi-worker
duplication by sharding line ranges across workers.
|