Ir para o conteúdo
ModelVerificadoExterno
Baixar

Albert

Version: v3.0 (ternary MoE) Maintainer: RFI-IRFOS, [email protected] Repository: License: LGPL-3.0-or-later (model weights, training code, inference runtime). Platform infrastructure (API server, MCP tooling, HDL)...

TipoOtherVersãoRevision 07cdf84Publicador@rfi-irfosCnota

Fonte do modelo

Tipo
Other
Tamanho do arquivo
872 MB
Versão
vRevision 07cdf84
Atualizado
20 de out. de 2026
Publicador
@rfi-irfos
Downloads
24
Fonte
Hugging Face

Descrição da fonte

Model Card — albert. (Albert-MoE-13)

Version: v3.0 (ternary MoE)
Maintainer: RFI-IRFOS, [email protected]
Repository: https://github.com/rfi-irfos/ternary-intelligence-stack
License: LGPL-3.0-or-later (model weights, training code, inference runtime). Platform infrastructure (API server, MCP tooling, HDL) is BSL-1.1. See README §Licensing for the full tier breakdown.
Last updated: 2026-06-21
Training status: Active (ep~7592) on Modal — 33L dual-stream · 20 depth surgeries + 1 cord surgery complete. S19 (31L→32L) fired ~ep6500, 2026-06-15. S20 (32L→33L) fired ~ep7000, 2026-06-21. Context window doubled 256→512 — enabled by CTX-aware evolution gate (CTX_LEVEL_TABLE 64→1M, recalibrate_ctx() auto-scales mastery/plateau thresholds per CTX level). Best EP-AVG ATL 4.6842 (ep7588, 33L) and descending. Chip ATL 0.6116. fib_index=8 · window=55 · Gen3 step1/6. Mastery surgery gate: 4.0 nats (recalibrated from 4.5 at 256CTX).


Model Overview

albert. is a research-grade language model trained from scratch using a ternary weight representation (-1, 0, +1) with a Mixture-of-Experts (MoE) architecture. It is developed by RFI-IRFOS as a demonstration that high-quality language modelling is achievable without 32-bit floating-point weights, targeting inference on edge hardware and low-power devices.

PropertyValue
ArchitectureDual-stream Ternary MoE (Mixture of Experts)
Streams2 (bifurcated via cord surgery ep4202, 2026-05-27)
Layers33 per stream
Hidden size2×256H (256H per stream)
Anastomosis gates6 — bidirectional F32 cross-stream fusion at Fibonacci layers [2,3,5,8,13,21]
Experts12 per stream (Top-3 routing; shared FFN weights, independent routing gates)
Context length512 tokens (bumped 256→512 at ep7592, 2026-06-21)
Vocabulary32,000 tokens (ByteLevel BPE — EN/DE/FR/ES/PT/IT/NL/PL)
Weight representationTernary {-1, 0, +1} with STE training
Gate linearF32
Positional encodingRoPE (rotate_half)
OptimizerAdamW, cosine LR decay, BATCH=1 (post-cord)
Parameters (total)~255M (approx, 33L — updated 2026-06-21)
Safetensors~2,534 tensors · ~928 MB (approx, 33L)
Surgeries20 depth (S1–S20) + 1 cord surgery = 21 total surgical events

The central technical innovation is the @sparseskip primitive — a learned sparse-skip layer that dynamically bypasses computation paths based on token-level activation patterns, enabling sub-linear inference scaling without pruning.


Intended Use

Intended uses:

  • Research into ternary and low-precision neural network architectures
  • Benchmarking inference performance on CPU and edge GPU hardware
  • Academic study of Mixture-of-Experts routing dynamics
  • Demonstration platform for the SPRIND AI funding initiative (Germany)

Out-of-scope uses:

  • Production deployment as a general-purpose assistant without further fine-tuning and safety evaluation
  • Safety-critical applications (medical, legal, financial decisions)
  • Any use requiring factual accuracy guarantees
  • Deployment to users without appropriate transparency disclosure

Training Data

