The loss landscape of Omoikane-50M-A27M-Base rendered in 3D: a viridis-coloured surface with contour lines, two dark basins and a yellow ridge, on a dark background.
Loss landscape of Base
rendered in Blender
Trained from scratch
on one Mac mini M4

Technical report · Learning when to forget and where to look

OMOIKANE
50M-A27M.

Hybrid MoE, one desk思兼

A hybrid mixture-of-experts language model, pre-trained, taught longer contexts and fine-tuned from random weights on a single Mac mini. Gated DeltaNet and multi-head latent attention, 16 routed experts and multi-token prediction: 48.3M parameters, 27.1M active per token, pre-trained on 2.5B tokens in 6.6 days with MLX and a custom Metal kernel. The whole chain, from the first data build to the end of preference training, ran for 205 hours on the one machine. Named after Omoikane, the Shinto deity of wisdom and counsel who thinks many thoughts together.

Omoikane-50M-A27M

Four checkpoints, one lineage. Each phase starts from the final weights of the one before.

Four phases.
One Mac mini.

All checkpoints are research models without safety tuning. Base and Base-4K continue text. Instruct writes fluent English, follows the chat format and knows who it is, but most of what it says about the world is unreliable, its arithmetic is usually wrong, and with greedy decoding it often repeats itself. Weights are float32 safetensors that load in transformers (custom code) and in the MLX training implementation.

Playground

Run it
in your browser.

