ResonateIntegrated commited on
Commit
c5ccfaa
·
verified ·
1 Parent(s): df7b902

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -44,18 +44,18 @@ The weights are distributed in the **`safetensors`** format (`model.safetensors`
44
  * **Vocabulary Size:** `32,768` tokens (aligned to multiples of 128 for Tensor Core efficiency).
45
 
46
  ### 2. Pre-training
47
- * **Dataset:** `1.08B` unique tokens (`train.bin`) + `10M` validation tokens (`val.bin`).
48
  * **Data Mix:**
49
  * `35%` — `HuggingFaceTB/smollm-corpus` (`fineweb-edu-dedup`, English)
50
  * `25%` — `HuggingFaceTB/smollm-corpus` (`cosmopedia-v2`, English)
51
  * `40%` — `HuggingFaceFW/fineweb-2` (`rus_Cyrl`, Russian)
52
  * **Optimization:**
53
- * Effective batch size: `524,288` tokens per step (`SEQ_LEN = 2048`)
54
- * Matrix parameters: **Muon** (`lr = 0.02`, Newton-Schulz orthogonalization, `weight_decay = 0.1`)
55
- * Embeddings & 1D parameters: **AdamW** (`lr = 3e-3`, `betas = (0.9, 0.95)`, `weight_decay = 0.1`)
56
- * Precision & Regularization: `bfloat16` mixed precision + `Z-loss` (`1e-4`)
57
- * Hardware: NVIDIA A100-SXM4-40GB (`~145k tokens/sec`)
58
-
59
  ### 3. Supervised Fine-Tuning (SFT)
60
  * **Dataset:** `50M` packed tokens (`60%` English / `40%` Russian) from `HuggingFaceTB/smoltalk` and `IlyaGusev/ru_turbo_saiga`.
61
  * **Loss Masking:** Cross-entropy loss is computed exclusively on `<|assistant|>` response tokens (`ignore_index = -100` on `<|user|>` turns).
 
44
  * **Vocabulary Size:** `32,768` tokens (aligned to multiples of 128 for Tensor Core efficiency).
45
 
46
  ### 2. Pre-training
47
+ * **Dataset:** `1.08B` unique tokens (`train.bin`) + `10M` validation tokens (`val.bin`), trained for `6,675` steps (`~437.5M` tokens seen).
48
  * **Data Mix:**
49
  * `35%` — `HuggingFaceTB/smollm-corpus` (`fineweb-edu-dedup`, English)
50
  * `25%` — `HuggingFaceTB/smollm-corpus` (`cosmopedia-v2`, English)
51
  * `40%` — `HuggingFaceFW/fineweb-2` (`rus_Cyrl`, Russian)
52
  * **Optimization:**
53
+ * Effective batch size: `65,536` tokens per step (`32 × 2048`)
54
+ * Matrix parameters: **Muon** (`lr = 0.008`, 3-step Newton-Schulz orthogonalization, `weight_decay = 0.1`)
55
+ * Embeddings & 1D parameters: **AdamW** (`lr = 1.2e-3`, `betas = (0.9, 0.95)`, `weight_decay = 0.1`)
56
+ * Precision: `bfloat16` mixed precision with `torch.compile` and native FlashAttention GQA
57
+ * Hardware: NVIDIA A100-SXM4-40GB (~1 hour full pipeline including SFT)
58
+
59
  ### 3. Supervised Fine-Tuning (SFT)
60
  * **Dataset:** `50M` packed tokens (`60%` English / `40%` Russian) from `HuggingFaceTB/smoltalk` and `IlyaGusev/ru_turbo_saiga`.
61
  * **Loss Masking:** Cross-entropy loss is computed exclusively on `<|assistant|>` response tokens (`ignore_index = -100` on `<|user|>` turns).