See DATA_PROVENANCE.md for full source documentation and governance details.

Summary:

albert. is trained on a curated multilingual corpus composed of:

TierContentApproximate Share
CoreProject Gutenberg (public domain books, multilingual)~30%
CoreWikipedia (15 languages: EN, DE, FR, HU, ZH, AR, KO, SV, FI, NL, PL, RU, JA + more)~25%
CoreOpenWebText (filtered Common Crawl)~15%
TechnicalGitHub issues, developer blogs, HN discussions~10%
ChaosSynthetic noise, adversarial patterns, mixed-language text~10%
StructuredCode samples, structured data (JSON/YAML/TSV)~5%
MultilingualAdditional EU language samples~5%

The 10% chaos layer is a structural invariant enforced by the training pipeline (train_tokenizer_v3.py). It exists to prevent the model from over-fitting to clean text distributions and to improve robustness to noisy inputs.


Evaluation

Primary metric: Cross-entropy loss on a held-out WikiText-2 sample (eval_sample.txt, not seen during training).

Benchmark results (benchmark suite v2.0.0):

EpochLoss (avg)Epoch ATLBatch ATLTok/s (T4 GPU)
Ep54~10.3510.35—11.24 (CPU)
Ep111~10.3610.36—18.52
Ep849~10.2210.2050—pending
Ep117710.207610.2059 (ep1158)10.1738 (ep1155)pending
Ep139010.121210.1212 (ep1390)10.0670 (ep1385)pending
Ep143510.111310.1113 (ep1435)10.0556 (ep1435)pending
Ep143810.107110.1071 (ep1438)10.0556 (ep1435)pending
Ep144110.106710.1067 (ep1441)10.0556 (ep1435)pending
Ep145510.106010.1060 (ep1455)10.0396 (ep1445)pending
Ep147410.098210.0982 (ep1474)10.0396 (ep1445)pending
Ep1553~10.07 (est)10.0982 (ep1474)9.9948 (ep1553) ← first sub-10.0 batchpending
Ep2040~9.82 (est)9.7976 (ep2084)9.6380 (ep1445)9.6–18.5 (CPU)
Ep20849.79769.7976 ← epoch ATL9.6380 (ep1445)pending (T4)
Ep2104~9.81 (est)9.7976 (ep2084)9.6380 (ep1445)9.9–21.3 (CPU)
Ep21099.79759.7975 (ep2109)9.6380 (ep1445)pending
Ep21149.78919.7891 (ep2114)9.6235 (ep2114) ← batch ATLpending
Ep21169.78849.7884 ← epoch ATL9.6235 (ep2114)pending
Ep2487S6 fired18L→19L surgery—2026-05-20T21:33Z; Gen1 step1/6
Ep29229.49929.4992 ← first sub-9.509.1370 (chip)2026-05-22; LOG expert 0%→28% awakening
Ep32639.3651← epoch ATL9.0095 (chip)Broke 139-epoch plateau
Ep3325S7 fired18L→19L surgery—2026-05-24T13:47Z; 1315 tensors
Ep33269.3182← epoch ATL (first 19L ep)8.9190 (chip)+0.047 nat improvement over prior best
Ep3383S8 fired19L→20L surgery—Only 58 epochs after S7
Ep34569.2847← epoch ATL (20L)8.8540 (chip)WALD ep3454 INT 91% cliff
Ep~3470S9 fired20L→21L surgery—Largest post-surgery spike in history (+0.14 nat)
Ep~3652S10 fired21L→22L surgery—Pre-surgery best 9.2933
Ep~4098S11 fired22L→23L surgery—2026-05-27 morning
Ep~4140S11b fired23L→24L surgery—Rapid plateau ~42 ep after S11
Ep4202S12 fired24L→25L surgery—2026-05-27T16:43Z; Gen3 plateau
Ep4202CORD surgery25L → 2×25L dual-stream—2026-05-27T16:44Z — first ever autonomous single→dual-stream bifurcation
Ep~42039.3241← first post-cord epoch avg8.7123 (chip, new ATL)Dual-stream live
Ep~4207S13 fired25L→26L surgery (both streams)8.6852 (chip, new ATL)2026-05-27T17:40Z; fib_index 6→7
~ep4280S14 fired26L→27L (both streams)—2026-05-29
~ep4350S15 fired27L→28L (both streams)—2026-05-29
~ep4453backbone-trains cliffEP-AVG 9.38 → 8.43 in <100 ep—DiffLayerNorm fix unfroze the transformer body — largest structural drop in the run
~ep4740S16 fired28L→29L (both streams)—2026-05-31 (✓ checkpoint-mtime)
ep5610S17 fired29L→30L (both streams)—2026-06-06 21:08 (✓ checkpoint-mtime)
ep6132EP-AVG ATL 6.433930L1.2637 (chip)prior 30L best
ep6339S18 fired30L→31L (both streams)—depth surgery; Fibonacci-gated
ep6487EP-AVG ATL 5.869331L1.2637 (chip)former all-time best
~ep6500S19 fired31L→32L (both streams)—2026-06-15 · Fibonacci plateau gate
~ep7000S20 fired32L→33L (both streams)—2026-06-21 · autonomous
ep7588EP-AVG ATL 4.684233L — all-time best0.6116 (chip)512CTX · BATCH=1 · Modal · descending

