KitsuVp commited on
Commit
b58ca6a
·
verified ·
1 Parent(s): 7dcc293

Model save

Browse files
Files changed (5) hide show
  1. README.md +104 -306
  2. config.json +9 -1
  3. generation_config.json +1 -1
  4. model.safetensors +2 -2
  5. training_args.bin +1 -1
README.md CHANGED
@@ -1,312 +1,110 @@
1
  ---
2
- language: en
3
- license: apache-2.0
4
  tags:
5
- - causal-lm
6
- - research
7
- - fp8
8
- - attention
9
- - normalization
10
- - neollm
11
- - pace
12
- datasets:
13
- - HuggingFaceFW/fineweb-edu
14
  ---
15
 
16
- # NeoLLM
17
-
18
- NeoLLM is a **135 M parameter** decoder-only language model trained from scratch on
19
- [FineWeb-Edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu) in **FP8**
20
- precision, completing training in approximately **6 hours** on a single NVIDIA 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 | Qwen3 tokenizer (64,402 tokens) |
44
- | Context length | 512 tokens |
45
-
46
- ### Parameter breakdown
47
-
48
- | Parameter bucket | Count |
49
- |---|---|
50
- | **Total parameters** | 116.22M (116,216,184) |
51
- | **Embedding parameters** (tied) | 32.97M (32,973,824) |
52
- | **Non-embedding parameters** | 83.24M (83,242,360) |
53
- | **Effective trainable parameters** | 116.22M (116,216,184) |
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 = 83.24M`.
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
- - **JTok / JTok-M** ([arXiv:2602.00800](https://arxiv.org/abs/2602.00800)) — Optional
74
- token-indexed self-modulation surfaces over Leviathan coordinates.
75
- - **Spelling Bee Embeddings** ([arXiv:2601.18030](https://arxiv.org/abs/2601.18030)) —
76
- Augments token embeddings with character-level spelling information.
77
- - **Token Embedding Manifold analysis** ([arXiv:2504.01002](https://arxiv.org/abs/2504.01002)) —
78
- Reference motivation for treating token embeddings as structured objects rather than
79
- unconstrained lookup rows.
80
-
81
- **Attention, positions, and output projection**
82
-
83
- - **FAN** ([arXiv:2502.21309](https://arxiv.org/abs/2502.21309)) — Fourier Analysis Networks.
84
- A portion of the projection channels are dedicated to periodic cosine/sine features.
85
- - **MEA** ([arXiv:2601.19611](https://arxiv.org/abs/2601.19611)) — Explicit Multi-head
86
- Attention. Adds small learnable interaction matrices between attention heads for K and V.
87
- - **LUCID** ([arXiv:2602.10410](https://arxiv.org/abs/2602.10410)) — Applies a learned
88
- lower-triangular preconditioner to V before attention, decorrelating value representations
89
- across positions.
90
- - **Affine-Scaled Attention** ([arXiv:2602.23057](https://arxiv.org/abs/2602.23057)) — Adds
91
- two learnable per-head scalars (α and β) to the softmax weights:
92
- `[α·softmax(QKᵀ) + β]·V`.
93
- - **XSA** ([arXiv:2603.09078](https://arxiv.org/abs/2603.09078)) — Exclusive Self Attention.
94
- After computing attention, removes the component of the output aligned with the token's
95
- own value vector.
96
- - **Directional Routing** ([arXiv:2603.14923](https://arxiv.org/abs/2603.14923)) — Each head
97
- learns K=4 directions in the output space; a learned router suppresses the attention output
98
- along each direction per input.
99
- - **Gated Attention** ([arXiv:2505.06708](https://arxiv.org/abs/2505.06708)) — A sigmoid gate
100
- is applied to the attention output before the output projection, introducing non-linearity
101
- and preventing attention sinks.
102
- - **Momentum Attention** ([arXiv:2411.03884](https://arxiv.org/abs/2411.03884)) — Modifies Q
103
- and K by subtracting a fraction of the previous position's Q and K values (causal
104
- first-difference).
105
- - **Interleaved Head Attention / IHA** ([arXiv:2602.21371](https://arxiv.org/abs/2602.21371)) —
106
- Builds pseudo-heads from learned cross-head mixtures to create multiple attention patterns
107
- per original head.
108
- - **REPO** ([arXiv:2512.14391](https://arxiv.org/abs/2512.14391)) — Context re-positioning
109
- module that learns contextual position coordinates above a configurable start layer.
110
- - **GRAPE** ([arXiv:2512.07805](https://arxiv.org/abs/2512.07805)) — Group representational
111
- position encoding used by the REPO-GRAPE positional path.
112
- - **GOAT priors** ([arXiv:2601.15380](https://arxiv.org/abs/2601.15380)) — Optional
113
- factorized attention log-prior channels inspired by trainable attention priors.
114
- - **Hadamard output projection** ([arXiv:2603.08343](https://arxiv.org/abs/2603.08343)) —
115
- Replaces dense attention output projection with a structured Hadamard transform plus
116
- lightweight scaling.
117
-
118
- **Normalization, residual flow, and MLP**
119
-
120
- - **SeeDNorm** ([arXiv:2510.22777](https://arxiv.org/abs/2510.22777)) — Applied to Q and K
121
- projections. Dynamically rescales normalization from the input's own statistics.
122
- - **LayerNorm Scaling / LNS** ([arXiv:2502.05795](https://arxiv.org/abs/2502.05795)) — Each
123
- layer's output is scaled by 1/√ℓ where ℓ is the layer index.
124
- - **GPAS** ([arXiv:2506.22049](https://arxiv.org/abs/2506.22049)) — Gradient-Preserving
125
- Activation Scaling for residual junctions.
126
- - **PolyNorm** ([arXiv:2602.04902](https://arxiv.org/abs/2602.04902)) — Replaces the standard
127
- MLP activation with normalized linear, quadratic, and cubic branches.
128
- - **SimpleGPT** ([arXiv:2602.01212](https://arxiv.org/abs/2602.01212)) — Second-order
129
- geometry-inspired normalization strategy applied inside MLP projections.
130
- - **StackMemory / STACKTRANS** ([NeurIPS 2025](https://openreview.net/forum?id=2bbDg587uh)) —
131
- Optional differentiable hidden-state stack between decoder layers.
132
- - **Attention Residuals / AttnRes** ([arXiv:2603.15031](https://arxiv.org/abs/2603.15031)) —
133
- Optional learned depth-wise aggregation over previous layer outputs or block summaries.
134
- - **LAUREL** ([arXiv:2411.07501](https://arxiv.org/abs/2411.07501)) — Optional learned
135
- augmented residual layer with residual-weight and low-rank variants.
136
-
137
- **Training objectives and training-time regularizers**
138
-
139
- - **TWEO** ([arXiv:2511.23225](https://arxiv.org/abs/2511.23225)) — Optional
140
- Transformers Without Extreme Outliers activation regularizer for FP8/low-bit-friendly
141
- training.
142
- - **NITP** ([arXiv:2605.24956](https://arxiv.org/abs/2605.24956)) — Optional Next Implicit
143
- Token Prediction auxiliary objective using shallow-layer implicit token targets and a
144
- cosine loss.
145
- - **NextLat** ([arXiv:2511.05963](https://arxiv.org/abs/2511.05963)) — Optional next-latent
146
- prediction objective using latent dynamics, Smooth L1 supervision, and frozen-head KL.
147
-
148
- **Optimizer and training stability**
149
-
150
- - **Conda** ([arXiv:2509.24218](https://arxiv.org/abs/2509.24218)) —
151
- Column-Normalized Adam optimizer path used by the training script.
152
- - **Cautious Weight Decay** ([arXiv:2510.12402](https://arxiv.org/abs/2510.12402)) —
153
- Sign-selective weight decay variant used by the custom optimizer logic.
154
- - **Correction of Decoupled Weight Decay** ([arXiv:2512.08217](https://arxiv.org/abs/2512.08217)) —
155
- Adapts decoupled weight decay during learning-rate decay.
156
- - **AdamHD** ([arXiv:2511.14721](https://arxiv.org/abs/2511.14721)) —
157
- Decoupled Huber decay regularization reference used by the optimizer.
158
- - **GradientStabilizer** ([arXiv:2502.17055](https://arxiv.org/abs/2502.17055)) —
159
- Optional threshold-free gradient magnitude stabilizer.
160
- - **PACE** ([arXiv:2606.25086](https://arxiv.org/abs/2606.25086)) —
161
- Optional iterate-average controller that trains for the EMA model returned at evaluation
162
- and final serialization. The Conda-basis adaptation and its difference from AdamW are
163
- documented below.
164
-
165
- ---
166
-
167
- ### PACE integration and AdamW-reference differences
168
-
169
- PACE follows Au and Block's returned-model objective: the live weights are pulled toward a
170
- power-law EMA with a clipped per-coordinate gain, and evaluation/final serialization use that
171
- EMA estimator.
172
-
173
- - **Reference AdamW rule:** the gain uses AdamW's original-coordinate diagonal
174
- second moment, `eta * c * (1+t)^(-kappa) / (sqrt(v_hat) + eps)`.
175
- - **NeoLLM Conda rule (`mode=conda`):** for projected 2-D tensors, both the EMA
176
- displacement and `v_hat` are represented in Conda's cached SVD basis. The control is
177
- projected back after applying the diagonal gain. This is a deliberate change from AdamW
178
- required to avoid mixing incompatible coordinate systems.
179
- - **Optional exact AdamW pullback geometry (`mode=adamw`):** an additional
180
- original-coordinate second moment is maintained for projected matrices. The live optimizer
181
- step remains Conda.
182
- - **Conda scale:** in `mode=conda`, Conda's matrix-update scale multiplies the unsaturated
183
- gain automatically because it is part of the effective Conda preconditioner. AdamW has no
184
- corresponding scale.
185
- - **Fixed algorithm internals:** the EMA is stored in FP32, the gain is clipped at `1`, and PACE
186
- reuses each Conda group’s numerical epsilon. These are not exposed as independent switches.
187
- - **Minimal modes:** `use_pace=False` is plain Conda; `use_pace=True, c=0` is Conda+EMA;
188
- `use_pace=True, c>0` is complete PACE.
189
- - **Ordering:** PACE runs only after Conda, CWD/CHD, and weight-decay correction have fully
190
- updated the live weights.
191
- - **Disabled guarantee:** with `use_pace=False`, no PACE state is allocated and no existing
192
- Conda arithmetic or parameter update is changed.
193
- - **Checkpoint policy:** resumable internal checkpoints retain live weights and complete optimizer
194
- state, while evaluation and the final returned/Hub model always use the EMA when PACE is active.
195
 
196
- Current run: **disabled; no EMA state, auxiliary moment, or pullback is allocated**.
197
-
198
- ---
199
-
200
- ## Training
201
-
202
- | Setting | Value |
203
- |---|---|
204
- | Dataset | FineWeb-Edu (sample-10BT) |
205
- | Tokens seen | ~1.54B (46,875 steps × batch 64 × length 512) |
206
- | Precision | FP8 native (E4M3 weights/activations, E5M2 gradients) + BF16 fallback |
207
- | Optimizer | Conda (PACE disabled) |
208
- | PACE | disabled; no EMA state, auxiliary moment, or pullback is allocated |
209
- | Learning rate | 6e-04 with linear warmup (10 % of steps) |
210
- | Weight decay | 0.1 |
211
- | Training time | ~3h 47m |
212
- | Hardware | NVIDIA RTX 5090 (single GPU) |
213
-
214
- ### Training curve
215
-
216
- | Step | Train Loss | Val Loss |
217
- |---|---|---|
218
- | 5,000 | 4.189 | 4.103 |
219
- | 10,000 | 3.875 | 3.798 |
220
- | 15,000 | 3.777 | 3.692 |
221
- | 20,000 | 3.732 | 3.643 |
222
- | 25,000 | 3.704 | 3.624 |
223
- | 30,000 | 3.681 | 3.594 |
224
- | 35,000 | 3.665 | 3.573 |
225
- | 40,000 | 3.580 | 3.503 |
226
- | 45,000 | 3.537 | 3.453 |
227
- | 46,875 | — | 3.446 |
228
-
229
- ---
230
-
231
- ## Limitations
232
-
233
- - **Token budget** — ~1.5 B tokens seen; below estimated optimum. Knowledge-intensive tasks
234
- will improve with more training.
235
- - **Gradient spike at step 40k** — Reorganized the attention pattern in layer 9 that
236
- previously captured long-range token correlations. A checkpoint from ~step 38k is expected
237
- to have better aggregate benchmark scores.
238
- - **PolyNorm exclusivity** — The quadratic branch has become partially redundant with the
239
- linear branch. Will be corrected in the next training run.
240
- - **Base model only** — Not instruction-tuned or aligned; purely a next-token-prediction
241
- base model.
242
-
243
- ---
244
-
245
- ## References
246
-
247
- All papers whose techniques are integrated into NeoLLM's architecture,
248
- training objective, or training stack:
249
-
250
- | Area | Technique | Paper title | Reference |
251
- |---|---|---|---|
252
- | Embeddings | Learnable Multipliers | Freeing the Scale of Language Model Matrix Layers | [arXiv:2601.04890](https://arxiv.org/abs/2601.04890) |
253
- | Embeddings | Leviathan | A Separable Architecture for Continuous Token Representation in Language Models | [arXiv:2601.22040](https://arxiv.org/abs/2601.22040) |
254
- | Embeddings | KHRONOS | KHRONOS: a Kernel-Based Neural Architecture for Rapid, Resource-Efficient Scientific Computation | [arXiv:2505.13315](https://arxiv.org/abs/2505.13315) |
255
- | Embeddings | JTok / JTok-M | JTok: On Token Embedding as Another Axis of Scaling Law via Joint Token Self-Modulation | [arXiv:2602.00800](https://arxiv.org/abs/2602.00800) |
256
- | Embeddings | Spelling Bee | Spelling Bee Embeddings for Language Modeling | [arXiv:2601.18030](https://arxiv.org/abs/2601.18030) |
257
- | Embeddings | Token embedding analysis | Token Embeddings Violate the Manifold Hypothesis | [arXiv:2504.01002](https://arxiv.org/abs/2504.01002) |
258
- | Attention / positions | FAN | Fourier Analysis Networks | [arXiv:2502.21309](https://arxiv.org/abs/2502.21309) |
259
- | Attention / positions | MEA | Explicit Multi-head Attention for Inter-head Interaction in Large Language Models | [arXiv:2601.19611](https://arxiv.org/abs/2601.19611) |
260
- | Attention / positions | LUCID | Attention with Preconditioned Representations | [arXiv:2602.10410](https://arxiv.org/abs/2602.10410) |
261
- | Attention / positions | Affine-Scaled Attention | Affine-Scaled Attention: Towards Flexible and Stable Transformer Attention | [arXiv:2602.23057](https://arxiv.org/abs/2602.23057) |
262
- | Attention / positions | XSA | Exclusive Self Attention | [arXiv:2603.09078](https://arxiv.org/abs/2603.09078) |
263
- | Attention / positions | Directional Routing | Directional Routing in Transformers | [arXiv:2603.14923](https://arxiv.org/abs/2603.14923) |
264
- | 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) |
265
- | Attention / positions | Momentum Attention | Momentum Attention | [arXiv:2411.03884](https://arxiv.org/abs/2411.03884) |
266
- | Attention / positions | IHA | Interleaved Head Attention | [arXiv:2602.21371](https://arxiv.org/abs/2602.21371) |
267
- | Attention / positions | REPO | Language Models with Context Re-Positioning | [arXiv:2512.14391](https://arxiv.org/abs/2512.14391) |
268
- | Attention / positions | GRAPE | Group Representational Position Encoding | [arXiv:2512.07805](https://arxiv.org/abs/2512.07805) |
269
- | Attention / positions | GOAT priors | You Need Better Attention Priors | [arXiv:2601.15380](https://arxiv.org/abs/2601.15380) |
270
- | Attention / positions | Hadamard o_proj | Rethinking Attention Output Projection: Structured Hadamard Transforms for Efficient Transformers | [arXiv:2603.08343](https://arxiv.org/abs/2603.08343) |
271
- | Residual / normalization | SeeDNorm | Self-Rescaled Dynamic Normalization | [arXiv:2510.22777](https://arxiv.org/abs/2510.22777) |
272
- | Residual / normalization | LNS | The Curse of Depth in LLMs | [arXiv:2502.05795](https://arxiv.org/abs/2502.05795) |
273
- | Residual / normalization | GPAS | Gradient-Preserving Activation Scaling | [arXiv:2506.22049](https://arxiv.org/abs/2506.22049) |
274
- | Residual / normalization | PolyNorm | PolyNorm / PolyCom | [arXiv:2602.04902](https://arxiv.org/abs/2602.04902) |
275
- | Residual / normalization | SimpleGPT | SimpleGPT | [arXiv:2602.01212](https://arxiv.org/abs/2602.01212) |
276
- | Residual / normalization | StackMemory / STACKTRANS | Recursive Transformer: Boosting Reasoning Ability with State Stack | [NeurIPS 2025](https://openreview.net/forum?id=2bbDg587uh) |
277
- | Residual / normalization | Attention Residuals | Attention Residuals | [arXiv:2603.15031](https://arxiv.org/abs/2603.15031) |
278
- | Residual / normalization | LAUREL | LAUREL: Learned Augmented Residual Layer | [arXiv:2411.07501](https://arxiv.org/abs/2411.07501) |
279
- | Objectives | TWEO | Transformers Without Extreme Outliers Enables FP8 Training And Quantization For Dummies | [arXiv:2511.23225](https://arxiv.org/abs/2511.23225) |
280
- | Objectives | NITP | Next Implicit Token Prediction for LLM Pre-training | [arXiv:2605.24956](https://arxiv.org/abs/2605.24956) |
281
- | Objectives | NextLat | Next-Latent Prediction Transformers Learn Compact World Models | [arXiv:2511.05963](https://arxiv.org/abs/2511.05963) |
282
- | Optimizer / training | Conda | Column-Normalized Adam for Training Large Language Models Faster | [arXiv:2509.24218](https://arxiv.org/abs/2509.24218) |
283
- | Optimizer / training | CWD | Cautious Weight Decay | [arXiv:2510.12402](https://arxiv.org/abs/2510.12402) |
284
- | Optimizer / training | WD correction | Correction of Decoupled Weight Decay | [arXiv:2512.08217](https://arxiv.org/abs/2512.08217) |
285
- | Optimizer / training | AdamHD | AdamHD: Decoupled Huber Decay Regularization for Language Model Pre-Training | [arXiv:2511.14721](https://arxiv.org/abs/2511.14721) |
286
- | Optimizer / training | GradientStabilizer | GradientStabilizer | [arXiv:2502.17055](https://arxiv.org/abs/2502.17055) |
287
- | Optimizer / training | PACE | Training for the Model You Return: Improving Optimization for Iterate-Averaged Language Models | [arXiv:2606.25086](https://arxiv.org/abs/2606.25086) |
288
-
289
- ---
290
-
291
- ## Citation
292
-
293
- ```bibtex
294
- @misc{neollm2026,
295
- title = {NeoLLM: A Research Language Model Integrating Recent Attention and Normalization Techniques},
296
- author = {KitsuVp},
297
- year = {2026},
298
- url = {https://huggingface.co/KitsuVp/NeoLLM}
299
- }
300
- ```
301
-
302
- ---
303
-
304
- ## Author
305
-
306
- [@Kyokopom](https://x.com/Kyokopom) on X
307
-
308
- ---
309
-
310
- ## License
311
 
312
- 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: 3.7278
18
+ - Ntp Loss: 2.9840
19
+ - Tweo Loss: 0.0158
20
+ - Nitp Loss: 0.4387
21
+ - Nitp Temporal Loss: 0.3160
22
+ - Nitp Temporal State Loss: 0.1585
23
+ - Nitp Temporal Identification Loss: 1.5747
24
+ - Nitp Temporal Top1 Accuracy: 0.2544
25
+ - Nitp Temporal Mean Absolute Offset: 1.2972
26
+ - Nitp Temporal Diagonal Cosine: 0.6739
27
+ - Nitp Temporal Off Diagonal Cosine: 0.6723
28
+ - Nitp Temporal Identification Margin: -0.0514
29
+ - Nitp Temporal Last Step State Loss: 0.2352
30
+ - Nitp Temporal Rollout Nitp Cosine: 0.2379
31
+ - Nitp Temporal Rollout Pair Cosine: 0.9479
32
+ - Nitp Temporal Valid Window Fraction: 0.9440
33
+ - Nitp Temporal To Nitp Ratio: 0.7202
34
+ - Nitp Temporal Loss Applied: 0.0
35
+ - Total Model Loss: 3.4229
36
+ - Optimizer Step: 46875.0
37
+ - Optimizer Metrics Due: 0.0
38
+ - Pace Step: 0.0
39
+ - Pace Update Due: 0.0
40
+ - Pace Previous Iterate Active: 1.0
41
+ - Conda Adaptive Scale Active: 1.0
42
+ - Conda Scale Smoothed Metric Exact: 1.0
43
+ - Conda Scale Beta: 0.0046
44
+ - Conda Scale Energy Attenuation: 0.0021
45
+ - Conda Scale Candidate Ratio Mean: 0.9985
46
+ - Conda Scale Smoothed Ratio Mean: 0.9982
47
+ - Conda Scale Applied Ratio Mean: 0.9982
48
+ - Conda Scale Gain Mean: 0.0699
49
+ - Conda Scale Gain Clip Fraction: 0.0
50
+ - Conda Scale Ratio Min: 0.9714
51
+ - Conda Scale Ratio Max: 1.0000
52
+ - Conda Scale Low Limit Fraction: 0.0
53
+ - Conda Scale High Limit Fraction: 0.0
54
+ - Conda Scale Amplified Fraction: 0.0
55
+ - Conda Scale Attenuated Fraction: 1.0
56
+ - Conda Scale Energy Weighted Amplification: 0.0
57
+ - Conda Scale Energy Weighted Attenuation Applied: 0.0018
58
+ - Conda Scale Risk Ema Mean: 0.0026
59
+ - Conda Scale Risk Drop Mean: 0.0006
60
+ - Conda Scale Amplification Bonus Mean: 0.0006
61
+ - Conda Scale Monitored Matrices: 146.0
62
+
63
+ ## Model description
64
+
65
+ More information needed
66
+
67
+ ## Intended uses & limitations
68
+
69
+ More information needed
70
+
71
+ ## Training and evaluation data
72
+
73
+ More information needed
74
+
75
+ ## Training procedure
76
+
77
+ ### Training hyperparameters
78
+
79
+ The following hyperparameters were used during training:
80
+ - learning_rate: 0.0006
81
+ - train_batch_size: 64
82
+ - eval_batch_size: 64
83
+ - seed: 42
84
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
85
+ - lr_scheduler_type: linear
86
+ - lr_scheduler_warmup_steps: 0.1
87
+ - num_epochs: 1
88
+
89
+ ### Training results
90
+
91
+ | Training Loss | Epoch | Step | Validation Loss | Loss | Temporal Loss | Temporal State Loss | Temporal Identification Loss | Temporal Top1 Accuracy | Temporal Mean Absolute Offset | Temporal Diagonal Cosine | Temporal Off Diagonal Cosine | Temporal Identification Margin | Temporal Last Step State Loss | Temporal Rollout Nitp Cosine | Temporal Rollout Pair Cosine | Temporal Valid Window Fraction | Temporal To Nitp Ratio | Temporal Loss Applied | Model Loss | Metrics Due | Update Due | Previous Iterate Active | Adaptive Scale Active | Scale Smoothed Metric Exact | Scale Beta | Scale Energy Attenuation | Scale Candidate Ratio Mean | Scale Smoothed Ratio Mean | Scale Applied Ratio Mean | Scale Gain Mean | Scale Gain Clip Fraction | Scale Ratio Min | Scale Ratio Max | Scale Low Limit Fraction | Scale High Limit Fraction | Scale Amplified Fraction | Scale Attenuated Fraction | Scale Energy Weighted Amplification | Scale Energy Weighted Attenuation Applied | Scale Risk Ema Mean | Scale Risk Drop Mean | Scale Amplification Bonus Mean | Scale Monitored Matrices |
92
+ |:-------------:|:------:|:----:|:---------------:|:------:|:-------------:|:-------------------:|:----------------------------:|:----------------------:|:-----------------------------:|:------------------------:|:----------------------------:|:------------------------------:|:-----------------------------:|:----------------------------:|:----------------------------:|:------------------------------:|:----------------------:|:---------------------:|:----------:|:-----------:|:----------:|:-----------------------:|:---------------------:|:---------------------------:|:----------:|:------------------------:|:--------------------------:|:-------------------------:|:------------------------:|:---------------:|:------------------------:|:---------------:|:---------------:|:------------------------:|:-------------------------:|:------------------------:|:-------------------------:|:-----------------------------------:|:-----------------------------------------:|:-------------------:|:--------------------:|:------------------------------:|:------------------------:|
93
+ | 4.4850 | 0.1067 | 0.0 | 4.3704 | 0.4853 | 0.6151 | 0.4492 | 1.6595 | 0.2513 | 1.3104 | 0.4216 | 0.4192 | -0.1064 | 0.5258 | 0.2058 | 0.9702 | 0.9440 | 1.2676 | 0.0 | 4.0625 | 1.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0141 | 0.0182 | 0.9878 | 0.9821 | 0.9821 | 0.1899 | 0.1642 | 0.6819 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0179 | 0.0242 | 0.0060 | 0.0060 | 146.0 |
94
+ | 4.2509 | 0.2133 | 0.0 | 4.1347 | 0.4695 | 0.4417 | 0.2782 | 1.6357 | 0.2510 | 1.3128 | 0.4574 | 0.4541 | -0.0946 | 0.3550 | 0.2104 | 0.9543 | 0.9440 | 0.9409 | 0.0 | 3.8230 | 1.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0100 | 0.0318 | 0.9688 | 0.9721 | 0.9721 | 0.2002 | 0.1688 | 0.7255 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0279 | 0.0316 | 0.0006 | 0.0006 | 146.0 |
95
+ | 4.1353 | 0.32 | 0.0 | 4.0248 | 0.4616 | 0.3790 | 0.2162 | 1.6281 | 0.2512 | 1.3107 | 0.4898 | 0.4864 | -0.0841 | 0.2921 | 0.2158 | 0.9447 | 0.9440 | 0.8211 | 0.0 | 3.7173 | 1.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0082 | 0.0207 | 0.9805 | 0.9792 | 0.9792 | 0.1992 | 0.1673 | 0.7583 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0208 | 0.0219 | 0.0012 | 0.0012 | 146.0 |
96
+ | 4.0732 | 0.4267 | 0.0 | 3.9661 | 0.4590 | 0.3523 | 0.1901 | 1.6225 | 0.2516 | 1.3108 | 0.5218 | 0.5186 | -0.0751 | 0.2668 | 0.2179 | 0.9397 | 0.9440 | 0.7677 | 0.0 | 3.6602 | 1.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0071 | 0.0238 | 0.9763 | 0.9785 | 0.9785 | 0.1953 | 0.1676 | 0.7326 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0215 | 0.0234 | 0.0001 | 0.0001 | 146.0 |
97
+ | 4.0285 | 0.5333 | 0.0 | 3.9243 | 0.4548 | 0.3392 | 0.1770 | 1.6221 | 0.2531 | 1.3061 | 0.5518 | 0.5489 | -0.0689 | 0.2537 | 0.2207 | 0.9381 | 0.9440 | 0.7458 | 0.0 | 3.6153 | 1.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0063 | 0.0148 | 0.9903 | 0.9829 | 0.9829 | 0.1907 | 0.1643 | 0.7799 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0171 | 0.0199 | 0.0051 | 0.0051 | 146.0 |
98
+ | 3.9952 | 0.64 | 0.0 | 3.8911 | 0.4544 | 0.3212 | 0.1601 | 1.6103 | 0.2529 | 1.3037 | 0.5928 | 0.5903 | -0.0612 | 0.2359 | 0.2239 | 0.9385 | 0.9440 | 0.7068 | 0.0 | 3.5908 | 1.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0058 | 0.0381 | 0.9619 | 0.9806 | 0.9806 | 0.1882 | 0.1634 | 0.8281 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0194 | 0.0230 | 0.0000 | 0.0000 | 146.0 |
99
+ | 3.9769 | 0.7467 | 0.0 | 3.8689 | 0.4523 | 0.3173 | 0.1564 | 1.6094 | 0.2539 | 1.3031 | 0.6123 | 0.6100 | -0.0589 | 0.2322 | 0.2251 | 0.9395 | 0.9440 | 0.7016 | 0.0 | 3.5642 | 1.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0053 | 0.0128 | 0.9894 | 0.9890 | 0.9890 | 0.1899 | 0.1659 | 0.8047 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0110 | 0.0150 | 0.0022 | 0.0022 | 146.0 |
100
+ | 3.8822 | 0.8533 | 0.0 | 3.7924 | 0.4437 | 0.3156 | 0.1569 | 1.5872 | 0.2539 | 1.2996 | 0.6478 | 0.6458 | -0.0544 | 0.2328 | 0.2320 | 0.9444 | 0.9440 | 0.7113 | 0.0 | 3.4815 | 1.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0050 | 0.0093 | 0.9907 | 0.9930 | 0.9930 | 0.1751 | 0.1541 | 0.9111 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0070 | 0.0079 | 0.0000 | 0.0000 | 146.0 |
101
+ | 3.8322 | 0.96 | 0.0 | 3.7350 | 0.4384 | 0.3158 | 0.1579 | 1.5788 | 0.2542 | 1.2969 | 0.6692 | 0.6676 | -0.0522 | 0.2345 | 0.2377 | 0.9471 | 0.9440 | 0.7204 | 0.0 | 3.4309 | 1.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0047 | 0.0024 | 0.9984 | 0.9978 | 0.9978 | 0.1206 | 0.0 | 0.9626 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0022 | 0.0032 | 0.0008 | 0.0008 | 146.0 |
102
+ | 3.8232 | 1.0 | 0.0 | 3.7278 | 0.4387 | 0.3160 | 0.1585 | 1.5747 | 0.2544 | 1.2972 | 0.6739 | 0.6723 | -0.0514 | 0.2352 | 0.2379 | 0.9479 | 0.9440 | 0.7202 | 0.0 | 3.4229 | 0.0 | 0.0 | 1.0 | 1.0 | 1.0 | 0.0046 | 0.0021 | 0.9985 | 0.9982 | 0.9982 | 0.0699 | 0.0 | 0.9714 | 1.0000 | 0.0 | 0.0 | 0.0 | 1.0 | 0.0 | 0.0018 | 0.0026 | 0.0006 | 0.0006 | 146.0 |
103
+
104
+
105
+ ### Framework versions
106
+
107
+ - Transformers 5.13.1
108
+ - Pytorch 2.13.0+cu132
109
+ - Datasets 5.0.0
110
+ - Tokenizers 0.22.2
config.json CHANGED
@@ -60,6 +60,13 @@
60
  "nitp_loss_weight": 1.0,
61
  "nitp_projector_intermediate_size": 2048,
62
  "nitp_target_layer": 2,
 
 
 
 
 
 
 
63
  "ntp_loss_backend": "cce",
64
  "num_attention_heads": 8,
65
  "num_hidden_layers": 12,
@@ -86,7 +93,7 @@
86
  "stack_memory_cache_size": 2048,
87
  "stack_slots": 16,
88
  "tie_word_embeddings": false,
89
- "transformers_version": "5.13.0",
90
  "tweo_eps": 1e-06,
91
  "tweo_loss_weight": 0.01,
92
  "tweo_power": 4.0,
@@ -114,6 +121,7 @@
114
  "use_momentum_attention": true,
115
  "use_nextlat": false,
116
  "use_nitp": true,
 
117
  "use_repo": true,
118
  "use_repo_goat_prior": false,
119
  "use_repo_grape": true,
 
60
  "nitp_loss_weight": 1.0,
61
  "nitp_projector_intermediate_size": 2048,
62
  "nitp_target_layer": 2,
63
+ "nitp_temporal_apply_loss": false,
64
+ "nitp_temporal_dynamics_weight": 1.0,
65
+ "nitp_temporal_horizon": 4,
66
+ "nitp_temporal_identification_weight": 0.1,
67
+ "nitp_temporal_intermediate_size": 1024,
68
+ "nitp_temporal_similarity_temperature": 0.1,
69
+ "nitp_temporal_target_temperature": 0.5,
70
  "ntp_loss_backend": "cce",
71
  "num_attention_heads": 8,
72
  "num_hidden_layers": 12,
 
93
  "stack_memory_cache_size": 2048,
94
  "stack_slots": 16,
95
  "tie_word_embeddings": false,
96
+ "transformers_version": "5.13.1",
97
  "tweo_eps": 1e-06,
98
  "tweo_loss_weight": 0.01,
99
  "tweo_power": 4.0,
 
121
  "use_momentum_attention": true,
122
  "use_nextlat": false,
123
  "use_nitp": true,
124
+ "use_nitp_temporal": true,
125
  "use_repo": true,
126
  "use_repo_goat_prior": false,
127
  "use_repo_grape": true,
generation_config.json CHANGED
@@ -7,5 +7,5 @@
7
  "output_attentions": false,
8
  "output_hidden_states": false,
9
  "pad_token_id": 0,
10
- "transformers_version": "5.13.0"
11
  }
 
7
  "output_attentions": false,
8
  "output_hidden_states": false,
9
  "pad_token_id": 0,
10
+ "transformers_version": "5.13.1"
11
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0ba8908970e4f45254f6a9810f92ffb23f1dd2103f82d24e384907002895bafa
3
- size 240855132
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d36dc7b27ba5811b691ab7b110b2fe30e1bf5ce5445fa85d756d8a784957cbab
3
+ size 245969360
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4d449fb352570446b7cc3ff35d1e2464749cf4a5f3f64c052689f59b3792b985
3
  size 5329
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ff7c3d201b035f6c6d0af4363b06d409b623147021216ed251969823f72239c
3
  size 5329