Datasets:
Add checkpoint 20260611 bundle01
Browse files- .gitattributes +20 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/BALANCE_REPORT.md +46 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/CHECKSUMS.txt +20 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/MANIFEST.json +245 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/PREPROCESSING_GUIDE.md +28 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/UPLOAD_READY.md +11 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00004.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00005.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00006.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00007.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00008.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00009.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00001.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00002.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00003.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00004.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00001.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00002.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00003.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00004.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00005.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00001.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00002.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00003.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00004.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00005.jsonl +3 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dense_architecture/BASELINE_COMPARISON.md +17 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dense_architecture/DENSE_ARCHITECTURE.md +22 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/dense_architecture/TRAINING_PLAN.md +17 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/moe_architecture/MOE_ARCHITECTURE.md +34 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/moe_architecture/ROUTING_AND_LOAD_BALANCE.md +25 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/moe_architecture/TRAINING_PLAN.md +26 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/tokenizer/PREPROCESSING_FOR_TOKENIZER.md +26 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/tokenizer/TOKENIZER_DESIGN.md +31 -0
- checkpoints/checkpoint_20260611_104104_bundle01_20g/tokenizer/TOKENIZER_USAGE.md +33 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,23 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00004.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00005.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00006.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00007.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00008.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00009.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00001.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00002.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00003.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00004.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00001.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00002.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00003.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00004.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00005.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00001.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00002.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00003.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00004.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00005.jsonl filter=lfs diff=lfs merge=lfs -text
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/BALANCE_REPORT.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Balance Report
|
| 2 |
+
|
| 3 |
+
- Bundle: `checkpoint_20260611_104104_bundle01_20g.inprogress`
|
| 4 |
+
- Size: 19.04 GiB
|
| 5 |
+
- Records: 7,694,113
|
| 6 |
+
- Invalid JSONL records: 0
|
| 7 |
+
- Empty text records: 0
|
| 8 |
+
- Duplicate records inside bundle: 0
|
| 9 |
+
- Duplicate rate: 0.000000%
|
| 10 |
+
|
| 11 |
+
## domain
|
| 12 |
+
|
| 13 |
+
- `code_fim`: 3,944,120 (51.26%)
|
| 14 |
+
- `code_gen`: 3,749,993 (48.74%)
|
| 15 |
+
|
| 16 |
+
## lang
|
| 17 |
+
|
| 18 |
+
- `python`: 4,141,734 (53.83%)
|
| 19 |
+
- `rust`: 2,057,207 (26.74%)
|
| 20 |
+
- `cpp`: 812,559 (10.56%)
|
| 21 |
+
- `javascript`: 681,959 (8.86%)
|
| 22 |
+
- `java`: 654 (0.01%)
|
| 23 |
+
|
| 24 |
+
## difficulty
|
| 25 |
+
|
| 26 |
+
- `hard`: 4,361,082 (56.68%)
|
| 27 |
+
- `medium`: 2,487,611 (32.33%)
|
| 28 |
+
- `easy`: 845,420 (10.99%)
|
| 29 |
+
|
| 30 |
+
## source
|
| 31 |
+
|
| 32 |
+
- `the-stack-v2`: 3,944,120 (51.26%)
|
| 33 |
+
- `unknown`: 3,749,993 (48.74%)
|
| 34 |
+
|
| 35 |
+
## mode
|
| 36 |
+
|
| 37 |
+
- `unknown`: 3,749,993 (48.74%)
|
| 38 |
+
- `spm`: 2,248,304 (29.22%)
|
| 39 |
+
- `psm`: 1,695,816 (22.04%)
|
| 40 |
+
|
| 41 |
+
## worker
|
| 42 |
+
|
| 43 |
+
- `w1`: 3,749,993 (48.74%)
|
| 44 |
+
- `w3`: 1,493,096 (19.41%)
|
| 45 |
+
- `w0`: 1,350,141 (17.55%)
|
| 46 |
+
- `w2`: 1,100,883 (14.31%)
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/CHECKSUMS.txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
9bbe1c11f9ef2e35c22537dc59c779f17179aa025c2d2f5ec3a9f485dc5aeab6 dataset/w0-part-00004.jsonl
|
| 2 |
+
587410b90de09f24d418f3c36f6ee042522651762d9f9ad04af16acd2cdfde45 dataset/w0-part-00005.jsonl
|
| 3 |
+
92f8982e1d21f1147eec3f3c7329a455971edc622e8de73a83c85b8c1532383e dataset/w0-part-00006.jsonl
|
| 4 |
+
c764918e1d92f8495ea7090ac016093e93d56ebc6f55db72a501d7e406bef013 dataset/w0-part-00007.jsonl
|
| 5 |
+
7692c096e41d936d8524f26e6397ee95e02ed0c5884dfeebaaaa0d5539c06ed0 dataset/w0-part-00008.jsonl
|
| 6 |
+
78124ec4d9444def73a0b7359b6e86229d1ce890d62694835aee45ff374ef61f dataset/w0-part-00009.jsonl
|
| 7 |
+
a0e0d109e3f2fd66a19cdaae4228ff1b1342ec3bb5cef01014acaaa52cec9bc9 dataset/w1-part-00001.jsonl
|
| 8 |
+
af49ee5e72c5d5bbdf9e8a4f02e553f28c9f8c77189694a3c504e79b3c10255f dataset/w1-part-00002.jsonl
|
| 9 |
+
408aa5e1ff8f0a753b09054f3a9e6f43dcb84eb7c792e5db5f331d9b4eac24ed dataset/w1-part-00003.jsonl
|
| 10 |
+
4abe0208193d7f1952ed0b14b058e54971030ffbcd89a6256f533e25664352b9 dataset/w1-part-00004.jsonl
|
| 11 |
+
721d44f30977bb9276b05aaef976f885dc1333035b0fab9b52feaedccdecf995 dataset/w2-part-00001.jsonl
|
| 12 |
+
f3bcba4ec0afd7007aec8d9c3ef9bfde5b600185154607d7f9e523269ebe6768 dataset/w2-part-00002.jsonl
|
| 13 |
+
dae4bb32b4346d4ad1edba7eb271f77fe3439d2b0f4d722f43306e0cfd896907 dataset/w2-part-00003.jsonl
|
| 14 |
+
d8d71ce2e1e0bdcee6e4ae3c9931423d71b433c511e9411609107c7f634536e9 dataset/w2-part-00004.jsonl
|
| 15 |
+
9d96466b9902a02531992a158ee43a4195ca4431dca00cbfc88515fc69a86d6b dataset/w2-part-00005.jsonl
|
| 16 |
+
084ac31f7f579b0afa618981f99599946c84007e919fe3d1f31569e6ea6c181c dataset/w3-part-00001.jsonl
|
| 17 |
+
57f0aa17589befa6e9b7716f9efa15257d4befd2378e1452bf088fd3350d92ac dataset/w3-part-00002.jsonl
|
| 18 |
+
6e46e5023b3ee1d0e4f0933efbc78167863d49879f0f2a96d5cffb6d3df09617 dataset/w3-part-00003.jsonl
|
| 19 |
+
fad135d5554065adc700938dbf85b033258cf97526404771e2ed14c3b77d861f dataset/w3-part-00004.jsonl
|
| 20 |
+
153f43bf84b32f17cf49225c0339a3df3b36af84894ce962c47f88afebfc6353 dataset/w3-part-00005.jsonl
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/MANIFEST.json
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"created_at": "2026-06-11 10:44:35 +0900",
|
| 4 |
+
"bundle": "checkpoint_20260611_104104_bundle01_20g.inprogress",
|
| 5 |
+
"dataset_format": "jsonl",
|
| 6 |
+
"target_bytes": 21474836480,
|
| 7 |
+
"actual_bytes": 20445184564,
|
| 8 |
+
"actual_gib": 19.041,
|
| 9 |
+
"source_files_moved_from": [
|
| 10 |
+
"data/curated_upload/w0-part-00004.jsonl",
|
| 11 |
+
"data/curated_upload/w2-part-00001.jsonl",
|
| 12 |
+
"data/curated_upload/w3-part-00001.jsonl",
|
| 13 |
+
"data/curated_upload/w1-part-00001.jsonl",
|
| 14 |
+
"data/curated_upload/w0-part-00005.jsonl",
|
| 15 |
+
"data/curated_upload/w2-part-00002.jsonl",
|
| 16 |
+
"data/curated_upload/w3-part-00002.jsonl",
|
| 17 |
+
"data/curated_upload/w1-part-00002.jsonl",
|
| 18 |
+
"data/curated_upload/w0-part-00006.jsonl",
|
| 19 |
+
"data/curated_upload/w2-part-00003.jsonl",
|
| 20 |
+
"data/curated_upload/w3-part-00003.jsonl",
|
| 21 |
+
"data/curated_upload/w1-part-00003.jsonl",
|
| 22 |
+
"data/curated_upload/w0-part-00007.jsonl",
|
| 23 |
+
"data/curated_upload/w2-part-00004.jsonl",
|
| 24 |
+
"data/curated_upload/w3-part-00004.jsonl",
|
| 25 |
+
"data/curated_upload/w1-part-00004.jsonl",
|
| 26 |
+
"data/curated_upload/w0-part-00008.jsonl",
|
| 27 |
+
"data/curated_upload/w2-part-00005.jsonl",
|
| 28 |
+
"data/curated_upload/w3-part-00005.jsonl",
|
| 29 |
+
"data/curated_upload/w0-part-00009.jsonl"
|
| 30 |
+
],
|
| 31 |
+
"validation": {
|
| 32 |
+
"jsonl_valid": true,
|
| 33 |
+
"duplicate_records": 0,
|
| 34 |
+
"duplicate_rate": 0.0,
|
| 35 |
+
"empty_text_records": 0
|
| 36 |
+
},
|
| 37 |
+
"stats": {
|
| 38 |
+
"total_records": 7694113,
|
| 39 |
+
"invalid_records": 0,
|
| 40 |
+
"empty_text_records": 0,
|
| 41 |
+
"duplicate_records": 0,
|
| 42 |
+
"duplicate_rate": 0.0,
|
| 43 |
+
"counters": {
|
| 44 |
+
"domain": {
|
| 45 |
+
"code_fim": 3944120,
|
| 46 |
+
"code_gen": 3749993
|
| 47 |
+
},
|
| 48 |
+
"lang": {
|
| 49 |
+
"python": 4141734,
|
| 50 |
+
"rust": 2057207,
|
| 51 |
+
"cpp": 812559,
|
| 52 |
+
"javascript": 681959,
|
| 53 |
+
"java": 654
|
| 54 |
+
},
|
| 55 |
+
"difficulty": {
|
| 56 |
+
"hard": 4361082,
|
| 57 |
+
"medium": 2487611,
|
| 58 |
+
"easy": 845420
|
| 59 |
+
},
|
| 60 |
+
"source": {
|
| 61 |
+
"the-stack-v2": 3944120,
|
| 62 |
+
"unknown": 3749993
|
| 63 |
+
},
|
| 64 |
+
"mode": {
|
| 65 |
+
"unknown": 3749993,
|
| 66 |
+
"spm": 2248304,
|
| 67 |
+
"psm": 1695816
|
| 68 |
+
},
|
| 69 |
+
"worker": {
|
| 70 |
+
"w1": 3749993,
|
| 71 |
+
"w3": 1493096,
|
| 72 |
+
"w0": 1350141,
|
| 73 |
+
"w2": 1100883
|
| 74 |
+
}
|
| 75 |
+
},
|
| 76 |
+
"files": [
|
| 77 |
+
{
|
| 78 |
+
"file": "dataset/w0-part-00004.jsonl",
|
| 79 |
+
"bytes": 1073736911,
|
| 80 |
+
"records": 264026,
|
| 81 |
+
"invalid": 0,
|
| 82 |
+
"duplicates": 0,
|
| 83 |
+
"sha256": "9bbe1c11f9ef2e35c22537dc59c779f17179aa025c2d2f5ec3a9f485dc5aeab6"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"file": "dataset/w0-part-00005.jsonl",
|
| 87 |
+
"bytes": 1073741568,
|
| 88 |
+
"records": 216822,
|
| 89 |
+
"invalid": 0,
|
| 90 |
+
"duplicates": 0,
|
| 91 |
+
"sha256": "587410b90de09f24d418f3c36f6ee042522651762d9f9ad04af16acd2cdfde45"
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"file": "dataset/w0-part-00006.jsonl",
|
| 95 |
+
"bytes": 1073731400,
|
| 96 |
+
"records": 217833,
|
| 97 |
+
"invalid": 0,
|
| 98 |
+
"duplicates": 0,
|
| 99 |
+
"sha256": "92f8982e1d21f1147eec3f3c7329a455971edc622e8de73a83c85b8c1532383e"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"file": "dataset/w0-part-00007.jsonl",
|
| 103 |
+
"bytes": 1073741289,
|
| 104 |
+
"records": 217048,
|
| 105 |
+
"invalid": 0,
|
| 106 |
+
"duplicates": 0,
|
| 107 |
+
"sha256": "c764918e1d92f8495ea7090ac016093e93d56ebc6f55db72a501d7e406bef013"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"file": "dataset/w0-part-00008.jsonl",
|
| 111 |
+
"bytes": 1073732619,
|
| 112 |
+
"records": 216481,
|
| 113 |
+
"invalid": 0,
|
| 114 |
+
"duplicates": 0,
|
| 115 |
+
"sha256": "7692c096e41d936d8524f26e6397ee95e02ed0c5884dfeebaaaa0d5539c06ed0"
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"file": "dataset/w0-part-00009.jsonl",
|
| 119 |
+
"bytes": 1073739006,
|
| 120 |
+
"records": 217931,
|
| 121 |
+
"invalid": 0,
|
| 122 |
+
"duplicates": 0,
|
| 123 |
+
"sha256": "78124ec4d9444def73a0b7359b6e86229d1ce890d62694835aee45ff374ef61f"
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"file": "dataset/w1-part-00001.jsonl",
|
| 127 |
+
"bytes": 1073741189,
|
| 128 |
+
"records": 1377424,
|
| 129 |
+
"invalid": 0,
|
| 130 |
+
"duplicates": 0,
|
| 131 |
+
"sha256": "a0e0d109e3f2fd66a19cdaae4228ff1b1342ec3bb5cef01014acaaa52cec9bc9"
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"file": "dataset/w1-part-00002.jsonl",
|
| 135 |
+
"bytes": 1073741331,
|
| 136 |
+
"records": 1162646,
|
| 137 |
+
"invalid": 0,
|
| 138 |
+
"duplicates": 0,
|
| 139 |
+
"sha256": "af49ee5e72c5d5bbdf9e8a4f02e553f28c9f8c77189694a3c504e79b3c10255f"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"file": "dataset/w1-part-00003.jsonl",
|
| 143 |
+
"bytes": 1073741289,
|
| 144 |
+
"records": 1162160,
|
| 145 |
+
"invalid": 0,
|
| 146 |
+
"duplicates": 0,
|
| 147 |
+
"sha256": "408aa5e1ff8f0a753b09054f3a9e6f43dcb84eb7c792e5db5f331d9b4eac24ed"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"file": "dataset/w1-part-00004.jsonl",
|
| 151 |
+
"bytes": 44160580,
|
| 152 |
+
"records": 47763,
|
| 153 |
+
"invalid": 0,
|
| 154 |
+
"duplicates": 0,
|
| 155 |
+
"sha256": "4abe0208193d7f1952ed0b14b058e54971030ffbcd89a6256f533e25664352b9"
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"file": "dataset/w2-part-00001.jsonl",
|
| 159 |
+
"bytes": 1073731709,
|
| 160 |
+
"records": 280999,
|
| 161 |
+
"invalid": 0,
|
| 162 |
+
"duplicates": 0,
|
| 163 |
+
"sha256": "721d44f30977bb9276b05aaef976f885dc1333035b0fab9b52feaedccdecf995"
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"file": "dataset/w2-part-00002.jsonl",
|
| 167 |
+
"bytes": 1073740723,
|
| 168 |
+
"records": 204107,
|
| 169 |
+
"invalid": 0,
|
| 170 |
+
"duplicates": 0,
|
| 171 |
+
"sha256": "f3bcba4ec0afd7007aec8d9c3ef9bfde5b600185154607d7f9e523269ebe6768"
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"file": "dataset/w2-part-00003.jsonl",
|
| 175 |
+
"bytes": 1073730056,
|
| 176 |
+
"records": 204693,
|
| 177 |
+
"invalid": 0,
|
| 178 |
+
"duplicates": 0,
|
| 179 |
+
"sha256": "dae4bb32b4346d4ad1edba7eb271f77fe3439d2b0f4d722f43306e0cfd896907"
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"file": "dataset/w2-part-00004.jsonl",
|
| 183 |
+
"bytes": 1073730717,
|
| 184 |
+
"records": 206008,
|
| 185 |
+
"invalid": 0,
|
| 186 |
+
"duplicates": 0,
|
| 187 |
+
"sha256": "d8d71ce2e1e0bdcee6e4ae3c9931423d71b433c511e9411609107c7f634536e9"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"file": "dataset/w2-part-00005.jsonl",
|
| 191 |
+
"bytes": 1073738733,
|
| 192 |
+
"records": 205076,
|
| 193 |
+
"invalid": 0,
|
| 194 |
+
"duplicates": 0,
|
| 195 |
+
"sha256": "9d96466b9902a02531992a158ee43a4195ca4431dca00cbfc88515fc69a86d6b"
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"file": "dataset/w3-part-00001.jsonl",
|
| 199 |
+
"bytes": 1073739829,
|
| 200 |
+
"records": 311997,
|
| 201 |
+
"invalid": 0,
|
| 202 |
+
"duplicates": 0,
|
| 203 |
+
"sha256": "084ac31f7f579b0afa618981f99599946c84007e919fe3d1f31569e6ea6c181c"
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"file": "dataset/w3-part-00002.jsonl",
|
| 207 |
+
"bytes": 1073741437,
|
| 208 |
+
"records": 316786,
|
| 209 |
+
"invalid": 0,
|
| 210 |
+
"duplicates": 0,
|
| 211 |
+
"sha256": "57f0aa17589befa6e9b7716f9efa15257d4befd2378e1452bf088fd3350d92ac"
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"file": "dataset/w3-part-00003.jsonl",
|
| 215 |
+
"bytes": 1073741490,
|
| 216 |
+
"records": 291333,
|
| 217 |
+
"invalid": 0,
|
| 218 |
+
"duplicates": 0,
|
| 219 |
+
"sha256": "6e46e5023b3ee1d0e4f0933efbc78167863d49879f0f2a96d5cffb6d3df09617"
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"file": "dataset/w3-part-00004.jsonl",
|
| 223 |
+
"bytes": 1073741815,
|
| 224 |
+
"records": 285665,
|
| 225 |
+
"invalid": 0,
|
| 226 |
+
"duplicates": 0,
|
| 227 |
+
"sha256": "fad135d5554065adc700938dbf85b033258cf97526404771e2ed14c3b77d861f"
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"file": "dataset/w3-part-00005.jsonl",
|
| 231 |
+
"bytes": 1073740873,
|
| 232 |
+
"records": 287315,
|
| 233 |
+
"invalid": 0,
|
| 234 |
+
"duplicates": 0,
|
| 235 |
+
"sha256": "153f43bf84b32f17cf49225c0339a3df3b36af84894ce962c47f88afebfc6353"
|
| 236 |
+
}
|
| 237 |
+
]
|
| 238 |
+
},
|
| 239 |
+
"folders": {
|
| 240 |
+
"dataset": "JSONL training shards",
|
| 241 |
+
"tokenizer": "Tokenizer design and usage docs",
|
| 242 |
+
"moe_architecture": "MoE model design docs",
|
| 243 |
+
"dense_architecture": "Dense model design docs"
|
| 244 |
+
}
|
| 245 |
+
}
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/PREPROCESSING_GUIDE.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Preprocessing Guide
|
| 2 |
+
|
| 3 |
+
## Required JSONL Contract
|
| 4 |
+
|
| 5 |
+
Each line is one JSON object. The training string is `text`. Metadata should include at least domain, difficulty, language, source, repository/path when available, and FIM mode.
|
| 6 |
+
|
| 7 |
+
## FIM Format
|
| 8 |
+
|
| 9 |
+
Preferred format:
|
| 10 |
+
|
| 11 |
+
```text
|
| 12 |
+
<|fim_prefix|>{prefix}<|fim_suffix|>{suffix}<|fim_middle|>{middle}
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
Append `<|endoftext|>` in the training loader if the record does not already include it.
|
| 16 |
+
|
| 17 |
+
## Quality Filters
|
| 18 |
+
|
| 19 |
+
- Remove empty or malformed JSON.
|
| 20 |
+
- Remove null bytes.
|
| 21 |
+
- Remove obvious secrets and private keys.
|
| 22 |
+
- Keep license/source metadata.
|
| 23 |
+
- Keep line endings stable.
|
| 24 |
+
- Do not dedup on metadata; dedup on normalized `text`.
|
| 25 |
+
|
| 26 |
+
## Dedup
|
| 27 |
+
|
| 28 |
+
Use out-of-core SQLite or DuckDB. Do not hold all hashes in RAM. Hash normalized text with blake2b-16 or stronger. Commit in bounded batches.
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/UPLOAD_READY.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Upload Ready
|
| 2 |
+
|
| 3 |
+
This checkpoint is ready for Google Drive upload.
|
| 4 |
+
|
| 5 |
+
- Path: `/Users/kimtaekyu/Documents/클로드작업폴더/데이터셋/checkpoints/upload_ready/checkpoint_20260611_104104_bundle01_20g.inprogress`
|
| 6 |
+
- Size: 19.04 GiB
|
| 7 |
+
- Format: JSONL
|
| 8 |
+
- Validation: PASS
|
| 9 |
+
- In-bundle duplicate records: 0
|
| 10 |
+
|
| 11 |
+
After Google Drive upload is confirmed, this whole directory can be deleted locally to reclaim SSD space. The JSONL files were moved from `data/curated_upload`, not copied, so this bundle is the local owner of those data blocks.
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00004.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9bbe1c11f9ef2e35c22537dc59c779f17179aa025c2d2f5ec3a9f485dc5aeab6
|
| 3 |
+
size 1073736911
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00005.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:587410b90de09f24d418f3c36f6ee042522651762d9f9ad04af16acd2cdfde45
|
| 3 |
+
size 1073741568
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00006.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92f8982e1d21f1147eec3f3c7329a455971edc622e8de73a83c85b8c1532383e
|
| 3 |
+
size 1073731400
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00007.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c764918e1d92f8495ea7090ac016093e93d56ebc6f55db72a501d7e406bef013
|
| 3 |
+
size 1073741289
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00008.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7692c096e41d936d8524f26e6397ee95e02ed0c5884dfeebaaaa0d5539c06ed0
|
| 3 |
+
size 1073732619
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w0-part-00009.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78124ec4d9444def73a0b7359b6e86229d1ce890d62694835aee45ff374ef61f
|
| 3 |
+
size 1073739006
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00001.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0e0d109e3f2fd66a19cdaae4228ff1b1342ec3bb5cef01014acaaa52cec9bc9
|
| 3 |
+
size 1073741189
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00002.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af49ee5e72c5d5bbdf9e8a4f02e553f28c9f8c77189694a3c504e79b3c10255f
|
| 3 |
+
size 1073741331
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00003.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:408aa5e1ff8f0a753b09054f3a9e6f43dcb84eb7c792e5db5f331d9b4eac24ed
|
| 3 |
+
size 1073741289
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w1-part-00004.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4abe0208193d7f1952ed0b14b058e54971030ffbcd89a6256f533e25664352b9
|
| 3 |
+
size 44160580
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00001.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:721d44f30977bb9276b05aaef976f885dc1333035b0fab9b52feaedccdecf995
|
| 3 |
+
size 1073731709
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00002.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3bcba4ec0afd7007aec8d9c3ef9bfde5b600185154607d7f9e523269ebe6768
|
| 3 |
+
size 1073740723
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00003.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dae4bb32b4346d4ad1edba7eb271f77fe3439d2b0f4d722f43306e0cfd896907
|
| 3 |
+
size 1073730056
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00004.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8d71ce2e1e0bdcee6e4ae3c9931423d71b433c511e9411609107c7f634536e9
|
| 3 |
+
size 1073730717
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w2-part-00005.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d96466b9902a02531992a158ee43a4195ca4431dca00cbfc88515fc69a86d6b
|
| 3 |
+
size 1073738733
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00001.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:084ac31f7f579b0afa618981f99599946c84007e919fe3d1f31569e6ea6c181c
|
| 3 |
+
size 1073739829
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00002.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57f0aa17589befa6e9b7716f9efa15257d4befd2378e1452bf088fd3350d92ac
|
| 3 |
+
size 1073741437
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00003.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e46e5023b3ee1d0e4f0933efbc78167863d49879f0f2a96d5cffb6d3df09617
|
| 3 |
+
size 1073741490
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00004.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fad135d5554065adc700938dbf85b033258cf97526404771e2ed14c3b77d861f
|
| 3 |
+
size 1073741815
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dataset/w3-part-00005.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:153f43bf84b32f17cf49225c0339a3df3b36af84894ce962c47f88afebfc6353
|
| 3 |
+
size 1073740873
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dense_architecture/BASELINE_COMPARISON.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Baseline Comparison
|
| 2 |
+
|
| 3 |
+
## Compare Against MoE
|
| 4 |
+
|
| 5 |
+
Use the same tokenizer and data bundle. Report:
|
| 6 |
+
|
| 7 |
+
- Active parameters
|
| 8 |
+
- Total parameters
|
| 9 |
+
- Tokens/sec
|
| 10 |
+
- Validation loss
|
| 11 |
+
- FIM exact match
|
| 12 |
+
- Edit distance
|
| 13 |
+
- Memory footprint
|
| 14 |
+
|
| 15 |
+
## Interpretation
|
| 16 |
+
|
| 17 |
+
Dense wins on simplicity and predictable routing. MoE should win when the dataset is diverse enough across languages, repositories, and completion patterns.
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dense_architecture/DENSE_ARCHITECTURE.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dense Architecture
|
| 2 |
+
|
| 3 |
+
## Purpose
|
| 4 |
+
|
| 5 |
+
The Dense model is the control baseline. It should share tokenizer, data order, context length, optimizer, and evaluation with MoE so differences are attributable to architecture.
|
| 6 |
+
|
| 7 |
+
## Recommended Structure
|
| 8 |
+
|
| 9 |
+
- Decoder-only Transformer
|
| 10 |
+
- RMSNorm
|
| 11 |
+
- RoPE
|
| 12 |
+
- GQA
|
| 13 |
+
- SwiGLU
|
| 14 |
+
- Tied embedding/head if quality does not regress
|
| 15 |
+
- Native FIM special-token support
|
| 16 |
+
|
| 17 |
+
## Why Keep It
|
| 18 |
+
|
| 19 |
+
- Easier debugging than MoE.
|
| 20 |
+
- Stable loss reference.
|
| 21 |
+
- Useful for small-device inference.
|
| 22 |
+
- Helps detect whether data or router is causing a regression.
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/dense_architecture/TRAINING_PLAN.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dense Training Plan
|
| 2 |
+
|
| 3 |
+
## Setup
|
| 4 |
+
|
| 5 |
+
Use exactly the same checkpoint bundles as MoE. Keep seed, batch token target, LR schedule, and validation split aligned.
|
| 6 |
+
|
| 7 |
+
## Evaluation
|
| 8 |
+
|
| 9 |
+
- Next-token validation loss
|
| 10 |
+
- FIM middle exact match
|
| 11 |
+
- FIM edit distance
|
| 12 |
+
- Syntax parse rate for Python/JS when available
|
| 13 |
+
- Completion latency
|
| 14 |
+
|
| 15 |
+
## Improvement Path
|
| 16 |
+
|
| 17 |
+
Tune Dense before scaling MoE. If Dense cannot learn the bundle cleanly, the problem is usually data schema, tokenizer, or objective mix rather than MoE routing.
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/moe_architecture/MOE_ARCHITECTURE.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MoE Architecture
|
| 2 |
+
|
| 3 |
+
## Recommended Structure
|
| 4 |
+
|
| 5 |
+
Use a decoder-only Transformer with shared attention and sparse FFN experts.
|
| 6 |
+
|
| 7 |
+
- RMSNorm before attention and FFN
|
| 8 |
+
- RoPE position embeddings
|
| 9 |
+
- GQA attention for lower KV-cache cost
|
| 10 |
+
- SwiGLU experts
|
| 11 |
+
- MoE layers every other block
|
| 12 |
+
- Top-2 routing by default
|
| 13 |
+
- Optional shared expert for common syntax and indentation patterns
|
| 14 |
+
|
| 15 |
+
## Best Current Direction
|
| 16 |
+
|
| 17 |
+
The strongest path for this dataset is MoE + MTP:
|
| 18 |
+
|
| 19 |
+
- MoE captures language/domain specialization.
|
| 20 |
+
- Multi-token prediction improves autocomplete latency and teaches continuation shape.
|
| 21 |
+
- Dense baseline remains necessary for ablation and debugging.
|
| 22 |
+
|
| 23 |
+
## Layer Plan
|
| 24 |
+
|
| 25 |
+
- Early layers: mostly dense or shared expert heavy for lexical/syntax grounding.
|
| 26 |
+
- Middle layers: sparse MoE for language and pattern specialization.
|
| 27 |
+
- Final layers: keep routing stable; avoid excessive expert collapse.
|
| 28 |
+
|
| 29 |
+
## Failure Modes
|
| 30 |
+
|
| 31 |
+
- Expert collapse: one expert receives most tokens.
|
| 32 |
+
- Router churn: expert assignment changes wildly across adjacent steps.
|
| 33 |
+
- Domain overfitting: synthetic Python dominates real multi-language code.
|
| 34 |
+
- MTP instability: auxiliary heads improve speed but hurt next-token loss if overweighted.
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/moe_architecture/ROUTING_AND_LOAD_BALANCE.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Routing And Load Balance
|
| 2 |
+
|
| 3 |
+
## Router
|
| 4 |
+
|
| 5 |
+
Use top-2 routing with capacity factor 1.25 for training. Keep top-1 only as an inference ablation.
|
| 6 |
+
|
| 7 |
+
## Losses
|
| 8 |
+
|
| 9 |
+
- Main next-token loss
|
| 10 |
+
- MoE auxiliary load-balancing loss
|
| 11 |
+
- Router z-loss
|
| 12 |
+
- Optional MTP loss with a small coefficient
|
| 13 |
+
|
| 14 |
+
## Metrics To Log
|
| 15 |
+
|
| 16 |
+
- Per-layer expert load
|
| 17 |
+
- Per-expert token fraction
|
| 18 |
+
- Dropped token count
|
| 19 |
+
- Router entropy
|
| 20 |
+
- Auxiliary loss
|
| 21 |
+
- Domain to expert correlation
|
| 22 |
+
|
| 23 |
+
## Guardrails
|
| 24 |
+
|
| 25 |
+
If any expert exceeds 35% load for sustained windows, increase aux loss or add shared expert capacity. If dropped tokens exceed 1%, increase capacity or lower batch token count.
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/moe_architecture/TRAINING_PLAN.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MoE Training Plan
|
| 2 |
+
|
| 3 |
+
## Data Mix
|
| 4 |
+
|
| 5 |
+
Start with balanced 20 GiB checkpoints. Do not feed raw source directories directly during training; use manifest-verified JSONL bundles.
|
| 6 |
+
|
| 7 |
+
## Curriculum
|
| 8 |
+
|
| 9 |
+
1. Warm up on short and medium FIM examples.
|
| 10 |
+
2. Add long repository-context examples.
|
| 11 |
+
3. Add code_gen as auxiliary continuation training.
|
| 12 |
+
4. Fine-tune with real-code FIM weighted higher than synthetic FIM.
|
| 13 |
+
|
| 14 |
+
## Hyperparameter Defaults
|
| 15 |
+
|
| 16 |
+
- Context: 2048 first, then 4096 ablation
|
| 17 |
+
- Optimizer: AdamW
|
| 18 |
+
- Precision: bf16 on H100, fp16 fallback only if stable
|
| 19 |
+
- Grad clipping: enabled
|
| 20 |
+
- Aux loss: start 0.01 and tune from router load
|
| 21 |
+
|
| 22 |
+
## Stop Conditions
|
| 23 |
+
|
| 24 |
+
- Validation loss diverges twice after LR reduction.
|
| 25 |
+
- Expert load collapse persists for more than one eval window.
|
| 26 |
+
- FIM exact-match and edit-distance metrics regress while train loss improves.
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/tokenizer/PREPROCESSING_FOR_TOKENIZER.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Preprocessing For Tokenizer
|
| 2 |
+
|
| 3 |
+
## Input Rules
|
| 4 |
+
|
| 5 |
+
- UTF-8 only, with invalid bytes replaced during inspection but not silently introduced during generation.
|
| 6 |
+
- LF line endings.
|
| 7 |
+
- Preserve indentation and blank lines.
|
| 8 |
+
- Remove null bytes.
|
| 9 |
+
- Keep repository path, language, license, source, and FIM mode in metadata.
|
| 10 |
+
|
| 11 |
+
## Filtering
|
| 12 |
+
|
| 13 |
+
- Drop empty `text`.
|
| 14 |
+
- Drop records with obvious credential strings.
|
| 15 |
+
- Drop records with fewer than 20 useful characters.
|
| 16 |
+
- Route extremely long records to a long-context bucket instead of truncating blindly.
|
| 17 |
+
|
| 18 |
+
## Sampling
|
| 19 |
+
|
| 20 |
+
Tokenizer training should sample across:
|
| 21 |
+
|
| 22 |
+
- code_fim
|
| 23 |
+
- code_gen
|
| 24 |
+
- Python / Java / C++ / Rust / JavaScript
|
| 25 |
+
- synthetic and real-code sources
|
| 26 |
+
- short, medium, and long files
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/tokenizer/TOKENIZER_DESIGN.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Tokenizer Design
|
| 2 |
+
|
| 3 |
+
## Decision
|
| 4 |
+
|
| 5 |
+
Use a code-first byte-level BPE tokenizer with explicit FIM tokens. The current 16k BPE is usable for smoke training, but the recommended next production tokenizer is 64k vocab with byte fallback and fixed special-token IDs.
|
| 6 |
+
|
| 7 |
+
## Required Tokens
|
| 8 |
+
|
| 9 |
+
- `<|fim_prefix|>`
|
| 10 |
+
- `<|fim_suffix|>`
|
| 11 |
+
- `<|fim_middle|>`
|
| 12 |
+
- `<|fim_pad|>`
|
| 13 |
+
- `<|repo|>`
|
| 14 |
+
- `<|file|>`
|
| 15 |
+
- `<|lang|>`
|
| 16 |
+
- `<|endoftext|>`
|
| 17 |
+
|
| 18 |
+
## Improvements To Keep
|
| 19 |
+
|
| 20 |
+
- Preserve indentation, tabs, newlines, comments, Korean text, and mixed English/Korean identifiers.
|
| 21 |
+
- Do not lowercase.
|
| 22 |
+
- Do not normalize whitespace inside code.
|
| 23 |
+
- Keep FIM tokens atomic and never split them into subpieces.
|
| 24 |
+
- Reserve stable IDs for FIM tokens before training.
|
| 25 |
+
- Prefer 64k vocab for the next run; compare 32k and 96k only as ablations.
|
| 26 |
+
|
| 27 |
+
## Acceptance Criteria
|
| 28 |
+
|
| 29 |
+
- FIM special tokens round-trip exactly.
|
| 30 |
+
- Python, Java, C++, Rust, JavaScript, Markdown comments, and Korean comments decode without byte loss.
|
| 31 |
+
- Median chars/token on code improves versus the current 16k tokenizer without making identifiers unreadable.
|
checkpoints/checkpoint_20260611_104104_bundle01_20g/tokenizer/TOKENIZER_USAGE.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Tokenizer Usage
|
| 2 |
+
|
| 3 |
+
## Training String
|
| 4 |
+
|
| 5 |
+
Each JSONL record must expose one canonical training string in `text`. FIM records use:
|
| 6 |
+
|
| 7 |
+
```text
|
| 8 |
+
<|fim_prefix|>{prefix}<|fim_suffix|>{suffix}<|fim_middle|>{middle}<|endoftext|>
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
## Loading
|
| 12 |
+
|
| 13 |
+
Use the Hugging Face `tokenizers` JSON format already present in `tokenizer/tokenizer.json`. When decoding examples for QA, use `skip_special_tokens=False`; otherwise FIM markers disappear and the sample cannot be audited.
|
| 14 |
+
|
| 15 |
+
## Batch Rules
|
| 16 |
+
|
| 17 |
+
- Pack examples by token length bucket, not raw byte length.
|
| 18 |
+
- Keep validation examples unshuffled and checksum-stable.
|
| 19 |
+
- Reject records that exceed the model context after tokenization unless the training loader supports chunking.
|
| 20 |
+
|
| 21 |
+
## FIM Use
|
| 22 |
+
|
| 23 |
+
For Cursor Tab style completion, train mostly on PSM order:
|
| 24 |
+
|
| 25 |
+
```text
|
| 26 |
+
prefix + suffix + middle
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
Keep a smaller SPM slice for robustness:
|
| 30 |
+
|
| 31 |
+
```text
|
| 32 |
+
suffix + prefix + middle
|
| 33 |
+
```
|