The benchmark suite runs 5 fixed prompts covering English, German, multilingual, narrative, and technical domains. Results are reproducible via the open-source moe-test binary.

Surgery gate prediction (recorded 2026-05-16T18:40Z) — outcome update 2026-05-19:

A trendline fitted to the ep400–ep1459 loss curve predicted the surgery gate threshold (9.8 epoch-avg) at approximately ep~2000. Prediction confirmed: the loss gate was cleared at ep2080 (9.7997, 2026-05-19T10:40Z), within the predicted ep2000–2150 window.

The gate fires when loss plateaus below 9.8 for a 144-epoch window with myc_stable ≥ 5. The loss gate was cleared at ep2080. Following that, albert. entered an alternating descent phase: five new epoch ATLs in seven epochs (ep2109–ep2116), dropping from 9.7976 → 9.7884 in under two hours of wall time. WALD sev=0.953; myc_L3 showed its first activity uptick (1.61→1.68 ×10−9) at ep2114. The plateau gate cannot fire during active descent — surgery timing is now conditioned on when the model settles into the next attractor, not on a fixed epoch countdown.

Milestone (2026-05-17T05:48Z): First sub-10.0 batch loss in albert. history — 9.9948 at ep1553 batch 149/300.
Milestone (2026-05-19T10:40Z): First sub-9.8 epoch average — 9.7997 at ep2080. Surgery loss gate cleared.
Milestone (2026-05-19T11:00Z): New epoch ATL — 9.7976 at ep2084.
Milestone (2026-05-19T13:29Z): New batch ATL — 9.6235 at ep2114 (prev 9.6282).
Milestone (2026-05-19T13:40Z): Alternating descent confirmed — five new epoch ATLs in seven epochs; epoch ATL reaches 9.7884 at ep2116.

Known limitations:

  • At current training depth (~ep6670, 31L dual-stream), output quality is pre-fluency: the model produces partially coherent text in familiar domains but lacks consistent grammatical structure across longer sequences.
  • Context window of 128 tokens is shorter than contemporary LLMs; cannot maintain coherence over longer passages.
  • Ternary quantization trades weight precision for size — at this scale, some representational capacity is lost relative to F32 equivalents.
  • No instruction-following fine-tuning has been applied.
  • No RLHF, Constitutional AI, or safety fine-tuning of any kind.
  • Bias evaluation is pending (see below).

