KitsuVp commited on
Commit
d259731
·
verified ·
1 Parent(s): 789a08a

Model save

Browse files
Files changed (4) hide show
  1. README.md +54 -283
  2. model.safetensors +1 -1
  3. optimizer_precision.json +11 -11
  4. training_args.bin +1 -1
README.md CHANGED
@@ -1,303 +1,74 @@
1
  ---
2
- language: en
3
- license: apache-2.0
4
  tags:
5
- - causal-lm
6
- - research
7
- - bf16
8
- - attention
9
- - normalization
10
- - neollm
11
- datasets:
12
- - HuggingFaceFW/fineweb-edu
13
  ---
14
 
15
- # NeoLLM
16
-
17
- NeoLLM is a **84.57 M parameter** decoder-only language model trained from scratch on
18
- [FineWeb-Edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu) with
19
- **BF16** compute, completing training in approximately
20
- **~1h 11m** on **NVIDIA GeForce RTX 5090**.
21
- It integrates a collection of recently published attention and normalization techniques
22
- into a single architecture, with the goal of studying how they interact during
23
- pretraining. The model is actively being developed and the current checkpoint represents
24
- an intermediate training state.
25
-
26
- > **Author / contact:** [@Kyokopom](https://x.com/Kyokopom) on X
27
- > **Repository:** [KitsuVp/NeoLLM](https://huggingface.co/KitsuVp/NeoLLM)
28
-
29
- ---
30
-
31
- ## Architecture
32
-
33
- NeoLLM is a decoder-only transformer with the following configuration:
34
-
35
- | Parameter | Value |
36
- |---|---|
37
- | Hidden size | 512 |
38
- | Layers | 12 |
39
- | Attention heads | 8 |
40
- | KV heads (GQA) | 4 |
41
- | Head dim | 64 |
42
- | Intermediate size | 1536 |
43
- | Vocabulary | LiquidAI/LFM2.5-1.2B-Thinking tokenizer (64,402 tokens) |
44
- | Context length | 512 tokens |
45
-
46
- ### Parameter breakdown
47
-
48
- | Parameter bucket | Count |
49
- |---|---|
50
- | **Total parameters** | 84.57M (84,567,928) |
51
- | **Embedding parameters** (tied) | 32.97M (32,973,824) |
52
- | **Non-embedding parameters** | 51.59M (51,594,104) |
53
- | **Effective trainable parameters** | 84.57M (84,567,928) |
54
-
55
- > Weight tying is **enabled**: the input embedding matrix and the language-model head
56
- > share the same parameters, so the effective trainable budget is
57
- > `total − embed = 51.59M`.
58
-
59
- ### Integrated techniques
60
-
61
- NeoLLM combines architecture modules, optional auxiliary objectives, and
62
- training-time optimizer/stability components from the following papers.
63
-
64
- **Embedding and token representation**
65
-
66
- - **Learnable Multipliers** ([arXiv:2601.04890](https://arxiv.org/abs/2601.04890)) — Adds
67
- per-row and per-column learnable scalar parameters to selected matrix layers and, when
68
- enabled, embeddings.
69
- - **Leviathan** ([arXiv:2601.22040](https://arxiv.org/abs/2601.22040)) — Optional
70
- continuous token embedding generator that can replace the discrete input lookup table.
71
- - **KHRONOS** ([arXiv:2505.13315](https://arxiv.org/abs/2505.13315)) — Kernel/basis
72
- reference used by the Leviathan continuous token generator implementation.
73
- - **Spelling Bee Embeddings** ([arXiv:2601.18030](https://arxiv.org/abs/2601.18030)) —
74
- Augments token embeddings with character-level spelling information.
75
- - **Token Embedding Manifold analysis** ([arXiv:2504.01002](https://arxiv.org/abs/2504.01002)) —
76
- Reference motivation for treating token embeddings as structured objects rather than
77
- unconstrained lookup rows.
78
-
79
- **Attention, positions, and output projection**
80
-
81
- - **FAN** ([arXiv:2502.21309](https://arxiv.org/abs/2502.21309)) — Fourier Analysis Networks.
82
- A portion of the projection channels are dedicated to periodic cosine/sine features.
83
- - **MEA** ([arXiv:2601.19611](https://arxiv.org/abs/2601.19611)) — Explicit Multi-head
84
- Attention. Adds small learnable interaction matrices between attention heads for K and V.
85
- - **LUCID** ([arXiv:2602.10410](https://arxiv.org/abs/2602.10410)) — Applies a learned
86
- lower-triangular preconditioner to V before attention, decorrelating value representations
87
- across positions.
88
- - **Affine-Scaled Attention** ([arXiv:2602.23057](https://arxiv.org/abs/2602.23057)) — Adds
89
- two learnable per-head scalars (α and β) to the softmax weights:
90
- `[α·softmax(QKᵀ) + β]·V`.
91
- - **XSA** ([arXiv:2603.09078](https://arxiv.org/abs/2603.09078)) — Exclusive Self Attention.
92
- After computing attention, removes the component of the output aligned with the token's
93
- own value vector.
94
- - **Directional Routing** ([arXiv:2603.14923](https://arxiv.org/abs/2603.14923)) — Each head
95
- learns K=4 directions in the output space; a learned router suppresses the attention output
96
- along each direction per input.
97
- - **Gated Attention** ([arXiv:2505.06708](https://arxiv.org/abs/2505.06708)) — A sigmoid gate
98
- is applied to the attention output before the output projection, introducing non-linearity
99
- and preventing attention sinks.
100
- - **Momentum Attention** ([arXiv:2411.03884](https://arxiv.org/abs/2411.03884)) — Modifies Q
101
- and K by subtracting a fraction of the previous position's Q and K values (causal
102
- first-difference).
103
- - **Interleaved Head Attention / IHA** ([arXiv:2602.21371](https://arxiv.org/abs/2602.21371)) —
104
- Builds pseudo-heads from learned cross-head mixtures to create multiple attention patterns
105
- per original head.
106
- - **REPO** ([arXiv:2512.14391](https://arxiv.org/abs/2512.14391)) — Context re-positioning
107
- module that learns contextual position coordinates above a configurable start layer.
108
- - **GRAPE** ([arXiv:2512.07805](https://arxiv.org/abs/2512.07805)) — Group representational
109
- position encoding used by the REPO-GRAPE positional path.
110
- - **GOAT priors** ([arXiv:2601.15380](https://arxiv.org/abs/2601.15380)) — Optional
111
- factorized attention log-prior channels inspired by trainable attention priors.
112
- - **Hadamard output projection** ([arXiv:2603.08343](https://arxiv.org/abs/2603.08343)) —
113
- Replaces dense attention output projection with a structured Hadamard transform plus
114
- lightweight scaling.
115
-
116
- **Normalization, residual flow, and MLP**
117
-
118
- - **SeeDNorm** ([arXiv:2510.22777](https://arxiv.org/abs/2510.22777)) — Applied to Q and K
119
- projections. Dynamically rescales normalization from the input's own statistics.
120
- - **LayerNorm Scaling / LNS** ([arXiv:2502.05795](https://arxiv.org/abs/2502.05795)) — Each
121
- layer's output is scaled by 1/√ℓ where ℓ is the layer index.
122
- - **GPAS** ([arXiv:2506.22049](https://arxiv.org/abs/2506.22049)) — Gradient-Preserving
123
- Activation Scaling for residual junctions.
124
- - **PolyNorm** ([arXiv:2602.04902](https://arxiv.org/abs/2602.04902)) — Replaces the standard
125
- MLP activation with normalized linear, quadratic, and cubic branches.
126
- - **SimpleGPT** ([arXiv:2602.01212](https://arxiv.org/abs/2602.01212)) — Second-order
127
- geometry-inspired normalization strategy applied inside MLP projections.
128
- - **StackMemory / STACKTRANS** ([NeurIPS 2025](https://openreview.net/forum?id=2bbDg587uh)) —
129
- Optional differentiable hidden-state stack between decoder layers.
130
- - **Attention Residuals / AttnRes** ([arXiv:2603.15031](https://arxiv.org/abs/2603.15031)) —
131
- Optional learned depth-wise aggregation over previous layer outputs or block summaries.
132
- - **LAUREL** ([arXiv:2411.07501](https://arxiv.org/abs/2411.07501)) — Optional learned
133
- augmented residual layer with residual-weight and low-rank variants.
134
 
135
- **Training objectives and training-time regularizers**
136
-
137
- - **Cut Cross Entropy** ([Apple repository](https://github.com/apple/ml-cross-entropy)) —
138
- Memory-efficient next-token loss that avoids materializing the full token-by-vocabulary
139
- logits tensor. NeoLLM remains compatible with the upstream package when the extensions
140
- below are disabled.
141
- - **MiLe Loss** ([arXiv:2310.19531](https://arxiv.org/abs/2310.19531)) — Optional detached,
142
- mean-normalized predictive-entropy weighting of token losses, implemented inside the
143
- extended CCE path.
144
- - **Output Embedding Centering / mu-loss**
145
- ([arXiv:2601.02031](https://arxiv.org/abs/2601.02031)) — Optional
146
- `lambda * ||mean(output_embeddings)||^2` regularizer for output-logit stability.
147
- - **MEAP** ([arXiv:2502.07490](https://arxiv.org/abs/2502.07490)) — Optional training-only
148
- input corruption that masks a fixed fraction of eligible tokens while preserving clean
149
- next-token labels, causal attention, and the inference path.
150
- - **TWEO** ([arXiv:2511.23225](https://arxiv.org/abs/2511.23225)) — Optional
151
- Transformers Without Extreme Outliers activation regularizer for FP8/low-bit-friendly
152
- training.
153
- - **NITP** ([arXiv:2605.24956](https://arxiv.org/abs/2605.24956)) — Optional Next Implicit
154
- Token Prediction auxiliary objective using shallow-layer implicit token targets and a
155
- cosine loss.
156
- - **NextLat** ([arXiv:2511.05963](https://arxiv.org/abs/2511.05963)) — Optional next-latent
157
- prediction objective using latent dynamics, Smooth L1 supervision, and frozen-head KL.
158
-
159
- ### Optional extended-CCE configuration
160
-
161
- | Feature | Enabled | Value |
162
- |---|---:|---:|
163
- | MiLe Loss | True | gamma=1.0 |
164
- | mu-loss | True | lambda=0.0001 |
165
- | MEAP | True | ratio=0.15 |
166
-
167
- MiLe, mu-loss, and MEAP require the extended
168
- [`Kitsunp/ml-cross-entropy`](https://github.com/Kitsunp/ml-cross-entropy) package only when
169
- their corresponding flags are enabled. With all flags disabled, NeoLLM calls upstream CCE
170
- without extension-specific arguments. When any extension is active, CCE reports three compact
171
- scalars: unweighted NTP cross entropy, the MiLe reweighting delta, and the mu-loss penalty.
172
- Their sum reconstructs `ntp_loss` exactly. MEAP reports its eligible and selected counts from
173
- the masking kernel; the trainer logs the selected count and exact fraction. No diagnostic path
174
- materializes full-vocabulary logits or a token mask outside the kernels.
175
-
176
- **Optimizer and training stability**
177
-
178
- - **Adam-family optimizer mode** — Active variant: **AdamW**.
179
- **AdEMAMix** ([arXiv:2409.03137](https://arxiv.org/abs/2409.03137)) contributes the optional
180
- beta3 slow-memory branch when `ADEMAMIX=True`. **DeltaMomentum**
181
- ([arXiv:2608.19491](https://arxiv.org/abs/2608.19491)) optionally replaces only the fast beta1
182
- first-moment update on hidden Linear weights when `DELTA=True`; beta2 remains Adam's
183
- ordinary squared-gradient EMA in every mode.
184
- - **BF16 stochastic rounding** ([arXiv:2502.20566](https://arxiv.org/abs/2502.20566)) —
185
- Optional master-free BF16 model update with stochastic rather than nearest rounding; the same
186
- write-back path is shared by AdamW, DeltaAdamW, AdEMAMix, and DeltaAdEMAMix.
187
- - **Cautious Weight Decay** ([arXiv:2510.12402](https://arxiv.org/abs/2510.12402)) —
188
- Sign-selective weight decay variant used by the custom optimizer logic.
189
- - **Correction of Decoupled Weight Decay** ([arXiv:2512.08217](https://arxiv.org/abs/2512.08217)) —
190
- Adapts decoupled weight decay during learning-rate decay.
191
- - **AdamHD** ([arXiv:2511.14721](https://arxiv.org/abs/2511.14721)) —
192
- Decoupled Huber decay regularization reference used by the optimizer.
193
- - **GradientStabilizer** ([arXiv:2502.17055](https://arxiv.org/abs/2502.17055)) —
194
- Active; repository per-parameter tensor norms; bias correction=True; no stabilizer warmup; EMA state stored in optimizer checkpoints.
195
- ---
196
-
197
- ## Training
198
-
199
- | Setting | Value |
200
- |---|---|
201
- | Dataset | FineWeb-Edu (sample-10BT) |
202
- | Tokens seen | ~0.51B (15,625 steps × batch 64 × length 512) |
203
- | Precision | BF16 model state (bfloat16: 84,565,816 elements, float32: 2,112 elements) + optimizer policy unavailable |
204
- | Optimizer | AdamW |
205
- | Gradient transform | Active; repository per-parameter tensor norms; bias correction=True; no stabilizer warmup; EMA state stored in optimizer checkpoints |
206
- | Learning rate | 1e-03 with 4,000-step linear warmup |
207
- | Weight decay | coefficients [0.005, 0.01, 0.1]; WD 5/5 groups; CWD 2; Huber 0; Correction 0 |
208
- | Training time | ~1h 11m |
209
- | Hardware | NVIDIA GeForce RTX 5090 |
210
 
211
- ### Training curve
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
 
213
- | Step | Train Loss | Val Loss |
214
- |---|---|---|
215
- | 5,000 | 5.772 | 5.396 |
216
- | 10,000 | 5.516 | 5.115 |
217
- | 15,000 | 5.305 | 4.875 |
218
- | 15,625 | — | 4.842 |
219
 
220
- ---
221
 
222
- ## Limitations
223
 
224
- - **Token budget** — ~1.5 B tokens seen; below estimated optimum. Knowledge-intensive tasks
225
- will improve with more training.
226
- - **Gradient spike at step 40k** — Reorganized the attention pattern in layer 9 that
227
- previously captured long-range token correlations. A checkpoint from ~step 38k is expected
228
- to have better aggregate benchmark scores.
229
- - **PolyNorm exclusivity** — The quadratic branch has become partially redundant with the
230
- linear branch. Will be corrected in the next training run.
231
- - **Base model only** — Not instruction-tuned or aligned; purely a next-token-prediction
232
- base model.
233
 
234
- ---
235
 
236
- ## References
237
 
238
- All papers whose techniques are integrated into NeoLLM's architecture,
239
- training objective, or training stack:
240
 
241
- | Area | Technique | Paper title | Reference |
242
- |---|---|---|---|
243
- | Embeddings | Learnable Multipliers | Freeing the Scale of Language Model Matrix Layers | [arXiv:2601.04890](https://arxiv.org/abs/2601.04890) |
244
- | Embeddings | Leviathan | A Separable Architecture for Continuous Token Representation in Language Models | [arXiv:2601.22040](https://arxiv.org/abs/2601.22040) |
245
- | Embeddings | KHRONOS | KHRONOS: a Kernel-Based Neural Architecture for Rapid, Resource-Efficient Scientific Computation | [arXiv:2505.13315](https://arxiv.org/abs/2505.13315) |
246
- | Embeddings | Spelling Bee | Spelling Bee Embeddings for Language Modeling | [arXiv:2601.18030](https://arxiv.org/abs/2601.18030) |
247
- | Embeddings | Token embedding analysis | Token Embeddings Violate the Manifold Hypothesis | [arXiv:2504.01002](https://arxiv.org/abs/2504.01002) |
248
- | Attention / positions | FAN | Fourier Analysis Networks | [arXiv:2502.21309](https://arxiv.org/abs/2502.21309) |
249
- | Attention / positions | MEA | Explicit Multi-head Attention for Inter-head Interaction in Large Language Models | [arXiv:2601.19611](https://arxiv.org/abs/2601.19611) |
250
- | Attention / positions | LUCID | Attention with Preconditioned Representations | [arXiv:2602.10410](https://arxiv.org/abs/2602.10410) |
251
- | Attention / positions | Affine-Scaled Attention | Affine-Scaled Attention: Towards Flexible and Stable Transformer Attention | [arXiv:2602.23057](https://arxiv.org/abs/2602.23057) |
252
- | Attention / positions | XSA | Exclusive Self Attention | [arXiv:2603.09078](https://arxiv.org/abs/2603.09078) |
253
- | Attention / positions | Directional Routing | Directional Routing in Transformers | [arXiv:2603.14923](https://arxiv.org/abs/2603.14923) |
254
- | Attention / positions | Gated Attention | Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free | [arXiv:2505.06708](https://arxiv.org/abs/2505.06708) |
255
- | Attention / positions | Momentum Attention | Momentum Attention | [arXiv:2411.03884](https://arxiv.org/abs/2411.03884) |
256
- | Attention / positions | IHA | Interleaved Head Attention | [arXiv:2602.21371](https://arxiv.org/abs/2602.21371) |
257
- | Attention / positions | REPO | Language Models with Context Re-Positioning | [arXiv:2512.14391](https://arxiv.org/abs/2512.14391) |
258
- | Attention / positions | GRAPE | Group Representational Position Encoding | [arXiv:2512.07805](https://arxiv.org/abs/2512.07805) |
259
- | Attention / positions | GOAT priors | You Need Better Attention Priors | [arXiv:2601.15380](https://arxiv.org/abs/2601.15380) |
260
- | Attention / positions | Hadamard o_proj | Rethinking Attention Output Projection: Structured Hadamard Transforms for Efficient Transformers | [arXiv:2603.08343](https://arxiv.org/abs/2603.08343) |
261
- | Residual / normalization | SeeDNorm | Self-Rescaled Dynamic Normalization | [arXiv:2510.22777](https://arxiv.org/abs/2510.22777) |
262
- | Residual / normalization | LNS | The Curse of Depth in LLMs | [arXiv:2502.05795](https://arxiv.org/abs/2502.05795) |
263
- | Residual / normalization | GPAS | Gradient-Preserving Activation Scaling | [arXiv:2506.22049](https://arxiv.org/abs/2506.22049) |
264
- | Residual / normalization | PolyNorm | PolyNorm / PolyCom | [arXiv:2602.04902](https://arxiv.org/abs/2602.04902) |
265
- | Residual / normalization | SimpleGPT | SimpleGPT | [arXiv:2602.01212](https://arxiv.org/abs/2602.01212) |
266
- | Residual / normalization | StackMemory / STACKTRANS | Recursive Transformer: Boosting Reasoning Ability with State Stack | [NeurIPS 2025](https://openreview.net/forum?id=2bbDg587uh) |
267
- | Residual / normalization | Attention Residuals | Attention Residuals | [arXiv:2603.15031](https://arxiv.org/abs/2603.15031) |
268
- | Residual / normalization | LAUREL | LAUREL: Learned Augmented Residual Layer | [arXiv:2411.07501](https://arxiv.org/abs/2411.07501) |
269
- | Objectives | TWEO | Transformers Without Extreme Outliers Enables FP8 Training And Quantization For Dummies | [arXiv:2511.23225](https://arxiv.org/abs/2511.23225) |
270
- | Objectives | NITP | Next Implicit Token Prediction for LLM Pre-training | [arXiv:2605.24956](https://arxiv.org/abs/2605.24956) |
271
- | Objectives | NextLat | Next-Latent Prediction Transformers Learn Compact World Models | [arXiv:2511.05963](https://arxiv.org/abs/2511.05963) |
272
- | Optimizer / training | AdEMAMix | The AdEMAMix Optimizer: Better, Faster, Older | [arXiv:2409.03137](https://arxiv.org/abs/2409.03137) |
273
- | Optimizer / training | DeltaMomentum | DeltaMomentum: A Key-Value based Anisotropic Momentum Update via Delta Rule | [arXiv:2608.19491](https://arxiv.org/abs/2608.19491) |
274
- | Optimizer / training | BF16 + SR | Stochastic Rounding for LLM Training: Theory and Practice | [arXiv:2502.20566](https://arxiv.org/abs/2502.20566) |
275
- | Optimizer / training | CWD | Cautious Weight Decay | [arXiv:2510.12402](https://arxiv.org/abs/2510.12402) |
276
- | Optimizer / training | WD correction | Correction of Decoupled Weight Decay | [arXiv:2512.08217](https://arxiv.org/abs/2512.08217) |
277
- | Optimizer / training | AdamHD | AdamHD: Decoupled Huber Decay Regularization for Language Model Pre-Training | [arXiv:2511.14721](https://arxiv.org/abs/2511.14721) |
278
- | Optimizer / training | GradientStabilizer | GradientStabilizer | [arXiv:2502.17055](https://arxiv.org/abs/2502.17055) |
279
 
280
- ---
 
 
 
 
 
 
 
281
 
282
- ## Citation
283
 
284
- ```bibtex
285
- @misc{neollm2026,
286
- title = {NeoLLM: A Research Language Model Integrating Recent Attention and Normalization Techniques},
287
- author = {KitsuVp},
288
- year = {2026},
289
- url = {https://huggingface.co/KitsuVp/NeoLLM}
290
- }
291
- ```
292
 
293
- ---
294
-
295
- ## Author
296
-
297
- [@Kyokopom](https://x.com/Kyokopom) on X
298
-
299
- ---
300
 
301
- ## License
302
 
303
- Apache 2.0
 
 
 
 
1
  ---
2
+ library_name: transformers
 
3
  tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: NeoLLM
7
+ results: []
 
 
 
 
8
  ---
9
 
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
+ # NeoLLM
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 4.8333
18
+ - Ntp Loss: 4.2436
19
+ - Ntp Ce Unweighted: 3.5923
20
+ - Mile Reweighting Delta: 0.6512
21
+ - Mu Loss: 0.0001
22
+ - Tweo Loss: 0.0016
23
+ - Nitp Loss: 0.4902
24
+ - Total Model Loss: 4.7338
25
+ - Meap Mask Embedding Rms: 0.0432
26
+ - Meap Mask Embedding Max Abs: 0.5781
27
+ - Gradient Stabilizer Target Global Norm: 18.9319
28
+ - Gradient Stabilizer Mean Tensor Scale: 330.9539
29
+ - Gradient Stabilizer Min Tensor Scale: 1.3281
30
+ - Gradient Stabilizer Max Tensor Scale: 1536.0
31
+ - Gradient Stabilizer Active Parameter Tensors: 366.0
32
+ - Gradient Stabilizer Skipped Parameter Tensors: 0.0
33
 
34
+ ## Model description
 
 
 
 
 
35
 
36
+ More information needed
37
 
38
+ ## Intended uses & limitations
39
 
40
+ More information needed
 
 
 
 
 
 
 
 
41
 
42
+ ## Training and evaluation data
43
 
44
+ More information needed
45
 
46
+ ## Training procedure
 
47
 
48
+ ### Training hyperparameters
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
 
50
+ The following hyperparameters were used during training:
51
+ - learning_rate: 0.001
52
+ - train_batch_size: 64
53
+ - eval_batch_size: 64
54
+ - seed: 42
55
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
56
+ - lr_scheduler_type: linear
57
+ - num_epochs: 1
58
 
59
+ ### Training results
60
 
61
+ | Training Loss | Epoch | Step | Validation Loss | Loss | Ce Unweighted | Reweighting Delta | Model Loss | Mask Embedding Rms | Mask Embedding Max Abs | Stabilizer Target Global Norm | Stabilizer Mean Tensor Scale | Stabilizer Min Tensor Scale | Stabilizer Max Tensor Scale | Stabilizer Active Parameter Tensors | Stabilizer Skipped Parameter Tensors |
62
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:-------------:|:-----------------:|:----------:|:------------------:|:----------------------:|:-----------------------------:|:----------------------------:|:---------------------------:|:---------------------------:|:-----------------------------------:|:------------------------------------:|
63
+ | 5.7803 | 0.32 | 5000 | 5.3890 | 0.5638 | 4.1975 | 0.5496 | 5.3116 | 0.0483 | 0.5820 | 18.6946 | 495.0521 | 2.4380 | 3248.0 | 366.0 | 0.0 |
64
+ | 5.5108 | 0.64 | 10000 | 5.1084 | 0.5126 | 3.8947 | 0.6121 | 5.0197 | 0.0525 | 0.7188 | 18.9658 | 369.8585 | 2.5312 | 1800.0 | 366.0 | 0.0 |
65
+ | 5.3037 | 0.96 | 15000 | 4.8615 | 0.4918 | 3.6319 | 0.6389 | 4.7627 | 0.0444 | 0.6016 | 18.7181 | 330.5682 | 1.5781 | 1600.0 | 366.0 | 0.0 |
66
+ | 5.2719 | 1.0 | 15625 | 4.8333 | 0.4902 | 3.5923 | 0.6512 | 4.7338 | 0.0432 | 0.5781 | 18.9319 | 330.9539 | 1.3281 | 1536.0 | 366.0 | 0.0 |
 
 
67
 
 
 
 
 
 
 
 
68
 
69
+ ### Framework versions
70
 
71
+ - Transformers 5.16.1
72
+ - Pytorch 2.14.0+cu132
73
+ - Datasets 5.0.1
74
+ - Tokenizers 0.23.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e2821a8346cf052244d8a914302540f11ab4dc30e558c2b8f33aa22ddba7d693
3
  size 169183584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64483bfee890f57b9da0bf3e361619f03f9a75f9db76f7dd87434e251efc08e7
3
  size 169183584
optimizer_precision.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "ademamix_enabled": false,
3
- "bf16_stochastic_round_active": false,
4
- "bf16_stochastic_round_elements": 0,
5
- "bf16_stochastic_round_groups": 0,
6
- "bf16_stochastic_round_tensors": 0,
7
  "delta_eligible_linear_weights": 0,
8
  "delta_enabled": false,
9
  "delta_eta": 0.37,
10
- "fp32_master_active": true,
11
- "fp32_master_elements": 84567928,
12
- "fp32_master_groups": 6,
13
- "fp32_master_tensors": 366,
14
- "fp32_passthrough_elements": 0,
15
- "mode": "fp32_master",
16
  "mxfp8_active": false,
17
  "mxfp8_available": false,
18
  "mxfp8_linear_layers": 0,
@@ -25,6 +25,6 @@
25
  "float32": 2112
26
  },
27
  "parameter_storage_bytes": 169140080,
28
- "runtime_precision_mode": "BF16_FP32_MASTER",
29
  "stochastic_round_seed": 0
30
  }
 
1
  {
2
  "ademamix_enabled": false,
3
+ "bf16_stochastic_round_active": true,
4
+ "bf16_stochastic_round_elements": 84565816,
5
+ "bf16_stochastic_round_groups": 6,
6
+ "bf16_stochastic_round_tensors": 350,
7
  "delta_eligible_linear_weights": 0,
8
  "delta_enabled": false,
9
  "delta_eta": 0.37,
10
+ "fp32_master_active": false,
11
+ "fp32_master_elements": 0,
12
+ "fp32_master_groups": 0,
13
+ "fp32_master_tensors": 0,
14
+ "fp32_passthrough_elements": 2112,
15
+ "mode": "bf16_stochastic_rounding",
16
  "mxfp8_active": false,
17
  "mxfp8_available": false,
18
  "mxfp8_linear_layers": 0,
 
25
  "float32": 2112
26
  },
27
  "parameter_storage_bytes": 169140080,
28
+ "runtime_precision_mode": "BF16_BF16_SR_MASTER_FREE",
29
  "stochastic_round_seed": 0
30
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3a4f920c57b0390c72c9efad34abd3c9cf10157d9058955d0a31b31a393ba8b6
3
  size 5329
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffb37840e69056ed9d86138ec65b160df0dbc9fe277466cbe65de6223d6d3f1c
3
  size 5329