The model runs on your own device. The page downloads the public weights from Hugging Face once (193 MB, then kept in your browser's cache) and generates in a background thread with a small JavaScript port of the model, about 45 tokens per second on an Apple M4 in our tests. Nothing you type leaves the browser. The port matches the MLX implementation to within 10⁻⁴ in the logits and gives the same greedy text.

Load a base model, then generate. The prompt appears here, followed by the model's continuation token by token.

Chat defaults come from an evaluation of 1,260 sampled replies of Instruct: temperature 0.5, top-p 0.9 and a repetition penalty of 1.15 on the reply's own tokens. Penalising the whole context instead, as transformers' generate() does, also penalises the JOSIE persona in the system prompt: with the model card's settings (0.7, 0.9, 1.1) Instruct said it was JOSIE in 38% of its answers about itself and made up another name in 42%; with these, 94% and 8%. Base models: temperature 0.8 and top-p 0.95, as on their cards. The cache line counts what the model keeps between tokens: the fixed Gated DeltaNet states plus 112 numbers per token in each MLA layer.

Usage

Usage

mlx-vlm runs Omoikane natively from version 0.8.2 (pip install -U mlx-vlm), straight from the Hugging Face repositories. Use its Python API for the base models: its command line always applies the chat template. Support in mlx-lm is in review.

Every repository also ships modeling_omoikane.py for transformers (custom code) and modeling_omoikane_mlx.py, the MLX training implementation, which needs only mlx and tokenizers. All of them load the same model.safetensors.

Instruct uses ChatML and always inserts the JOSIE system prompt. Sample with a repetition penalty: greedy decoding loops.

# pip install -U "mlx-vlm>=0.8.2"
from mlx_vlm import load, stream_generate, apply_chat_template

model, processor = load("Goekdeniz-Guelmez/Omoikane-50M-A27M-Instruct", trust_remote_code=False)
prompt = apply_chat_template(processor, model.config, "Who are you?")
for r in stream_generate(model, processor, prompt, max_tokens=256,
                         temperature=0.5, top_p=0.9, repetition_penalty=1.15):
    print(r.text, end="", flush=True)
Technical report

How Omoikane
was made.

An architecture chosen so that training fits in 32 GB of unified memory, a custom Metal kernel for the Gated DeltaNet recurrence, and one script that runs every phase unattended: build the data, train, benchmark, upload, then start the next.

48.3M

parameters in total, 27.1M of them active per token: 12 of the 16 routed experts in every MoE layer are idle for a given token.

6.6 days

to pre-train Base on 2.495B tokens on one Mac mini M4: 152,298 steps at a median of 4,447 tokens per second, without a restart.

11.5 GB

peak memory in pre-training, of the 32 GB that model, optimiser state, activations and data loader share.

16,384

tokens in the vocabulary. The embedding is 6.3M parameters, 13% of the model, and the 16k design matched a 32k one at 1.485 bits per byte.

>30×

slower growth of the decoding cache per token than an all-attention model with the same head sizes: fixed-size recurrent states, and a compressed latent in the two attention layers.

8 of 10

layers are Gated DeltaNet, with no positional encoding. Extending the context to 4,096 tokens meant changing the rotary base of two layers.

0.30

nats of validation loss between Muon and the better AdamW trial after 32M tokens (3.480 against 3.779), for 4–6% less throughput.

65.7%

of the multi-token-prediction head's guesses for token t+2 match the trunk's own: as a self-speculative drafter, 1.66 tokens per trunk forward pass before the draft's cost.

Out now · the technical report

All four phases are done.

The Chat phase ended on 2 December after 500 steps. Its judge was gamed (see the Chat phase below), and the released Chat model is step 250; its Hugging Face repository is still private. The technical report, 86 pages dated December 2026, covers all four phases.

PDF · 86 pages · 11.7 MB

The Omoikane technical report: the tokenizer, the data, the architecture, the training stack in PyTorch and MLX with its Metal kernel, the trials and the four phases, their evaluation, and the analysis of alignment and reward hacking.

Download reportReport · coming soon Model cards
Architecture

Two kinds
of memory.

Most layers are Gated DeltaNet, a recurrence with a constant-size matrix state and no positional encoding. Every fourth layer is multi-head latent attention, which keeps exact softmax attention for retrieval but caches only a low-rank latent. Feed-forward layers are fine-grained experts with a shared expert, and a multi-token-prediction module densifies the training signal.

Diagram of the Omoikane architecture: a 10-layer stack of Gated DeltaNet and MLA mixers with dense and MoE feed-forward blocks, the tied output head and the MTP module, with the GDN, MLA and MoE blocks drawn in detail.
Figure 1The 10-layer stack with Gated DeltaNet (blue) and MLA (orange) mixers, dense (grey) and MoE (green) feed-forward blocks, tied output head and the MTP module; right, the GDN, MLA and MoE blocks in detail. Only the orange blocks use positions.
01 · 8 of 10 layers

Gated DeltaNet

Each head keeps a 64×64 matrix state that decays and is corrected by a delta-rule update: one step of online regression per token, so the model can forget quickly and overwrite a key's value. Training and prefill use the chunked WY form (chunks of 128); a custom Metal kernel runs the sequential part.

S_t = α_t (I − β_t k_t k_tᵀ) S_{t−1} + β_t k_t v_tᵀ
02 · layers 3 and 7

Latent attention

Causal softmax attention with a decoupled rotary key shared by all heads and a sigmoid output gate. Only the key–value latent and the rotary key depend on past tokens, so that is all the decode cache keeps.

cache: 96 + 16 = 112 numbers per token and layer (multi-head attention with the same heads: 768)
03 · layers 1–8

Experts

16 routed SwiGLU experts of width 192 and one shared expert. Sigmoid scores pick 4 experts within the 2 best of 4 groups; a per-expert bias, moved after every step against the measured load, balances them without an auxiliary-loss trade-off.

top-4 of 16 + 1 shared · bias step 3×10⁻³ in pre-training
04 · index 10, training

Multi-token prediction

One extra MLA + SwiGLU block predicts the token two positions ahead from the trunk's last hidden state and the next token's embedding, sharing the final norm and the tied head. It can be dropped at inference or used as a one-token drafter.

L = L_LM + 0.1 · L_MTP + L_bal

Configuration

Omoikane-50M-A27M
Model hyper-parameters of Omoikane-50M-A27M
Vocabulary (tied embedding and head)16,384
Hidden size384
Layers (+ MTP)10 (+1)
MixersG G G M G G G M G G
Context1,024 → 4,096
GDN heads / key / value dim.6 / 64 / 64
GDN conv. kernel / chunk4 / 128
MLA heads6
MLA query / KV latent192 / 96
MLA q·k dim. (no-pos + rotary) / value48 + 16 / 64
RoPE θ10⁵ → 2×10⁶
Dense FFN layers0, 9 (SwiGLU 1,152)
Routed experts / width16 / 192
Shared experts1 (width 192)
Top-k · groups / eligible4 · 4 / 2
MTP depth / weight1 / 0.1

Parameters

Counted on the initialised model
Parameter count of Omoikane-50M-A27M, tied embedding counted once
ComponentParametersShare
Token embedding / head (tied)6,291,45613.0%
GDN mixers (8 × 746,572)5,972,57612.4%
MLA mixers (2 × 550,176)1,100,3522.3%
Dense SwiGLU FFNs (2 × 1,327,104)2,654,2085.5%
MoE FFNs (8 × 3,766,288)30,130,30462.3%
routed experts (8 × 16 × 221,184)28,311,552
shared experts (8 × 221,184)1,769,472
routers (8 × 6,160)49,280
RMSNorms8,064<0.1%
MTP module2,173,7284.5%
Total48,330,688100%
Non-embedding42,039,232
Activated per token27,097,024

“Activated” counts 4 of the 16 routed experts per token. The name rounds both totals: 50M, A27M.

The model layer by layer with the parameter count and decode cache of every layer, the MTP layer and the tied head.
Figure 2Layer by layer: the mixer and feed-forward block of each trunk layer with its parameter count, the decode cache it keeps, the MTP layer and the tied head. The residual stream is [B, L, 384] throughout.
The Gated DeltaNet block with its shapes and the chunked WY form used in training.
Figure 3The Gated DeltaNet block with its shapes. Left: projections, short convolution, gates, the gated delta rule and the gated output. Right: the chunked WY form for training and prefill, with the block-recursive triangular inverse that replaced a library solve that returned wrong results on PyTorch's MPS backend.
The multi-head latent attention block with its shapes and decode cache.
Figure 4Multi-head latent attention with a decoupled rotary key and an output gate, and the latent it caches when decoding.
The mixture-of-experts block: sigmoid routing, group-limited top-4, dispatch and bias-based load balancing.
Figure 5The mixture-of-experts block: sigmoid routing with a selection-only bias, group-limited top-4, dropless dispatch and the load-balancing update.
The multi-token-prediction layer with its shapes.
Figure 6The multi-token-prediction layer: the next token's embedding and the trunk's last hidden state, projected and passed through one MLA + SwiGLU block, predict token t+2 through the shared norm and head.
Inside the model

When, where
and how.

Five animations drawn to the model's real shapes and counts: one token's forward pass through the ten layers, each block op by op, what the decoding cache holds as the context grows, how a Gated DeltaNet head forgets and overwrites, and how the router sends a token to four of sixteen experts. Each plays while it is on screen; pause it, step through it with the arrows, or click the timeline.

01 · Forward pass

Follow one token through the stack.

From token id to logits, block by block. “Positions” shows the only blocks that know where a token sits.

This animation needs JavaScript; Figure 2 above shows the same stack.

Shapes, parameter counts and cache sizes are the model's (L is the sequence length). The words and the experts chosen are examples, not outputs of the model.

02 · Inside each block

Gated DeltaNet, MLA and the experts.

The three blocks op by op, the way one token flows through them. Click a block in the forward pass above to open it here.

This animation needs JavaScript; Figures 3 to 5 above show the same blocks.

Operations, shapes and parameter counts are the model's (per block they add up to 746,572, 550,176 and 3,766,288). The values in the small visuals — the six head states, the cache rows, the attention weights, the router scores — are illustrative.

03 · Decoding

What the cache holds as the context grows.

Every generated token adds to the cache of an attention layer. A Gated DeltaNet layer folds it into a state that never grows.

This animation needs JavaScript.

Computed from the configuration, in numbers held per sequence. A GDN layer keeps a 6 × 64 × 64 state and the last 3 inputs of its width-4 convolution over 1,152 channels: 28,032 numbers whatever the length. An MLA layer caches its 96-number latent and 16-number rotary key, 112 numbers per token. Multi-head attention with the same heads would cache keys and values, 2 × 6 × 64 = 768 numbers per token, in every layer.

04 · Gated delta rule

Learning when to forget.

One head's state, token by token: decay by α, recall what the key holds, write the correction with strength β.

This animation needs JavaScript.

A toy head computed live: an 8 × 8 state, three unit-norm keys and hand-picked gates. Orange cells are positive, blue negative. In the model each GDN layer has 6 heads with a 64 × 64 state, and α and β are computed from every token.

05 · Routing

Four of sixteen experts.

Sigmoid scores, the best 2 of 4 groups, the top 4 experts, the shared expert, and the bias that evens out the load.

This animation needs JavaScript.

The router scores are simulated, with group 1 made popular on purpose, and the bias step is exaggerated so that balancing shows within a few windows (pre-training uses 3 × 10⁻³ per optimiser step). Groups, top-4 selection, the shared expert, the weights and the update rule are the model's.

Training pipeline

One chain,
unattended.

One script runs the whole chain on the Mac mini. It builds the data, trains a phase, benchmarks the result, uploads it, and only then starts the next phase. Finished phases are skipped on restart, and an interrupted phase resumes from its latest checkpoint with the optimiser state. Every trial and phase is logged to Weights & Biases.

The training chain: data builds, tokenizer comparison, trials, then the four phases Base, Base-4K, Instruct and Chat, each benchmarked and released before the next.
Figure 7The training chain: the data builds, the tokenizer comparison and the trials, then four phases, each benchmarked and released before the next one starts. Everything runs on one Mac mini.

The trials and the four phases, as measured

From the training logs
Trials and training phases with their measured cost on the Mac mini
RunStarts fromContextOptimiser, peak LRTokensStepstok/sPeak mem.Wall-clock
Tokenizer comparison (2×)random init1,024Muon, 6×10⁻³20.0M2 × 6104,444 / 4,26711.5 / 12.0 GB1.4 h
Trials, stage A (6×)random init1,024Muon, AdamW, Lion192.0M6 × 1,9534,549–4,84111.6 GB11.8 h
Trials, stage B (4×)random init1,024Muon, 4 settings256.0M4 × 3,9064,460–4,54011.5 GB16.3 h
Baserandom init1,024Muon, 3×10⁻³2.495B152,2984,44711.5 GB158.9 h
Base-4KBase, θ = 2×10⁶4,096Muon, 5×10⁻⁴ (η*/6)50.0M3,0523,71214.5 GB4.0 h
InstructBase-4K4,096Muon, 2.5×10⁻⁴ (η*/12)60.2M3,6723,73014.5 GB5.2 h
ChatInstruct4,096AdamW, 10⁻⁶—500——3.4 h
Total of the rows201.0 h
Whole chain, first data build to the end of Chat, including benchmarks205.4 h

Median throughput (a range over the trials of a stage; 16k / 32k for the tokenizer comparison), peak memory including validation, wall-clock time summed over the runs. Every run except Chat uses 16,384 tokens per optimiser step; a Chat step uses 8 prompts with 4 replies each. The Chat phase generates and judges its own replies, so it has no token budget or training throughput, and its memory was not logged. Of the 201 hours of training, Base took 159 (79%) and the ten trials 28 (14%); the chain ran from 23 November to 2 December. Muon covers the hidden weight matrices; embeddings, norms, routers and convolutions use AdamW.

01

Tokenizer

16k vs 32k

Small enough to leave room for the model.

A byte-level BPE with 16,384 entries, learned in 4.1 minutes on the Mac mini's CPU from a 4.3 GB sample of the model's own web, mathematics and code sources (70/20/10), with ChatML, reasoning and ten reserved tokens at fixed ids. A 131,072-entry embedding would take most of a 50M-parameter budget; at 16k the table is 6.3M parameters, and most of the 6.3M saved against 32k went into wider experts.

It costs compression: 5.9% more tokens than an identically trained 32k tokenizer on held-out text, but 6.5% fewer than a 131k general-purpose one on mathematics. Before the trials the chain trained the model with each design for 10M tokens: they ended level, 1.4846 against 1.4850 bits per byte on the same held-out text, and the chain continued with 16k.

  • Byte-level BPE
  • 6.3M embedding parameters
  • 4.041 bytes per token
  • ChatML + <think>
Bits per byte of the 16k and 32k designs during their 10M-token runs, against text seen and wall-clock time.
Figure 8Bits per byte of the 16k and 32k designs during their 10M-token runs, against the training text seen (left) and wall-clock time (right). The 32k model leads early; on the shared held-out text both end at 1.485.
1.4846bits per byte at 16k
(32k: 1.4850)
02

Trials

10 runs

Muon, by a wide margin.

Ten short runs of the model itself, all from the same initialisation and on the same batches in the same order, choose the optimiser and its schedule. In stage A, Muon at 3×10⁻³ ends at 3.480; the better AdamW run ends 0.30 behind and Lion 0.44 behind, and at every validation point each Muon run was ahead of each AdamW run. In stage B, around 3×10⁻³ the optimum is flat, but decaying over the last 30% of the steps instead of 20% wins by 0.0135, three times the spread between two identical runs.

Stage A · 32.0M tokens each

Val. loss, nats/token
Stage-A trials ranked by final validation loss
OptimiserPeak LRWDStep 1,464Final
Muon (+AdamW) ↗3×10⁻³0.13.7683.480
Muon (+AdamW) ↗6×10⁻³0.13.8023.493
Muon (+AdamW) ↗1.2×10⁻²0.13.9233.564
AdamW ↗3×10⁻³0.14.1273.779
AdamW ↗10⁻³0.14.1113.802
Lion ↗3×10⁻⁴1.04.2243.917

Stage B · 64.0M tokens each

Muon, weight decay 0.1
Stage-B trials around the stage-A winner ranked by final validation loss
TrialPeak LRDecayStep 2,928Final
Longer decay ↗3×10⁻³last 30%3.5003.2425
LR × 0.7 ↗2.1×10⁻³last 20%3.5173.2560
Stage-A winner ↗3×10⁻³last 20%3.5313.2576
LR × 1.4 ↗4.2×10⁻³last 20%3.5473.2624

Two runs with identical settings differ by up to 0.005, so the last three rows tie. Each trial's log, card and figures are public; no weights were kept.

Validation loss of the ten trials against training tokens on a logarithmic axis.
Figure 9Validation loss of the trials against training tokens (log axis). Colour gives the optimiser and, for Muon, a darker blue a larger peak learning rate; vertical lines mark the start of the decay.
Stage-B trials: training and validation loss minus the stage-A winner's on the same batches.
Figure 10Stage B against the stage-A winner: each trial's training loss minus the winner's on the same batches, and the same gap in validation loss. Negative is better; the grey band marks the drift between two identical runs.
3×10⁻³Muon, weight decay 0.1,
decay over the last 30%
All trials ↗
03

Base

2.495B tokens

6.6 days, no restart.

One pass over the pre-training mixture — 45% FineWeb-Edu, 30% Ultra-FineWeb, 15% UltraData-Math, 10% UltraData-Code — at 1,024 tokens: about 52 training tokens per parameter, or 92 per active parameter. The validation loss fell to 3.333 by step 10,000 and then slowly, to 3.121 at the start of the decay; the decay over the last 30% of the steps took off another 0.363, more than the whole plateau after step 10,000, and each of the last 46 evaluations was a new minimum. When the run ended the loss was still falling by about 0.016 per 1,000 steps.

The gradient norm settled after the warmup at a median of 0.31 and rose over the decay roughly as the inverse square root of the learning rate, to 0.94. The busiest expert carried 1.27 times the mean load at the end.

  • Muon 3×10⁻³ · WD 0.1
  • Warmup–stable–decay
  • 16,384 tokens / step
  • Test loss 2.732
Pre-training loss of Base on a logarithmic axis with validation points, and the learning-rate schedule below.
Figure 11Pre-training of Base. Top, on a log axis from the first step (near ln 16,384 ≈ 9.7 nats, a uniform guess): training next-token loss and validation loss on 512 windows every 1,000 steps. Bottom: the learning rate. The vertical line marks the start of the decay.
Training loss of the next-token output and of the MTP head, and their difference.
Figure 12Multi-token prediction: the MTP head's loss on token t+2 stayed 0.42 to 0.48 nats above the next-token loss throughout.
Gradient norm, balance loss and expert load during pre-training.
Figure 13Gradient norm before clipping, the MoE balance loss and the expert load during pre-training.
2.758final validation loss
(perplexity 15.8)
Model card ↗
04

Base-4K

1,024 → 4,096

Only two layers need to know.

Only the two MLA layers and the MTP block carry rotary embeddings, on 16 of their query and key dimensions; the eight GDN layers have no positional encoding and a state of the same size at every position. The extension raised the rotary base from 10⁵ to 2×10⁶ and trained every block for 50M tokens at 4,096, because the decay rates learned at 1,024 tokens set how far back a GDN state reaches.

After a small rise while the learning rate warmed up again, the validation loss on 4,096-token windows fell at every evaluation to 2.617. On short text nothing was lost: the test loss at 1,024 tokens went from 2.732 to 2.700, and the zero-shot scores moved by at most 0.022.

Context extension diagram: only the MLA layers 3 and 7 and the MTP block carry rotary embeddings.
Figure 14Context extension from 1,024 to 4,096 tokens. Only the MLA layers 3 and 7 and the MTP block carry rotary embeddings, on 16 of their query/key dimensions.
4.0 h50.0M tokens, 3,052 steps,
peak 14.5 GB
Model card ↗
05

Instruct

76,523 conversations

The form is learned; the facts mostly are not.

One pass over 60.2M tokens of conversations: 75% Smol-SmolTalk, 25% UltraData-SFT, and about 1,000 conversations that teach the JOSIE identity. Whole conversations are packed into 4,096-token windows and the loss covers only the 44.7M assistant tokens. The validation loss on 1,382 held-out conversations fell at every evaluation, to 1.655 (perplexity 5.23), and was still falling.

The replies use the chat format and give the JOSIE identity when asked. Their content is often wrong. With greedy decoding most replies to open questions loop; sampling at temperature 0.7 with a repetition penalty of 1.1 removes the loops.

Sample replies, unedited, including the wrong ones

User

Who are you?

JOSIE

I'm JOSIE, short for Just One Super Intelligent Entity. I'm a small AI assistant trained from scratch by Gökdeniz Gülmez. What can I do for you?

User

Write a Python function that returns the sum of a list of numbers.

JOSIE

def sum_of_numbers(numbers):
    return sum(num for num in numbers if isinstance(num, int) or isinstance(num, int))

User

If I have 3 apples and buy 4 more, how many apples do I have?

JOSIE

To find the number of apples you have, we can start by considering the total number of apples and the number of apples you can buy separately. Since there are 3 apples and 4 more apples, the total number of apples is 3 + 4 = 7.

Now, let's calculate the number of apples you need: 4 apples * 7 = 28 apples.

So, you have 28 apples in total.

User

What is the capital of Japan?

JOSIE

The capital of Japan is Tsukiji. The capital is a major city in the northwestern part of Japan, and it has a rich history that dates back to ancient times. It was once a powerhouse of the Japanese people, but it wasn't until the 19th century that Japan's capital came to be known as Haneda.

Sampled at temperature 0.7, top-p 0.9, repetition penalty 1.1. The first two are right. The arithmetic adds correctly and then multiplies for no reason, and the capital (Tokyo) is wrong.

1.655validation loss on
assistant tokens
Model card ↗
Evaluation

Measured at
every phase.

Every model is benchmarked as soon as its phase ends, with the same scripts for every model, including the public models it is compared with: none of the numbers below are copied from elsewhere. Base models are scored by log-likelihood only; the fine-tuned models add chat bits per byte and generation benchmarks. With 1,000 examples per task the standard error is about 0.015, so differences below 0.03 are within noise.

Base models

Beside four small dense base models.

All four are dense Transformers trained on GPUs with 2.2 to 40 times Base's tokens; Boris-2-50M is also distilled from a 144M-parameter teacher. Base trails them on the tasks that reward stored knowledge (ARC-Easy, HellaSwag, PIQA, SciQ, LAMBADA), is level on WinoGrande and, with Supra-50M, on BLiMP; on ARC-Challenge and MMLU all six are within 0.05 of chance.

Base and Base-4K beside four small dense base models: zero-shot accuracy by log-likelihood
BaseBase-4K Supra-50M ↗ Boris-2-50M ↗ Supra2.5-Pro ↗ Supra2-100M ↗
Parameters48.3M / 27.1M active51.8M48.9M67.0M100.7M
ArchitectureGDN + MLA, MoELlamadense, distilledQwen3Qwen3
Training tokens2.5B2.55B20B5.5B100B30B
Tokens per parameter52533861121,492298
Trained context1,0244,0961,0242,0485121,024
HardwareMac mini M41 GPU1× V1002× RTX A60001× RTX 5090
ARC-Easy0.4160.4100.4740.5060.5260.510
ARC-Challenge0.2220.2090.2370.2650.2560.238
HellaSwag0.2770.2830.3200.3520.3470.365
PIQA0.5940.5920.6310.6790.6560.669
WinoGrande0.5270.5100.5240.5310.5280.503
OpenBookQA0.2640.2560.2980.3100.3180.320
SciQ0.6620.6570.7110.7230.8070.736
LAMBADA0.1660.1850.2400.2540.3070.364
MMLU0.2300.2330.2370.2530.2970.224
BLiMP0.7700.7920.7650.7950.8130.803

Zero-shot accuracy by log-likelihood, 1,000 examples per task (OpenBookQA 500; BLiMP 938 pairs): length-normalised where the harness computes it, plain accuracy for WinoGrande and BLiMP, last-word accuracy for LAMBADA. Training tokens, trained context and hardware are from the authors' model cards. Our scores for the four models lie within 0.035 of those their authors report, except Supra-50M's SciQ (0.711 against 0.772). Bold: best in the row.

Held-out loss by source

Test split, 1,024 tokens, nats/token
Held-out loss of Base and Base-4K on the test split of the pre-training mixture
SourceBaseBase-4K
All sources2.7322.700
FineWeb-Edu3.2593.223
Ultra-FineWeb3.2473.204
UltraData-Math0.9480.949
UltraData-Code1.4691.449

Textbook-style mathematics and code are far more predictable than web prose; the overall number mostly reflects the mixture.

What fine-tuning cost

Zero-shot, Instruct against Base-4K
Zero-shot accuracy of Instruct against Base-4K
TaskBase-4KInstructChange
ARC-Easy0.4100.383−0.027
ARC-Challenge0.2090.227+0.018
HellaSwag0.2830.2830.000
PIQA0.5920.5920.000
SciQ0.6570.600−0.057
WinoGrande0.5100.503−0.007
OpenBookQA0.2560.264+0.008
LAMBADA0.1850.179−0.006
MMLU0.2330.215−0.018
Every phase

Beside public models of 70M to 752M parameters.

The one suite run on every model. Against the two small base models, Base scores above Pythia-70M on six of the seven shared tasks and mostly between Pythia-70M and GPT-2. The chat models have 2.8 to 16 times Omoikane's total parameters (5 to 28 times its active ones) and were trained on far more data.

Zero-shot log-likelihood accuracy of Omoikane at every phase and of public models
Omoikane-50M-A27M (48.3M)Base modelsChat models
TaskBaseBase-4KInstructChat Pythia-70MGPT-2 124MSmolLM2-135M-ISmolLM2-360M-IQwen3.5-0.8B
ARC-Easy0.4160.4100.3830.3810.3690.4060.5220.5310.590
ARC-Challenge0.2220.2090.2270.2250.2060.2240.2780.3410.347
PIQA0.5940.5920.5920.5940.5780.6360.6880.7250.693
HellaSwag0.2770.2830.2830.2790.2750.3120.4380.5650.512
WinoGrande0.5270.5100.5030.4980.5020.5300.5500.5820.593
SciQ0.6620.6570.6000.5940.5600.6820.7620.6380.903
OpenBookQA0.2640.2560.2640.260—————
LAMBADA0.1660.1850.1790.181—————
MMLU0.2300.2330.2150.2230.2330.2320.2340.2390.468

1,000 examples per task (OpenBookQA 500); length-normalised accuracy where the harness computes one, last-word accuracy for LAMBADA. Chat is the released checkpoint, step 250 of the preference run; its scores are within 0.01 of Instruct's on every task, so preference training cost no knowledge. — : not run yet for that model.

Fine-tuned models

Generation benchmarks, greedy and zero-shot.

IFEval is the one where Instruct comes close: 0.159 prompt-level strict and 0.318 instruction-level loose, against 0.214 and 0.361 for SmolLM2-135M-Instruct. The reasoning and code suites are essentially at zero; HumanEval at 0.061 is ten of 164 problems. The one area where it leads is the persona: it states 40% of the facts about itself that only its training data contain, where every public model states none. Chat (step 250) changes little of this: it is a few points better on IFEval, GSM8K and the letter questions and states more of its system prompt, at the same zero-shot and code scores.

Fine-tuned models: chat bits per byte and generation benchmarks
InstructChatSmolLM2-135M-ISmolLM2-360M-IQwen3.5-0.8B
Chat bits per byte ↓0.6480.6510.5900.4970.337
GSM8K0.0120.0200.0300.0920.498
MATH-5000.0000.0000.000——
HumanEval, pass@10.0610.0550.116——
HumanEval+, pass@10.0610.0550.110——
MBPP, pass@10.0260.0320.104——
MBPP+, pass@10.0210.0340.111——
IFEval, prompt strict0.1590.1730.2140.3160.514
IFEval, instruction loose0.3180.3370.3610.4510.673
MMLU, generated letter0.1950.2430.249——
ARC-Challenge, generated letter0.1490.1960.279——
Persona, given facts0.330.420.080.581.00
Persona, learned facts0.400.330.000.000.00

Greedy, at most 512 new tokens, zero-shot through each model's chat template. Chat bits per byte: mean over four held-out UltraData-SFT sources (lower is better). Generated code runs in a macOS sandbox without network access. On MMLU and ARC-Challenge Instruct gives a valid letter for only 76% and 65% of the questions, so both scores are below chance. Persona: 27 held-out questions; “given” facts are in the system prompt, “learned” ones only in the training data. A 13-gram contamination check of the fine-tuning data found no GSM8K or MMLU question; IFEval's flagged prompts are constraint wordings, and Instruct scores the same on them (0.164) as on the rest (0.158). Chat is step 250. — : not run (SmolLM2-360M-Instruct and Qwen3.5-0.8B were left out of the MATH-500, code and letter suites to save time).

Benchmark scores against parameter count on a log scale for the Omoikane stages and the comparison models.
Figure 17Benchmark scores against parameter count (log scale): the stages of Omoikane-50M-A27M (coloured, at its 48.3M total parameters) and the comparison models (grey; filled: chat models, open: base models). Horizontal lines: chance level. Drawn before the Chat phase was benchmarked, so Chat is not in it yet.
Contamination

Were the answers in the training data?

Every item the generation benchmarks score was searched for in the fine-tuning data: all turns of the SFT mixture and every preference prompt with its reference answer. An item counts as contaminated when one of its 13-word spans (lower-cased words) occurs in a training document; items of 8 to 12 words count only when they occur whole, and shorter ones are not checked. GSM8K and MMLU are clean. IFEval has the most overlap, all of it the wording of constraints, because the constraint subset of Smol-SmolTalk phrases its instructions the way IFEval does; Instruct scores the same on the 61 flagged prompts (0.164 prompt-level strict) as on the other 449 (0.158), so all items are reported.

Benchmark items found in the fine-tuning data
SuiteItemsNot checked (< 8 words)In the SFT mixtureIn the preference prompts
GSM8K500000
MATH-50050013810
HumanEval164010
MBPP500510
MBPP+378230
IFEval54106153
MMLU1,0008000
ARC-Challenge1,0005111

The few hits in HumanEval, MBPP, MBPP+ and ARC-Challenge are stock phrasings such as “write a python function to find the minimum of two numbers”; MATH-500's are mostly Asymptote drawing commands and set phrases, plus a few problem statements among the preference prompts.

Long context

Past the
trained length.

All six models are run on 4,096 tokens, past the length each was trained at. Within their trained length the other models predict better; past it their loss rises steeply and none finds a passkey at twice its trained length or more. Base, trained on 1,024-token windows, barely rises. A likely reason: eight of its ten layers have no positional encoding, and the two attention layers rotate only 16 of their query and key dimensions.

Omoikane Basetrained at 1,024 · 48.3M
1.067
1.086
Omoikane Base-4Ktrained at 4,096 · 48.3M
1.048
1.035
Supra-50Mtrained at 1,024 · 51.8M
0.989
2.150
Boris-2-50Mtrained at 2,048 · 48.9M
1.026
1.939
Supra2.5-Protrained at 512 · 67.0M
1.678
3.864
Supra2-100Mtrained at 1,024 · 100.7M
0.915
2.791
Bits per byte on the first 4,096 tokens of 42 long validation documents that reach that length under every model's tokenizer, so every model reads the same text. Hover or focus a row for all four position buckets and the passkey scores.

Bits per byte by position and passkey accuracy

Each model past its trained context
Long context: bits per byte by position and passkey accuracy for six models
Bits per byte by position ↓Passkey, context length
ModelTrained0–1k1k–2k2k–3k3k–4k5121,0242,0483,0724,000
Base1,0241.0671.0711.0781.0860.940.960.460.340.18
Base-4K4,0961.0481.0261.0321.0351.001.000.700.420.32
Supra-50M1,0240.9891.8232.1832.1500.820.400.000.000.00
Boris-2-50M2,0481.0261.0081.4761.9391.001.000.600.000.00
Supra2.5-Pro5121.6782.9293.6363.8641.000.000.000.000.00
Supra2-100M1,0240.9152.2452.7422.7911.000.800.000.000.00

Passkey: a random five-digit key hidden at a depth of 10% to 90% of filler text, 10 keys at each of five depths; it counts as retrieved when every key token is the most likely next token. The prompt is counted in each model's own tokens, so at the length a model was trained at, its last key tokens lie just past it. The comparison is of what each model does with 4,096 tokens, not of the models at their best: each of the four could be extended as Base was.

Loss by position on 4,096-token windows for Base and Base-4K, and passkey accuracy by context length and depth.
Figure 18Base and Base-4K at their own rotary bases (10⁵ and 2×10⁶). Left: loss by position on long single documents (filled) and packed windows (open); the vertical line marks Base's training length. Right: passkey accuracy by context length and depth of the key, 10 keys per cell.

Base against Base-4K

Long single documents, nats/token
Loss by position on long single documents for Base and Base-4K
PositionsBaseBase-4K
0–1,0243.1373.069
1,024–2,0483.0982.979
2,048–3,0723.0502.920
3,072–4,0963.1422.997

Base-4K is lower at every position and its loss falls with position, so it uses the longer context. Retrieval of one exact detail still reaches back only about a third of the window: keys up to about 1,200 tokens back are mostly found (80 to 100%), keys from about 1,800 back not at all.

Loss landscapes

Where the
weights went.

Each phase's saved weight snapshots, projected onto the plane of the two directions in which they moved most from the phase's start, with the loss measured on a 25 × 25 grid of that plane.

A

Base

The plane holds 86% of the squared displacement. The weights moved fast early and slowly later; in the decay the path nearly stops, while the snapshots' own loss keeps falling, from 2.96 to 2.65: the gains of the decay come from directions the plane does not show.

B

Base-4K

A single wide bowl that holds 93% of the displacement. The path curves down into it and ends on its floor, 0.012 above the plane's lowest point, after a small rise while the learning rate warmed up again.

C

Instruct

Again one bowl, 97% of the displacement. The loss fell from the first snapshot on without a rise, and the path ends 0.008 above the plane's lowest point.

3D render of the Base loss landscape with two dark basins and a yellow ridge, and a colour bar from 3.5 to 30.
BaseRendered with Blender: height and colour give the next-token loss on a log scale (dark: low, yellow: high), smoothed from the measured grid and not to scale. The two dark basins are the lows of the plane.
3D render of the Base-4K loss landscape, a single wide bowl.
Base-4KThe same rendering for the context extension: one wide bowl around the end of Base.
Loss landscape of Base on the plane with the projected training path.
BaseThe plane through the initialisation and the projected path of 31 snapshots. Axes are L2 distances in parameter space.
Loss landscape of Base-4K on the plane with the projected training path.
Base-4KThe plane through the final Base weights with the new rotary base.
Loss landscape of Instruct on the plane with the projected training path.
InstructThe plane through the final Base-4K weights; loss on held-out conversations.
Limitations

What one run
cannot show.

A 50M-parameter model, trained once, on one machine. These are the limits the report states.

01

Scale

About 50M parameters, pre-trained on 2.5B tokens. Conclusions about the architecture may not hold for larger models or longer training.

02

No dense baseline yet

The key missing experiment is a dense Llama-style Transformer of the same size on the same data, tokenizer and budget; beyond it, a pure GDN model, a dense FFN and a model without MTP at matched compute. Whether MTP helps the trunk at this size cannot be read from this run.

03

One run, one seed

Every trial and every phase ran once with the same seed; no variance across seeds is reported.

04

Choices transferred from a smaller model

The optimiser and learning rate come from trials on the final model, but on 32M–64M tokens. The rotary base of the extension, the fine-tuning mixture and the reward were chosen on a narrower preliminary model and not re-tuned.

05

A decay to a tenth

Base's learning rate decayed to a tenth of its peak, not to zero, and its validation loss was still falling when the run ended; at about 52 tokens per parameter it may have left some loss on the table.

06

A small tokenizer fitted to one sample

The 16k tokenizer needs 4.7% more tokens than a 131k general-purpose one on its held-out sample; text unlike the sample, such as other languages, has not been measured. The comparison with 32k is one 10M-token run per design, and a longer run might favour the larger vocabulary.

07

One hardware platform

Throughput is measured only on an Apple M4; CUDA throughput with the Triton GDN kernels has not been measured.

08

An external judge

The Chat phase depends on a cloud-served decision model whose behaviour can be probed but not inspected, and a rubric reward can be exploited in ways a short probe does not reveal. The main run was: its reward rose by rewarding ever shorter replies, so the released Chat model is a hand-picked intermediate checkpoint (step 250), not the end of the run.

Citation

Cite
Omoikane.

If you use the models, the code or the findings, please cite the technical report (December 2026).

@misc{gulmez2026omoikane,
  title        = {Omoikane: A Hybrid Gated-Delta Latent-Attention Mixture-of-Experts.
                  Learning When to Forget and Where to Look},
  author       = {G{\"u}lmez, G{\"o}kdeniz},
  year         = {2026},
  month        = dec,
  note         = {Technical report},
  howpublished = {\url{https://goekdeniz-guelmez.github.io/Omoikane/Omoikane_technical_report.pdf}}
}
Download the report (PDF)Report PDF · coming soon