/ Модель

Характеристики

Лицензия
CC BY 4.0
Библиотека
pytorch
Опубликована
20 окт 2026

semsimula-ladder-live-ts-d384-l2-none-norc-sr2-fo

Генерация текстаТекст → текст3 профессии
520скачиваний за 30 дней0лайковвеса обновлены2 дек 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Экспериментальная англоязычная модель SR2 FO-TS для генерации текста, проверяющая динамику со сбросом скорости между слоями на корпусе TinyStories.

SR2 FO-TS — экспериментальная языковая модель семейства Semantic Simulation, разработанная автором репозитория dimitarpg13 и обученная на TinyStories. Это вариант архитектуры SR2 с первым порядком динамики между слоями: скорость сбрасывается на границах слоёв, но внутри слоя сохраняется инерционный поток. Модель предназначена для генерации текста и изучения того, как такой механизм влияет на языковое моделирование.

В карточке сообщается о проверочной perplexity 5,13 на блоках длиной 512 токенов TinyStories; результат сопоставим с парной моделью второго порядка SO-TS (5,16). README также описывает постоянную память при инференсе и эксперименты с числом слоёв и шагов. Архитектура указана как non-transformer и attention-free; размер модели в предоставленных данных не указан. Модель обучалась на английских историях TinyStories.

Репозиторий распространяется по лицензии CC BY 4.0. Это экспериментальный исследовательский чекпойнт с результатами на одном небольшом корпусе; приведённые показатели не гарантируют качество на других текстах или задачах.

Сценарии применения

  • генерация коротких англоязычных историй
  • эксперименты с генерацией текста на TinyStories
  • сравнение моделей первого и второго порядка динамики
  • изучение влияния сброса скорости между слоями на языковую модель

Ограничения

Проверка проведена на TinyStories, поэтому результаты могут не переноситься на другие корпуса и сценарии. Это исследовательский эксперимент, а не подтверждённая универсальная модель.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

SR2 on TinyStories with the velocity reset at every layer (FO-TS): level with its second-order twin (Gen 3)

The question of this collection: does the conservative core of Semantic Simulation need second-order dynamics (a velocity and inertia), or does a first-order model trained the same way do as well? Each pair trains one model both ways, with everything else the same.

This model: SR2's architecture on TinyStories with the velocity reset at every layer boundary (FO-a). Verdict: level with its second-order twin (5.13 against SO-TS's 5.16, −0.6%). It keeps the rotation of the stiff modes within each layer; the true first-order twin, FO-b-TS, which removes that too, trails SO-TS by 2.3%. The first-vs-second-order collection holds the pairs; the Gen 3 collection holds the OpenWebText ladder.

Result

paircorpus, tokenssecond orderfirst orderfirst order against second
OpenWebText532.5MSR2 58.32FO-b-OWT 61.16+4.9%
TinyStories, first order between layers (FO-a)315MSO-TS 5.16FO-TS 5.13−0.6%
OpenWebText, with 64 Poisson-mode wells532.5MPMX 54.63FO-b-PMX 54.02−1.1%
OpenWebText, with 16 Poisson-mode wells532.5MPMX-K16 54.24FO-b-PMX-K16 53.73−0.9%
OpenWebText, with 2 Poisson-mode wells532.5MPM2-PMX16 54.71FO-b-PM2-PMX16 53.81−1.6%
TinyStories, true first order (FO-b), no wells315MSO-TS 5.16FO-b-TS 5.28+2.3%
TinyStories, with 2 Poisson-mode wells315MPM2-TS 4.99FO-b-PM2-TS 4.96−0.5%
Python code, true first order (FO-b), no wells315MSO-CODE 6.00FO-b-CODE 6.55+9.2%
Python code, with 2 Poisson-mode wells315MPM2-CODE 5.71FO-b-PM2-CODE 5.62−1.6%
  • This model: settled 5.13 (mean of the last three evals, 5.10, 5.13, 5.17); best 5.10 at step 18,000. Validation perplexity at block 512, on TinyStories's own validation tokens.
  • Trained on exactly 315,392,000 tokens (19,250 steps × 32 × 512), the first 16,250 on the ladder's WSD schedule and the last 3,000 at its floor learning rate: the settling check failed at 16,250 steps and both arms of the pair were extended equally.
  • Pre-registered: Delta_TS within +-3%, called 55%: HIT, -0.6%. The Stage-0 rule's call that FO-TS shows a gap because SO-TS's wells are anharmonic (epsilon at least 0.3), called 50%: MISS, FO-TS's wells are more anharmonic still and it matches.
  • Run health: 0 watchdog triggers, 0 spike captures; SCAF leak monitor CLEAN at every audit, including 19,250 (leak tax -2.4e-4 nats).

