|
@@ -564,7 +564,7 @@ Place the downloaded dataset files in the `./dataset/` directory (✨ are recomm
|
|
|
├── lora_medical.jsonl (34MB)
|
|
├── lora_medical.jsonl (34MB)
|
|
|
├── pretrain_hq.jsonl (1.6GB, ✨)
|
|
├── pretrain_hq.jsonl (1.6GB, ✨)
|
|
|
├── r1_mix_1024.jsonl (340MB)
|
|
├── r1_mix_1024.jsonl (340MB)
|
|
|
-├── rlaif-mini.jsonl (1MB)
|
|
|
|
|
|
|
+├── rlaif-mini.jsonl (1MB, ✨)
|
|
|
├── sft_1024.jsonl (5.6GB)
|
|
├── sft_1024.jsonl (5.6GB)
|
|
|
├── sft_2048.jsonl (9GB)
|
|
├── sft_2048.jsonl (9GB)
|
|
|
├── sft_512.jsonl (7.5GB)
|
|
├── sft_512.jsonl (7.5GB)
|
|
@@ -577,13 +577,28 @@ Place the downloaded dataset files in the `./dataset/` directory (✨ are recomm
|
|
|
* `dpo.jsonl`✨ --RLHF stage dataset (optimized and simplified, suitable for fast training)
|
|
* `dpo.jsonl`✨ --RLHF stage dataset (optimized and simplified, suitable for fast training)
|
|
|
* `lora_identity.jsonl` --Self-awareness dataset (e.g., Who are you? I am minimind...), recommended for lora training (can also be used for full-parameter SFT, don't be limited by the name)
|
|
* `lora_identity.jsonl` --Self-awareness dataset (e.g., Who are you? I am minimind...), recommended for lora training (can also be used for full-parameter SFT, don't be limited by the name)
|
|
|
* `lora_medical.jsonl` --Medical Q&A dataset, recommended for lora training (can also be used for full-parameter SFT, don't be limited by the name)
|
|
* `lora_medical.jsonl` --Medical Q&A dataset, recommended for lora training (can also be used for full-parameter SFT, don't be limited by the name)
|
|
|
-* `pretrain_hq.jsonl`✨ --Pretraining dataset, integrated from JiangShu Technology
|
|
|
|
|
-* `r1_mix_1024.jsonl` --DeepSeek-R1-1.5B distilled data, maximum character length per entry is 1024 (therefore set max_seq_len=1024 when training)
|
|
|
|
|
|
|
+* `pretrain_hq.jsonl`✨ --Pretraining dataset, integrated from JiangShu Technology (recommended `max_seq_len≈320`)
|
|
|
|
|
+* `r1_mix_1024.jsonl` --DeepSeek-R1-1.5B distilled data, maximum character length per entry is 1024 (recommended `max_seq_len≈720`)
|
|
|
* `rlaif-mini.jsonl` --RLAIF training dataset, randomly sampled 10,000 high-quality conversations from SFT dataset for training reinforcement learning algorithms like PPO/GRPO/SPO
|
|
* `rlaif-mini.jsonl` --RLAIF training dataset, randomly sampled 10,000 high-quality conversations from SFT dataset for training reinforcement learning algorithms like PPO/GRPO/SPO
|
|
|
-* `sft_1024.jsonl` --Integrated from Qwen2.5 distilled data (a subset of sft_2048), maximum character length per entry is 1024 (therefore set max_seq_len=1024 when training)
|
|
|
|
|
-* `sft_2048.jsonl` --Integrated from Qwen2.5 distilled data, maximum character length per entry is 2048 (therefore set max_seq_len=2048 when training)
|
|
|
|
|
-* `sft_512.jsonl` --Integrated from JiangShu Technology SFT data, maximum character length per entry is 512 (therefore set max_seq_len=512 when training)
|
|
|
|
|
-* `sft_mini_512.jsonl`✨ --Minimal integration from JiangShu Technology SFT data + Qwen2.5 distilled data (for quick training of Zero models), maximum character length per entry is 512 (therefore set max_seq_len=512 when training)
|
|
|
|
|
|
|
+* `sft_1024.jsonl` --Integrated from Qwen2.5 distilled data (a subset of sft_2048), maximum character length per entry is 1024 (recommended `max_seq_len≈650`)
|
|
|
|
|
+* `sft_2048.jsonl` --Integrated from Qwen2.5 distilled data, maximum character length per entry is 2048 (recommended `max_seq_len≈1400`)
|
|
|
|
|
+* `sft_512.jsonl` --Integrated from JiangShu Technology SFT data, maximum character length per entry is 512 (recommended `max_seq_len≈350`)
|
|
|
|
|
+* `sft_mini_512.jsonl`✨ --Minimal integration from JiangShu Technology SFT data + Qwen2.5 distilled data (for quick training of Zero models), maximum character length per entry is 512 (recommended `max_seq_len≈340`)
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+Training parameter `max_seq_len` currently refers to the **token length**, not the absolute number of characters.
|
|
|
|
|
+For this project's tokenizer, typical Chinese text is roughly `1.5~1.7 chars/token`, while pure English text is roughly `4~5 chars/token` (it varies with data distribution).
|
|
|
|
|
+The “max length” annotated in dataset names is measured in **characters**. For example, a 100-character Chinese string can be roughly converted to `100/1.5≈67` tokens.
|
|
|
|
|
+
|
|
|
|
|
+For example:
|
|
|
|
|
+
|
|
|
|
|
+* Chinese: `白日依山尽` (5 chars) may be tokenized into [`白日`, `依`, `山`, `尽`] (4 tokens)
|
|
|
|
|
+* English: `The sun sets in the west` (24 chars) may be tokenized into [`The `, `sun `, `sets `, `in `, `the`, `west`] (6 tokens)
|
|
|
|
|
+
|
|
|
|
|
+The “recommended setting” above provides a rough estimate of the max token length for each dataset.
|
|
|
|
|
+Note that `max_seq_len` can be tuned aggressively / conservatively / in a balanced way: a larger value increases padding waste, while a smaller value increases truncation.
|
|
|
|
|
+
|
|
|
|
|
+Just find a balance between `compute efficiency` <---> `semantic completeness`.
|
|
|
|
|
|
|
|
</details>
|
|
</details>
|
|
|
|
|
|