Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories

THOX Microprocessor is an attention-dominant tiny decoder model designed for local-first routing, structured extraction, device control, and compact on-device language workloads.

Architecture

Property Value
Parameters 8,093,520
Non-embedding parameters 5,472,080
d_model 320
Layers 21
Attention heads / KV heads 8 / 2
Context 1024
QK RMS normalization True
Sandwich normalization True
Blockwise Walsh-Hadamard mixer True
Architecture version thox-microprocessor-v0.2
Trained tokens 98.3M (TinyStories)

Weight payload at INT4 (group size 64, including per-group scales and the fp32 1-D tensors): 4.45 MB, i.e. 4.40 effective bits per parameter. This is the raw weight payload, not peak runtime RAM โ€” device qualification must additionally measure code, allocator overhead, activations, and KV cache.

Status

Architecture-validation checkpoint โ€” not a product model. Held-out loss 1.6956 / perplexity 5.4499 on the TinyStories validation split (2,095,104 target tokens). THOXQ4 INT4 costs +0.0366 held-out loss at 4.45 MB; INT4 with an INT8 embedding costs +0.0162 at 5.76 MB. Trained ONLY on TinyStories (roneneldan/TinyStories, CDLA-Sharing-1.0 upstream) โ€” simple synthetic children's stories. It has NO routing, tool-call, device-control or THOX domain capability, and it is NOT the 8M Control Core.

Loading

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories", trust_remote_code=True)

The remote-code reference implementation recomputes the prefix on each decoding step rather than maintaining a KV cache; it is optimised for portability across transformers versions. Use the thox_microprocessor package for cached decoding.

Downloads last month
11
Safetensors
Model size
8.09M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support