What first order means here

FO-a resets the velocity to zero where each layer begins (h_prev := h), so no velocity crosses a layer boundary. Inside a layer the step is unchanged, so in the stiff modes it is still an inertial flow started from rest. FO-a therefore removes the velocity between layers, not inertia as such; the true first-order model, FO-b (its OpenWebText run), removes inertia everywhere. Its TinyStories run (FO-b-TS) is queued.

How the pair compares

readingSO-TS (second order)FO-TS (first order between layers)
settled, after the extension5.165.13
settled before the extension (16,250 steps)5.225.19
anharmonic fraction ε of the wells at the output step (M1)2.594.52
output step size ‖Δh‖ (M1)13.420.7
stiffness of the wells, median ω·Δt at the end of training6.695.72
  • The pair is level. FO-TS led by about 2% through the constant phase and the lead shrank in the decay to 0.6%, a steady paired difference (−0.0056 nats, sd 0.0007 over seven evals) far inside the unmeasured seed spread.
  • Anharmonic wells do not predict a need for second order. The Stage-0 rule said a model whose wells are anharmonic (ε at least 0.3) would need second order; FO-TS's wells are more anharmonic than SO-TS's, and it matches. The wells adapt to the dynamics they are trained with.

Off the trained schedule (Cell 6b-7) and the per-layer flow (FLOW-R)

readingthis modelits pair partner
Gate 1: perplexity cost of resetting the velocity at inference0 (no velocity carried)+2.0%
Gate 2: one extra layer at the trained step+1.1%+25.5%
Gate 2: eight layers+77%+2,005%
Gate 3: three steps over the trained time (standard refinement), nats0.3910.211
per-layer flow: penalty at N = 16, nats0.2790.097

Per-layer flow of this model (FLOW-R, 12 × 4 × 512 fresh tokens; the context and the stiff modes' quadratic held at each layer's entry, one LayerNorm projection per layer), perplexity by the number of steps N over the trained time T = 8; N = 2 is the trained model, and N = 4, 6, 8 split each of its two layers into 2, 3, 4 substeps:

steps N2 (trained)34681216
perplexity5.478.556.827.057.217.307.23
penalty, nats00.4470.2210.2540.2760.2890.279
  • Extra layers are almost free: one more layer costs +1.1% against SO-TS's +25.5%.
  • FO-a's standard refinement is not a refinement test. A step from rest moves a token by about the layer step squared over twice the mass, times the force; N steps of a smaller size move it by a total that shrinks as N grows, so FO-a is not a discretisation of any one flow as the step changes. Its per-layer flow converges, but to a limit 0.28 nats above the trained step (SO-TS: 0.097).

Reproduction

colab_fock_cfc_baoab_lowrank_depth_ladder_openwebtext_d384.ipynb, Cell 0 changed from the defaults:

REVERSE_CHANNEL=False, VPHI_GRAD_PATH='live', XI_GRAD_PATH='live',
LOWRANK_DAMPED_FLOW=True,
FIRST_ORDER_MEMORYLESS=True,              # tag 'fo'
CORPUS='tinystories', LADDER_STEPS=16_250,
VPHI_ANALYTIC_FORCE=True, LAYER_CHECKPOINT=False
# extension: EXTRA_FLOOR_STEPS=3_000, EXTEND_FROM_STEP=15_000 (same tag and folder)

