MinVoid-1.0
a byte-level language model without a tokenizer
2 min readupdated
MinVoid-1.0 is a compact, experimental 2.96-million-parameter language model by Sqersters, trained from scratch without a traditional tokenizer (text-splitting module). Text is encoded directly into UTF-8 bytes, resulting in a vocabulary of just 258 tokens (bytes 0–255, BOS 256, and EOS 257). It is built on a decoder-only transformer architecture, enhanced with GLA (Grouped Latent Attention) and XSA (Exclusive Self-Attention) mechanisms. The model was trained on 4.2 GB of English text and is useful for researchers and developers exploring compact language architectures.
Key features
- Byte-level: direct UTF-8 encoding without pre-tokenization.
- Attention mechanisms: a combination of GLA (KV cache stores latents) and XSA for self-attention calculation.
- Ultra-small size: 6 layers, d_model dimension 128, SwiGLU-based FFN (hidden layer 1120).
- Fast training: the model was trained on ~250M tokens in about 45 minutes on a single consumer GPU.
What you can do
- Study architectures: test the behavior of a language model without a tokenizer and the operation of the latent KV cache in GLA.
- Generate text: run continuation generation in English using a special
generate_bytesmethod. - Run locally: use the model for fast inference experiments on standard consumer hardware.
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("Sqersters/MinVoid-1.0")
model = AutoModelForCausalLM.from_pretrained(
"Sqersters/MinVoid-1.0", trust_remote_code=True
).eval()
ids = tok("Once upon a time", return_tensors="pt").input_ids
out = model.generate_bytes(ids, max_new_tokens=200, temperature=0.8, top_k=40)
print(tok.decode(out[0], skip_special_tokens=True))Read more
Details• Benchmarks (0-shot): HellaSwag — 25.93, PIQA — 51.41, ArithMark-3 — 29.80, Int Index — 2.39
• Context window: 512 tokens
• Data: ~4.2 GB of English text (TinyStories, wikitext-103, instructions, and math problems)
• Limitations: the standard
model.generate() method is not supported, generation works only via generate_bytes









Comments