add README describing domain-code tokenized corpus
Browse files
README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
- code
|
| 8 |
+
pretty_name: DragonCode Tokenized Pretrain (Domain-Code)
|
| 9 |
+
size_categories:
|
| 10 |
+
- 10B<n<100B
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# DragonCode Tokenized Pretrain — Domain-Code Corpus
|
| 14 |
+
|
| 15 |
+
Pre-tokenized training corpus for the DragonCode LLM family. This is the
|
| 16 |
+
**domain-code-only** dataset (not general web text).
|
| 17 |
+
|
| 18 |
+
## Format
|
| 19 |
+
|
| 20 |
+
- 26 shards: `data/train-00000-of-00026.bin` .. `train-00025-of-00026.bin`
|
| 21 |
+
- Flat `int32` little-endian token-id stream (no headers, no row structure).
|
| 22 |
+
Concatenate shards in order to reconstruct the full sequence.
|
| 23 |
+
- **3,417,141,141 tokens** total (~3.42B), ~13.67 GB on disk.
|
| 24 |
+
- Sequence length: 4096 (`MAX_SEQ_LEN`) during training.
|
| 25 |
+
|
| 26 |
+
## Sources (streaming, permissive only)
|
| 27 |
+
|
| 28 |
+
| Source | Field | License filter |
|
| 29 |
+
|---|---|---|
|
| 30 |
+
| `codeparrot/codeparrot-clean` | `content` | permissive only (MIT/ISC/Apache-2.0/BSD/CC0/Unlicense/etc.) |
|
| 31 |
+
| `open-r1/codeforces-cots` | `prompt` / `generation` | permissive only |
|
| 32 |
+
|
| 33 |
+
Non-permissive-licensed and empty samples are dropped. General web corpora
|
| 34 |
+
(FineWeb-Edu / SlimPajama / The-Pile) are intentionally excluded per project spec.
|
| 35 |
+
|
| 36 |
+
## Tokenizer
|
| 37 |
+
|
| 38 |
+
Uses the DragonCode tokenizer (see `DragonLimited/DragonCode-150M`). Encode with
|
| 39 |
+
`add_special_tokens=False`.
|
| 40 |
+
|
| 41 |
+
## Note
|
| 42 |
+
|
| 43 |
+
The previous 5-shard legacy corpus (FineWeb-Edu-based) was fully replaced by this
|
| 44 |
+
domain-code corpus on 2026-08-25.
|