Run Cells 0, 1, 1b, 1c, 1d, 2, 3, 4, 5, 5b and 6, then 8, 7 and 6b-7. Cell 5b prints an FO-a block (MEMORYLESS). The per-layer flow is debug/refinement_flow_confirmation.py (CPU), M1 is first_order_ablation/fo_series/stage0_models.py.

Training artefacts were written to semsimula_fock_cfc_baoab_ts_xi5long_topk16_dt32da16_mh4_aniso_dcvt5x8_vtjoint_cgqk_norc_vplive_xilive_sr2_fo_st16250_L2probe_ob_untied_wsd_e5c_plgate_rep0.05_fockreg0.005_g0.1_baoab_cfc_lowrank_idt4_lr0p0012_noattn/.

Glossary

termmeaning
settled PPLvalidation perplexity at block 512, the mean of the last three evals (steps 31,500–32,500). Best is the lowest single eval
Gen 1 / Gen 2 / Gen 3the model generations. Gen 1: explicit integrators. Gen 2: the CfC/BAOAB ladder with the sources of Vφ and ξ (and of an exchange field) detached, which keeps every force causal, but no loss gradient ever reaches an earlier token through them. Gen 3: the same forward pass with those gradients live
live / detached gradientswhether the loss gradient flows into the earlier tokens that act as sources of a force. Detaching changes no forward value; it only cuts that backward path
Vθthe learned scalar potential on a token's state h, given its context ξ: a bank of anisotropic Gaussian wells. Its negative gradient is the conservative force on the token
Vφa pair potential between a token and a few selected earlier tokens (sparse top-k)
ξthe causal context channels: exponential moving averages of earlier states at several horizons, which condition Vθ
Fock mechanism, registers, reverse channela pool of register particles, created and destroyed from the token context. The reverse channel is the register-to-token force; it is not the gradient of any potential on the tokens, so it is the model's non-conservative part
exchange fieldan attention-like token-to-token interaction added to the conservative core. Each token is pushed by earlier tokens through learned query, key and value projections, as in attention. The ladder tests it in two forms, attention and attention_potential
attention (non-conservative exchange field)the exchange term enters as a force directly. It is not the gradient of anything, so the step stops being a geodesic step
attention_potential (attention as a potential)the same interaction written as a scalar potential whose gradient is the force. The routing weights are computed from the hidden states and held fixed with respect to the state being moved, so the force stays an exact gradient and the model stays conservative
no-exchange (LADDER_MECHANISM = 'none')the arm with no exchange field at all: Vθ, Vφ and ξ, plus the Fock register mechanism unless the arm is conservative-only
live exchange field (RELAX_GRAD_PATH = 'live')attention_potential with the identical forward force written out over live tensors, so the loss gradient reaches the field's sources and routing. In Gen 2 these were detached, and the field sent no gradient into any hidden state
Gen 2 probea Gen 2 arm retrained with one gradient path changed, to test a hypothesis before the full Gen 3 ladder. The live-exchange-field probe (attention_potential with RELAX_GRAD_PATH = 'live', the full 32,500 steps) is the one that found the gradient starvation
gpt2-matchedthe reference transformer: GPT-2 architecture, d = 384, L = 8, tied embeddings (33.7M parameters), trained on the same tokenizer, corpus, batches and token budget. Shared by Gen 2 and Gen 3
tag components (vplive, xilive, rglive, norc, L4probe, idt…)pieces of the run's variant tag, so that every configuration gets its own Drive folder: live Vφ sources, live ξ, live exchange field, no reverse channel, the depth L, and the integrator step Δt
conservative-onlya model in which every force is a gradient: no reverse channel and no non-conservative exchange field
CfC/BAOAB low-rank propagatorthe integrator. Each layer step is split into position (A), force kick (B) and friction (O) substeps, and the stiff harmonic modes of Vθ are integrated exactly in closed form
ω·Δt, θa stiff mode's frequency times the step size. Past 2, an explicit integrator would be unstable (the wall); the closed-form propagator is not. θ/sin θ is the factor by which a split step's dissipation depends on the mode's phase, largest near θ = π
geodesic step, R(geo), sharethe step a damped particle would take under Vθ alone; R(geo) is the distance of the real step from it, relative to the step's length. A component's share is how much it moves that distance (6b-9 attribution)
Gates 1–3, FLOW / MAPSsee Terms in the geometry section
CG1–CG7, 6b-Nthe CfC-geometry experiments, and the ladder-notebook cells that run them
SCAF, Tier A, Tier Bthe in-flight causal-leak monitor. Its core test changes future tokens and requires the logits at earlier positions to stay bit-identical. Tier A asks the same of the hidden states, as 1 − cos between the clean and perturbed state at each earlier position and layer. Tier B asks whether the perturbation moves any earlier state into a different dominant Vθ well (the basin-crossing rate). All three read 0 for a causal model
leak tax, prefix-onlythe loss difference between scoring a position with only its prefix and with the full sequence; about 0 for a causal model
clip-hitthe share of logged steps whose gradient norm exceeded the clipping threshold (1.0)
pre-registereda prediction recorded, with its threshold, before the run

