MinVoid-1.0

A 2.96M-parameter byte-level causal language model trained from scratch β€” no pre-tokenization, no tokenizer. Input text is encoded directly as UTF-8 bytes.

  • Vocab: 258 tokens = bytes 0-255 + BOS 256 + EOS 257
  • Context: 512 tokens
  • Architecture: decoder-only transformer with GLA (Grouped Latent Attention, arXiv:2505.21487) and XSA (Exclusive Self-Attention, arXiv:2603.09078)
  • Training: 250M tokens (45 min on a single consumer GPU)

Benchmarks (0-shot, Open SLM Leaderboard protocol)

Benchmark Score
HellaSwag (acc_norm) 25.93
ARC-Easy (acc_norm) 26.43
ARC-Challenge (acc_norm) 24.32
Combined ARC 25.37
PIQA (acc_norm) 51.41
ArithMark-3 (acc_norm) 29.80
Int Index 2.39

Evaluated with lm-evaluation-harness (HellaSwag / ARC / PIQA) and the official ArithMark-3 scoring protocol. Combined ARC = mean(ARC-E, ARC-C) before normalization; N(score, chance) = 100*(score-chance)/(100-chance) with chance 25/25/50/25; Int Index = (HellaSwag + ARC + PIQA + 0.65*ArithMark-3)/3.65.

MinVoid-1.0 vs the Open SLM Leaderboard

Architecture

Component Value
d_model 128
Layers 6
Query heads 4 (d_head 32)
Latent heads (GLA) 2 (d_latent 64) β€” KV cache stores latents: 128 vals/token/layer
XSA attention output minus its projection onto the self value vector
FFN SwiGLU, hidden 1120 (~8.8x d_model)
Norm / Pos pre-RMSNorm / RoPE (theta 10000)
Embeddings tied input/output

Tokenizer

Byte-level. encode(s) = list(s.encode('utf-8')); decode(ids) = bytes(ids).decode('utf-8', errors='replace'). That's the whole tokenizer.

Training data

~4.2 GB mixed English text: light novels, TinyStories, wikitext-103, OASST1, alpaca/dolly instruction data, everyday-conversation corpora, GSM8K-style math word problems, MathInstruct, OpenMathReasoning-CoT, dictionary/quotation corpora. Benchmark/eval splits excluded.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("Sqersters/MinVoid-1.0")      # byte-level, no remote code
model = AutoModelForCausalLM.from_pretrained(
    "Sqersters/MinVoid-1.0", trust_remote_code=True               # loads modeling_minvoid.py
).eval()

ids = tok("Once upon a time", return_tensors="pt").input_ids      # adds BOS
out = model.generate_bytes(ids, max_new_tokens=200, temperature=0.8, top_k=40)
print(tok.decode(out[0], skip_special_tokens=True))

Or run the bundled example: python run.py "your prompt" β€” it loads the weights beside the script (use --repo <id> to pull a different repo from the Hub instead).

Note: generate_bytes is the intended generation entry point (simple cached loop with the GLA latent KV cache); the generic model.generate() path is not supported.

License

Model weights: Apache-2.0 (see LICENSE.md).

Downloads last month
45
Safetensors
Model size
2.96M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including Sqersters/MinVoid-1.0

Papers for Sqersters/MinVoid-1.0