How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Grand011/Void-250M-Instruct")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Grand011/Void-250M-Instruct")
model = AutoModelForCausalLM.from_pretrained("Grand011/Void-250M-Instruct", device_map="auto")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Void-250M-Instruct

Void-250M-Instruct is a 253M-parameter (202.9M non-embedding trunk) causal language model trained from scratch on TPUs using the native Qwen3 architecture (Qwen3ForCausalLM), making it natively compatible with transformers, llama.cpp, and LM Studio out of the box.

It is the flagship sibling of Grand011/Voidling-67M-Instruct, pretrained on 23.82B tokens with multi-stage Moonlight-Muon WSD + pure AR recovery and post-trained with replay-heavy ChatML Skew-JSD distillation (+0.0084 Code+Math drift, +0.0267 FineWeb drift).

Architecture

Parameter Value
Architecture Qwen3ForCausalLM (Pre-RMSNorm + QK-Norm, SwiGLU, RoPE)
Total Parameters 253.27M (202.94M trunk / 50.33M tied embeddings)
Layers 18
Hidden Size (d_model) 1024
FFN Intermediate Size 2816 (2.75x SwiGLU)
Attention Heads 8 Query / 2 KV (GQA 4:1, head_dim = 128)
Vocabulary 49,152 (GPT-2 BPE, ChatML special tokens, tied embeddings)
RoPE Theta 50,000.0
Context Length 1024 (trained), 2048 (max_position_embeddings)
Chat Template ChatML (`<

Training Pipeline

Trained from scratch in JAX BF16 (f32 master weights) using Moonlight-Muon (wd=0.05, z_loss=1e-4):

  1. Stage 1 β€” Mega-Base (20.64B raw tokens, TPU v5e-8):
    • bag8_ar_mix WSD pretraining on streamed Web (FineWeb-Edu + Cosmopedia-v2), Python, and Math (FineMath-4plus + OpenWebMath) with live plasticity/rank monitoring (0.00% dead neurons).
  2. Stage 2 β€” Pure AR Recovery & Cosine Annealing (2.95B AR tokens, ctx=1024, TPU v5e-8):
    • Pure causal AR (60% Web / 20% Code / 20% Math), Moonlight-Muon cosine 6.0e-4 β†’ 2.0e-5, reaching FW=3.4527 | CM=1.7375 | Avg=2.5951 (outperforming 2T-token SmolLM2-135M 2.6117 on combined held-out loss).
  3. Stage 3 β€” High-Quality Mid-Training Cooldown (225M tokens, ctx=1024, TPU v5e-1):
    • Cosine cooldown 8.0e-5 β†’ 5.0e-6 on fresh 55% FineWeb-Edu/Cosmopedia-v2 + 20% Code + 20% FineMath-4plus/OWM + 5% SFT prose (MaxLogit=89.0).
  4. Stage 4 β€” Replay-Heavy Native ChatML SFT + Skew-JSD (62.9M tokens, ctx=1024, TPU v5e-1):
    • 70% assistant-masked ChatML (HuggingFaceTB/smol-smoltalk) / 30% multi-domain replay (45% Web / 35% Code / 20% Math) with 0.50 Hard CE + 0.50 Skew-JSD (Ξ²=0.2, Ο„=1.5) from SmolLM2-1.7B-Instruct, cosine 7.5e-5 β†’ 4.0e-6.

Held-Out Validation Progression (Cross-Entropy Loss, lower is better)

Stage FineWeb Code+Math ChatML SFT
Cooled Base (23.82B tok) 3.5133 1.8535 1.6647 (0-shot)
Void-250M-Instruct (+62.9M ChatML KD) 3.5400 (+0.0267) 1.8619 (+0.0084) 1.4149 (-0.2498)

Available Files

  • Void-250M-Instruct-F16.gguf β€” Full 16-bit GGUF (~506 MB)
  • Void-250M-Instruct-Q8_0.gguf β€” 8-bit quantized GGUF (~270 MB, recommended for LM Studio / llama.cpp)
  • model.safetensors + tokenizer β€” Native Hugging Face Qwen3ForCausalLM weights

Usage

LM Studio / llama.cpp

Load Void-250M-Instruct-Q8_0.gguf or Void-250M-Instruct-F16.gguf directly. ChatML formatting is embedded in the GGUF metadata. Recommended sampling: temperature=0.6, top_p=0.9, repeat_penalty=1.1.

Transformers

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "Grand011/Void-250M-Instruct"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto")

messages = [{"role": "user", "content": "Explain the difference between a list and a tuple in Python in two sentences."}]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(inputs, max_new_tokens=160, do_sample=True, temperature=0.6, top_p=0.9, repetition_penalty=1.1)
print(tok.decode(out[0][inputs.shape[-1]:], skip_special_tokens=True))

Limitations

At 253M total parameters trained on ~24B tokens, Void-250M-Instruct is a compact small language model built for fast local inference, edge experiments, and research. It handles short-form Q&A, Python explanations, and creative writing cleanly, but can still make mistakes on multi-step arithmetic, complex debugging, and obscure factual recall.

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