Files

pathwhat
README.mdthis card
config.jsonarchitecture, training, the first-vs-second-order switch, result and diagnostics
checkpoints/fock_cfc_*noattn_best.ptweights at the best eval (step 18,000), optimizer state stripped
checkpoints/fock_cfc_*_step500_best.ptweights at step 500, an initialisation reference
results/the training log and full run outputs, Cell 6b-7, the per-layer flow and M1
code/the notebook and the model code the switches belong to

Companion notes

notewhat it covers
The_Per_Layer_Flow_Test.mdthe per-layer flow test (FLOW-C): what it measures, the switches, the model kinds, the exact checks and options, the pre-registered calls, and every reading on Cell 6b-7's batches
The_Per_Layer_Flow_Test_on_Fresh_Batches.mdthe same test on fresh batches (FLOW-R): the convergence criterion and what it bounds, the batch-set uncertainty of the gap, and every model's reading
First_vs_Second_Order_Series.md§5.13: the first-vs-second-order series, its pre-registrations, amendments and scored results
Future_of_Semantic_Simulation_When_Second_Order_Earns_Its_Keep.mdwhat the equations say about when second order earns its keep, revised after this series' OpenWebText result

Caveats

  • One seed per model. The yardstick for small gaps, the seed spread, has not been measured.
  • The hyperparameters were tuned for the second-order models (learning rate 1.2e-3, the WSD fractions, the clip groups).
  • L = 2. One layer boundary is the weakest possible test of a velocity carried between layers.
  • TinyStories only; the two pairs differ in corpus and token budget, so perplexities compare within a pair, not across pairs.

Citation

@misc{Gueorguiev2026SemSim,
  author    = {Gueorguiev, Dimitar P.},
  title     = {Semantic Simulation: A Prescriptive Lagrangian Framework
               for Semantic Inference --- Conservative Potentials,
               Conservative and Non-Conservative Memory, and Competing Mechanisms},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.19712427},
  url       = {https://doi.org/10.5281/zenodo.19712427},
  note      = {Version v25 (Nov 9, 2026).
               Companion code repository (DOI 10.5281/zenodo.24066016):
               \url{https://github.com/dimitarpg13/semsimula-paper}}
}

Card generated from _ladder/ladder.json on 2026-12-02.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch

Нельзя запустить

Архитектура ? неизвестна transformers в образе рантайма.

Ревизия весов
e4c278d

0 моделей