Elamur GroupantsโŒ•
โ˜ฐ

gparse-model-configuration

The groupant beside gparse/src/model.rs in the Mova repository: what the code computes, what it never does, how to go back from its outputs, its invariants, cost and checks.

Facts

Implementation material. A Mova code model describes this code at one source revision: partial models, finite checks and their stated scope. It is not a reviewed general exposition, and its labels are shown as written, never raised.

Components

componentlabelwhere
approximantpartialapproximant
astpartial../syntax.json
costsymbolic source derivedinvariant
descriptantpresentdescriptant
invariantpartialinvariant
testspartial bounded checkstests

Obernants

The typed relations around the forward model: the behaviour complement (what the code never does), the reverse reconstruction (every input compatible with an output) and specialised views.

idtypelabelwhere
behavior_complementbehavior_complementpartial source derived modelbehavior_complement
reverse_reconstructionreverse_reconstructionpartial source derived modelreverse_reconstruction
numeric_failurenumeric_failurepartial source derived modelnumeric_failure
text_projectiontext_projectionpartial source derived modeltext_projection
activation_choiceactivation_choicepartial source derived modelactivation_choice
roundtrip_domainroundtrip_domainpartial source derived modelroundtrip_domain

Model text

descriptant

Source-bound description

GELU chooses erf/tanh; config serialization records fields, parse starts default and processes ordered key=value lines.

Epoch 2026-10-31

Prospective model was recorded before edits. Added tests use bounded synthetic fixtures; production algorithms unchanged. Coverage is partial, not proof. No trained corpus, live teacher or throughput experiment was executed.

approximant

Forward approximant

GELU chooses erf/tanh; config serialization records fields, parse starts default and processes ordered key=value lines.

Domain: valid source-specific dimensions and resources stated in invariant; no automatic production substitution. Numerical observations are finite checks, not an end-to-end relative bound. Executable Rust surrogate: unsupported gap; existing exact tests are not surrogates. Future metric-specific caps may be 1/2/5/10%, never above 10%.

invariant

Invariant and cost

Bad numerics retain current field; unknown GELU errors; duplicate valid fields last win.

Cost

O(config bytes), constant field state.

Allocation, finite arithmetic, platform dimensions and external failures are not universally certified.

models

Typed model catalog

behavior_complement

Unsupported saved GELU cannot be repaired by later line because parsing aborts.

reverse_reconstruction

Many unknown-key/invalid-number texts map to the same cfg; saved form is canonical but not source-text inverse.

numeric_failure

parse failure retains current field, so invalid later repeated number keeps earlier successful value.

text_projection

Unknown keys and lines without '=' ignored; whitespace not trimmed.

activation_choice

Erf calls gelu_erf, Tanh calls gelu.

roundtrip_domain

Finite ordinary numeric fields serialize and parse; config does not enforce heads/divisibility/dropout validity.

tests

Checks and limits

Selected parent checks relevant to this fragment (not exhaustive): model::tests::embeddings_get_gradients; model::fused::which_ops_backprop; activation_configuration_roundtrips; CUDA gradient/GELU/synthetic optimizer checks; CPU prediction

Selected commands run twice debug and twice release; exact receipts and source-to-test mapping retained in wave30 gparse external run directory. Tests do not certify allocation failure, all NaN/overflow inputs, trained-model accuracy or corpus timing. Compiled mutants cover selected boundaries; per-source coverage is recorded in the external map, not presumed.

This page in Markdown โ†’ https://md.groupants.elamur.ai/free/en/mova/gparse/src/model.rs.groupant/configuration.groupant/