Downloads · 30 days
0
MarxistLeninist/AGILLM-4.4
AGILLM-4.4 is a text generation model from MarxistLeninist. Use it when you need the model to write or continue text. It is set up for pytorch. The card lists the license as other.
This repository releases a point-in-time, model-only export of the 49,097,218-parameter detachable causal-language-model student produced alongside the continuing 1,221,580,802-parameter AGILLM parent.
Downloads · 30 days
0
Access
Public
Updated Oct 16, 2026
Repo size
243 GB
Likes
1
Public
Click a slice to open those files.
.pt242 GB · 100%
From the Hugging Face model README
This repository releases a point-in-time, model-only export of the 49,097,218-parameter detachable causal-language-model student produced alongside the continuing 1,221,580,802-parameter AGILLM parent.
The initial weight release does not contain the 1.22B parent weights or parent optimizer state. The released weight artifact was frozen from the student state associated with parent checkpoint step 2,560,770. The current single-file trainer source is now published below.
Adaptive General Intelligence Large Language Model v4.4 is the release boundary for AGILLM's checkpoint-compatible, Matryoshka-inspired teacher-student system:
AGILLM 4.4 does not replace or freeze the parent. The parent keeps training normally. After an accepted parent update, a stop-gradient copy of an already-computed mature AR hidden representation may train one attention or FFN sublayer in the detachable student.
accepted mature 1.22B DBlock commit
|
+-- detached final AR hidden state
|
+-- one 49.1M student sublayer update
The student has no authority to select parent batches, route parent layers, change parent gradients, retry a mature batch, or inject activations into the mature forward pass.
Download agillm44_singlefile.py
This is the full current trainer/inference/supervisor source. All AGILLM custom Python code is in this one file, including eight embedded support modules and the SAT seed tensors. It preserves the running trainer's AR/SAT/NAT, DBlock and dynamic SAT-var code.
Python and third-party libraries remain required; use requirements-trainer.txt for the verified Python 3.10 environment. Checkpoints, tokenizer/data assets and optional run configuration are inputs rather than additional Python modules.
python agillm44_singlefile.py --help
python agillm44_singlefile.py train --help
Source SHA-256: a0660f15ec322f815e8133aa116e60c693d4fbd9f48ee4b232432ae8c71ffc50.
The source and embedded modules were checked for literal credentials. No hardcoded credentials were identified; private credential files and environment values are not included. Proxy URLs are redacted in supervisor logs. See runtime/README.md.
This work is inspired by Matryoshka Language Model Suites, but it is not a faithful reproduction of that paper's shared-parameter, end-to-end nested suite.
AGILLM-4.4 retrofits a separate top-level student around an already mature parent. The student was initialized from deterministic read-only slices of the parent and then trained with detached teacher representations. Results reported for the referenced paper—including benchmark parity, compute savings, or speculative-decoding gains—are not results for this implementation.
AGILLM 4.3 established the mature 28-layer DiffusionBlock/MoE training line. AGILLM 4.4 adds a new checkpointed component with its own architecture, optimizer, scaler, RNG, counters, schedule, export format, and failure boundary. Internal agillm43.* checkpoint identifiers are intentionally retained where required for backward compatibility; the product/release boundary is 4.4.
| Component | Configuration |
|---|---|
| Mature parent | 1,221,580,802 parameters; width 1,280; 28 layers; 20 heads; tied K/V; MoE; 14 DBlocks |
| Parent objectives | Committed AR/SAT/NAT schedule with full-stack anchor passes |
| Detachable student core | 49,096,704 unique parameters; width 256; 22 layers; 4 heads; rank 64; dense FFN; tied K/V |
| Standalone student export | 49,097,218 parameters (core) + calibrated 514-parameter SAT-VAR gate (Linear 256->2) |
| Training bridge | LayerNorm(256) plus biasless 256-to-1,280 projection |
| Student plus bridge | 49,425,410 parameters |
| Student objective | Exact streamed causal CE plus normalized-hidden/cosine distillation |
| Student optimizer | Separate PagedAdamW8bit state; separate scaler and RNG |
| Live update mode | Batch 1; 64 target tokens; one attention/FFN sublayer at a time; rare full-stack student anchor every 128 attempts |
The standalone file is below 50 million parameters. The bridge is training-only and is excluded from the independently usable export.
The first AGILLM 4.4 repository artifact is exported from the atomic joint checkpoint below:
| Field | Value |
|---|---|
| Parent checkpoint step | 2,560,770 |
| Parent observed-token counter at snapshot | 248,383,631,360 |
| Parent checkpoint main SHA-256 | c5fa1674b09645f9a8e3005b463ddd4b973ec6a9ddf5d2b5485fe2511902f6ca |
| Immutable pointer record SHA-256 | 88b71c71e3a011faf65d1d7ca649ac4a6579630b0b0b8e6f63172dcdcd4bc9cf |
| Student commits stored in checkpoint | 2,900 |
| Full-stack student anchors stored | 22 |
| Student OOM/error/overflow skips | 0 / 0 / 0 |
| Last stored train-crop student CE | 30.82943344116211 |
| Last stored hidden distillation loss | 0.0004056104808114469 |
Artifact:
artifacts/detachable-50m/detachable_50m_step02560770.pt
182,879,879 bytes46103c67118eadb6a265c3c8ba871b6d4732344c567ee5247af224f22e0f8a4a49,097,218corrected, scale 0.0The one-token loader result is a compatibility smoke test, not a quality or throughput benchmark. The parent observed-token counter belongs to the parent; it is not a claim that the student directly consumed 248B tokens.
This is a custom AGILLM checkpoint, not a transformers.AutoModelForCausalLM directory. Use the included model-only loader:
python agillm44_detachable_50m_loader.py \
--checkpoint artifacts/detachable-50m/detachable_50m_step02560770.pt \
--expected-sha256 46103c67118eadb6a265c3c8ba871b6d4732344c567ee5247af224f22e0f8a4a \
--expected-tokenizer-sha256 0e546c51529290ed4b18dc8b3e481a9ea39a2df2175b65ecb281af6bac79af73 \
--device cpu \
--prompt "The capital of France is" \
--max-new-tokens 64 \
--greedy
The loader contains only the detachable model definition, bounded zstd decoding, exact contract validation, embedded-tokenizer restoration, and AR generation. Both the outer wrapper and decompressed payload use torch.load(..., weights_only=True) with no unsafe fallback. It has no training, network, credential, supervisor, checkpoint-retention, or production-provenance code.
The current production trainer source is available as agillm44_singlefile.py. It includes training, inference, supervision, checkpoint handling and all custom modules. See runtime/README.md for dependencies and the source audit.
The verified public-loader test used Python 3.10, PyTorch, tokenizers==0.21.0, and zstandard support. The historical production loader also passed with transformers==4.48.0 and tokenizers==0.21.0. GPU training additionally uses bitsandbytes/PagedAdamW8bit.
Established:
Not established:
A decrease in online hidden-distillation training loss is telemetry, not a held-out evaluation or an acceleration result.
This repository includes the standalone student, the model-only loader, tokenizer bundle, release metadata, documentation and the current single-file trainer source. The original joint parent/student training checkpoint is not duplicated into this repository; see CHECKPOINTS.md. Publishing the current trainer source does not replace the older weight artifacts.
The repository uses the same license: other classification as the existing AGILLM 4.3 model repository. No additional license grant is implied by publication; review the repository terms before redistribution or commercial use.
AGILLM-4.4 features SAT-VAR (Self-Attentive / Variable Stride Autoregressive generation), dynamically emitting 1 or 2 tokens per forward pass based on a balanced speed-versus-intelligence training objective:
det50_export_sat_gate_balanced.pt): A 514-parameter linear gate (Linear(256, 2)) trained and calibrated directly on internal hidden representations from the student checkpoint across held-out tokens (achieving AUROC 0.7619).# Zero-config: companion gate det50_export_sat_gate_balanced.pt is automatically discovered
python agillm44_detachable_50m_loader.py \
--checkpoint artifacts/detachable-50m/detachable_50m_step02560770.pt \
--prompt "Artificial intelligence enables systems to" \
--satvar \
--max-new-tokens 64 \
--device cpu
Or specify the gate and custom threshold explicitly:
python agillm44_detachable_50m_loader.py \
--checkpoint artifacts/detachable-50m/detachable_50m_step02560770.pt \
--sat-gate artifacts/detachable-50m/det50_export_sat_gate_balanced.pt \
--satvar-threshold 0.45 \
--prompt "The history of computing began when" \
--satvar \
--max-new-tokens 64 \
--device cuda
At inference time, the loader reports real-time execution statistics:
[agillm44] device=cuda dtype=bfloat16 generated=48 elapsed=4.35s satvar=active strides={'1': 14, '2': 17} mean_stride=1.55 tok_per_fwd=0.980
strides: distribution of single-token (stride 1) vs speculative two-token (stride 2) emissions.mean_stride: effective speedup factor across the generated sequence.tok_per_fwd: generated tokens per core model forward pass.