Instructions to use Grand011/Void-250M-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Grand011/Void-250M-Instruct with Transformers:
# 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Grand011/Void-250M-Instruct with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Grand011/Void-250M-Instruct:F16 # Run inference directly in the terminal: llama cli -hf Grand011/Void-250M-Instruct:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Grand011/Void-250M-Instruct:F16 # Run inference directly in the terminal: llama cli -hf Grand011/Void-250M-Instruct:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Grand011/Void-250M-Instruct:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf Grand011/Void-250M-Instruct:F16
Use Docker
docker model run hf.co/Grand011/Void-250M-Instruct:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use Grand011/Void-250M-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Grand011/Void-250M-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Grand011/Void-250M-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Grand011/Void-250M-Instruct:F16
- SGLang
How to use Grand011/Void-250M-Instruct with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Grand011/Void-250M-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Grand011/Void-250M-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Grand011/Void-250M-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Grand011/Void-250M-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Grand011/Void-250M-Instruct with Ollama:
ollama run hf.co/Grand011/Void-250M-Instruct:F16
- Unsloth Desktop
- Docker Model Runner
How to use Grand011/Void-250M-Instruct with Docker Model Runner:
docker model run hf.co/Grand011/Void-250M-Instruct:F16
- Lemonade
How to use Grand011/Void-250M-Instruct with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Grand011/Void-250M-Instruct:F16
Run and chat with the model
lemonade run user.Void-250M-Instruct-F16
List all available models
lemonade list
- Atomic Chat
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Grand011/Void-250M-Instruct:F16# Run inference directly in the terminal:
llama cli -hf Grand011/Void-250M-Instruct:F16Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf Grand011/Void-250M-Instruct:F16# Run inference directly in the terminal:
./build/bin/llama cli -hf Grand011/Void-250M-Instruct:F16Use Docker
docker model run hf.co/Grand011/Void-250M-Instruct:F16Void-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):
- Stage 1 β Mega-Base (
20.64Braw tokens, TPU v5e-8):bag8_ar_mixWSD pretraining on streamed Web (FineWeb-Edu+Cosmopedia-v2), Python, and Math (FineMath-4plus+OpenWebMath) with live plasticity/rank monitoring (0.00%dead neurons).
- Stage 2 β Pure AR Recovery & Cosine Annealing (
2.95BAR tokens,ctx=1024, TPU v5e-8):- Pure causal AR (
60%Web /20%Code /20%Math), Moonlight-Muon cosine6.0e-4 β 2.0e-5, reachingFW=3.4527 | CM=1.7375 | Avg=2.5951(outperforming 2T-tokenSmolLM2-135M2.6117on combined held-out loss).
- Pure causal AR (
- Stage 3 β High-Quality Mid-Training Cooldown (
225Mtokens,ctx=1024, TPU v5e-1):- Cosine cooldown
8.0e-5 β 5.0e-6on fresh55%FineWeb-Edu/Cosmopedia-v2 +20%Code +20%FineMath-4plus/OWM +5%SFT prose (MaxLogit=89.0).
- Cosine cooldown
- Stage 4 β Replay-Heavy Native ChatML SFT + Skew-JSD (
62.9Mtokens,ctx=1024, TPU v5e-1):70%assistant-masked ChatML (HuggingFaceTB/smol-smoltalk) /30%multi-domain replay (45%Web /35%Code /20%Math) with0.50Hard CE +0.50Skew-JSD (Ξ²=0.2, Ο=1.5) fromSmolLM2-1.7B-Instruct, cosine7.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 FaceQwen3ForCausalLMweights
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
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf Grand011/Void-250M-Instruct:F16# Run inference directly in the terminal: llama cli -hf Grand011/Void-250M-Instruct:F16