We are back. Supra Mini v5 8M is our fifth release in the Supra Mini series and the biggest one yet. Trained on 5 billion tokens of Fineweb-Edu for 2 epochs, v5 jumps to 7.8M parameters and brings real, measurable improvements across every benchmark we ran.
What changed from v4?
v4 had 2.6M parameters and was trained on 3B tokens. v5 triples the parameter count to 7.8M and adds 2 billion more tokens to the training set. The vocab size also doubled from 8,192 to 16,384, giving the model a much richer token vocabulary to work with. Every single part of the config got an upgrade.
Architecture → Llama
Vocab size → 16,384 (custom BPE)
Hidden size → 191
Intermediate → 768
Layers → 8
Attention heads → 4
Context length → 1,024 tokens
Learning rate → 2e-4
Weight decay → 0.01
Trained in → bfloat16
Training setup
We trained v5 on a single NVIDIA RTX 5060 Ti 16GB for approximately 11 hours across 2 epochs. The dataset is the first 5 billion tokens of Sample-10BT from Fineweb-Edu, streamed and tokenized on the fly with our custom BPE tokenizer (vocab size 16,384).
The final training loss after 2 epochs came in at 4.414, down from 4.618 in v4. The full training code is in the repo: train_tokenizer.py, train.py and inference.py.
Benchmarks
We ran the same lm-eval suite as v4 so the numbers are directly comparable. v5 beats v4 on every single task.
| Task | v5 score | v4 score | Random baseline |
|---|---|---|---|
| ARC_Easy | 0.3439 | 0.3152 | 0.25 (25%) |
| Wikitext (PPL) | 2.6617 | 3.1652 | lower is better |
| BLiMP | 0.6349 | 0.607 | 0.50 (50%) |
The Wikitext perplexity drop from 3.16 to 2.66 is the one that stands out most. Lower perplexity means the model is genuinely more confident and accurate at predicting text, not just getting lucky on multiple choice. BLiMP going from 0.607 to 0.634 also shows real grammatical improvement for a model this size.
Example outputs
Same prompts as v4, so you can compare directly. Generation settings: temperature=0.5, top_k=25, top_p=0.9.
The outputs are noticeably more coherent than v4. Sentences are longer, the topic stays more consistent, and the hallucinations are less random. Still a base model doing base model things, but the progress is clear.
How to run it
import torch
print("[*] Loading Supra Mini v5 8M model from Hugging Face Hub...")
pipe = pipeline(
"text-generation",
model="SupraLabs/Supra-Mini-v5-8M",
device_map="auto",
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32
)
def generate_text(prompt, max_length=150):
result = pipe(
prompt,
max_new_tokens=max_length,
do_sample=True,
temperature=0.5,
top_k=25,
top_p=0.9,
repetition_penalty=1.2,
pad_token_id=pipe.tokenizer.pad_token_id,
eos_token_id=pipe.tokenizer.eos_token_id
)
return result[0]['generated_text']
test_prompt = "The importance of education is"
print(f"\nPrompt: {test_prompt}")
print("-" * 30)
print("\nOutput:\n" + generate_text(test_prompt))
What's next?
v5 is still a base model. No instruction tuning, no chat format, just raw language modeling. The roadmap for the next versions includes fine-tuning experiments and continuing to scale up parameters while keeping everything trainable on consumer hardware.
The model is live. Go try it.
License → Apache 2.0
Series → Supra Mini collection on HuggingFace
SupraLabs_