MinVoid-1.6
Ultra-Compact Byte-Level Language Model
2 min read
MinVoid-1.6 is a miniature language model with 2.94 million parameters, trained from scratch using a byte-level approach without preliminary tokenization. The model operates directly on UTF-8 bytes of the input text, using a vocabulary of 258 tokens. Its architecture is based on a 10-layer transformer featuring GLA (Grouped Latent Attention) and XSA (Exclusive Self-Attention) mechanisms. The model is suited for researchers and developers exploring compact architectures and byte-level data processing.
Key features
- Byte tokenizer: encodes text directly into UTF-8 bytes without external tokenizers.
- Deep architecture: 10-layer decoder supporting GLA and XSA attention.
- Hybrid optimizer: trained using the FastNorMuon algorithm combined with AdamW.
- Block optimization: parallel RMSNorm blocks and micro-orthogonal initialization (µP-style).
What you can do
- Pipeline execution: integrate the model into projects using the standard AutoModelForCausalLM class from the Hugging Face Transformers library.
- Text generation: use the byte sequence generation function with customizable temperature and top_k.
- Architecture research: study the operation of byte-level language models and hybrid optimizers on modest hardware.
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("Sqersters/MinVoid-1.6")
model = AutoModelForCausalLM.from_pretrained(
"Sqersters/MinVoid-1.6", 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
DetailsBenchmarks: HellaSwag — 28.29, ARC-Easy — 28.28, PIQA — 53.37, Int Index — 5.44
Hardware requirements: trains and runs at a speed of ~150k tokens/sec on an AMD RX 7600 XT
Dataset: ~4.6 GB of mixed English text (about 1.1 billion tokens)
License: Apache-2.0










Comments