Open research questions (scaling risks):

  • STE gradient approximation at scale: Straight-Through Estimation is the training mechanism for ternary weights. Its stability and convergence properties are well-characterised at the current scale (~228.5M params). Whether STE remains stable through training runs at 500M–1B+ parameters is an open empirical question — no published work has demonstrated ternary STE convergence at frontier scale.
  • @sparseskip speedup baseline: The 83 tok/s inference figure is measured against albert.'s own F32-weight dense equivalent on the same hardware. It is not a direct comparison with INT4-quantized industry inference (TensorRT-LLM, llama.cpp Q4). The relevant claim is that ternary weights eliminate a quantization step entirely — the speedup over post-hoc INT4 quantization of a larger model is a separate, untested question.
  • Net2net surgery stability at scale: All five documented layer-addition surgeries were performed on a model in the 13M–58M parameter range. Whether the Fibonacci-gated surgery protocol remains stable when applied to models at 200M+ parameters has not been tested. The plateau-gate's withhold behavior...

Fontes

1 fonte
Hugging FacePrimárioVersão 07cdf841dee5b319c212fb406639b8abc02ed366
huggingface.co/rfi-irfos/albert/tree/07cdf841dee5b319c212fb406639b8abc02ed366

Verificado 20 de out.

Artefatos de modelo

1 artefato

albert_v3.0.best.safetensors

safetensors · 872 MB · SHA-256 014386c1e918…7b1b · Hugging Face

Baixar

Trechos de fonte

3 trechos

--- language: - en - de - fr - es - pt - it - nl - pl - multilingual license: lgpl-3.0 tags: - mixture-of-experts - ternary-weights - moe - edge-ai - research - candle - rust - federated-learning - low-precision - sprind - dual-stream - cord-surgery - net2net pipeline_tag: text-generation --- # Model Card — albert. (Albert-MoE-13) **Version:** v3.0 (ternary MoE) **Maintainer:** RFI-IRFOS, [email protected] **Repository:** https://github.com/rfi-irfos/ternary-intelligence-stack **License:** LGPL-3.0-or-later (model weights, training code, inference runtime). Platform infrastructure (API server, MCP tooling, HDL) is BSL-1.1. See [README §Licensing](README.md#licensing) for the full tier breakdown. **Last updated:** 2026-06-21 **Training status:** Active (ep~7592) on Modal — **33L dual-stream** · 20 depth surgeries + 1 cord surgery complete. S19 (31L→32L) fired ~ep6500, 2026-06-15. S20 (32L→33L) fired ~ep7000, 2026-06-21. Context window doubled 256→**512** — enabled by CTX-aware evolution gate (`CTX_LEVEL_TABLE` 64→1M, `recalibrate_ctx()` auto-scales mastery/plateau thresholds per CTX level). Best EP-AVG ATL **4.6842** (ep7588, 33L) and descending. Chip ATL **0.6116**. fib_index=8 · window=55 · Gen3 step1/6. Mastery surgery gate: 4.0 nats (recalibrated from 4.5 at 256CTX). --- ## Model Overview albert. is a research-grade language model trained from scratch using a **ternary weight representation** (-1, 0, +1) with a Mixture-of-Experts (MoE) architecture. It is developed by RFI-IRFOS as a demonstration that high-quality language modelling is achievable without 32-bit floating-point weights, targeting inference on edge hardware and low-power devices. | Property | Value | |----------|-------| | Architecture | **Dual-stream** Ternary MoE (Mixture of Experts) | | Streams | **2** (bifurcated via cord surgery ep4202, 2026-05-27) | | Layers | **33** per stream | | Hidden size | **2×256H** (256H per stream) | | Anastomosis gates | **6** — bidirectional F32 cross-stream fusion at Fibonacci layers [2,3,5,8,13,21] | | Experts | 12 per stream (Top-3 routing; shared FFN weights, independent routing gates) | | Context length | **512 tokens** (bumped 256→512 at ep7592, 2026-06-21) | | Vocabulary | 32,000 tokens (ByteLevel BPE — EN/DE/FR/ES/PT/IT/NL/PL) | | Weight representation | Ternary {-1, 0, +1} with STE training | | Gate linear | F32 | | Positional encoding |...

Source context: 24 downloads · 2 likes · Pipeline text-generation · Repo rfi-irfos/albert

Source context: 20 downloads · 2 likes · Pipeline text-generation · Repo rfi-irfos/albert