Instructions to use Grand011/Voidling-67M-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Grand011/Voidling-67M-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Grand011/Voidling-67M-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/Voidling-67M-Instruct") model = AutoModelForCausalLM.from_pretrained("Grand011/Voidling-67M-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/Voidling-67M-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/Voidling-67M-Instruct:F16 # Run inference directly in the terminal: llama cli -hf Grand011/Voidling-67M-Instruct:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Grand011/Voidling-67M-Instruct:F16 # Run inference directly in the terminal: llama cli -hf Grand011/Voidling-67M-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/Voidling-67M-Instruct:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf Grand011/Voidling-67M-Instruct:F16
Use Docker
docker model run hf.co/Grand011/Voidling-67M-Instruct:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use Grand011/Voidling-67M-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Grand011/Voidling-67M-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/Voidling-67M-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Grand011/Voidling-67M-Instruct:F16
- SGLang
How to use Grand011/Voidling-67M-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/Voidling-67M-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/Voidling-67M-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/Voidling-67M-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/Voidling-67M-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Grand011/Voidling-67M-Instruct with Ollama:
ollama run hf.co/Grand011/Voidling-67M-Instruct:F16
- Unsloth Desktop
- Docker Model Runner
How to use Grand011/Voidling-67M-Instruct with Docker Model Runner:
docker model run hf.co/Grand011/Voidling-67M-Instruct:F16
- Lemonade
How to use Grand011/Voidling-67M-Instruct with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Grand011/Voidling-67M-Instruct:F16
Run and chat with the model
lemonade run user.Voidling-67M-Instruct-F16
List all available models
lemonade list
- Atomic Chat
Voidling-67M-Instruct
Voidling-67M-Instruct is a 67.4M-parameter (42.2M non-embedding trunk) causal language model trained from scratch on a single TPU v5e-1 using the native Qwen3 architecture (Qwen3ForCausalLM), making it natively compatible with transformers, llama.cpp, and LM Studio out of the box.
It is the compact sibling of Void-250M-Instruct, designed to explore how far sub-70M models can be pushed under a tight compute budget using multi-stage WSD pretraining, Moonlight-Muon optimization, Skew-JSD knowledge distillation, and on-policy GKD.
Architecture
| Parameter | Value |
|---|---|
| Architecture | Qwen3ForCausalLM (Pre-RMSNorm + QK-Norm, SwiGLU, RoPE) |
| Total Parameters | 67.39M (42.22M trunk / 25.17M tied embeddings) |
| Layers | 14 |
Hidden Size (d_model) |
512 |
| FFN Intermediate Size | 1536 (3.0x SwiGLU) |
| Attention Heads | 8 Query / 2 KV (GQA 4:1, head_dim = 64) |
| 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 entirely from scratch in JAX BF16 (f32 master weights) with Moonlight-Muon (wd=0.10 pretrain, wd=0.05 decay/SFT, z_loss=1e-4):
- Stage 1 β WSD Pretraining Plateau (
13.36Braw tokens,ctx=512):75%Bag-4 token-averaging /25%pure AR mix on60%Web (FineWeb-Edu+Cosmopedia-v2) /20%Python /20%Math (FineMath-4plus+OpenWebMath).- Peak Muon LR
3.5e-3,1,000-step warmup.
- Stage 2A β Pure AR Recovery & Context Extension (
1.80BAR tokens,ctx=1024):100%pure causal AR on fresh60/20/20shards at1.5e-3plateau LR.
- Stage 2B β WSD Cosine Decay + Skew-JSD Distillation (
450Mtokens,ctx=1024):- Cosine decay
1.5e-3 β 5.0e-5with0.50Hard CE +0.50Skew-JSD (Ξ²=0.2, Ο=1.5) fromSmolLM2-360Mon55%Web /20%Code /25%Math.
- Cosine decay
- Stage 3 β Replay-Heavy ChatML SFT + Skew-JSD (
83.9Mtokens,ctx=1024):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.
- Stage 4 β On-Policy GKD Polish (
200steps,ctx=512):75%on-policy student rollouts (temp=0.75) trained with mode-seeking Skew-JSD (Ξ²=0.1, Ο=1.5) againstSmolLM2-1.7B-Instruct+25%off-policy anchor to reduce repetition loops without forgetting.
Held-Out Validation Progression (Cross-Entropy Loss, lower is better)
| Stage | FineWeb | Code+Math | ChatML SFT |
|---|---|---|---|
Stage 1 End (13.36B raw) |
4.2265 |
2.4529 |
β |
Stage 2A End (+1.80B AR ctx=1024) |
3.9341 |
2.2240 |
β |
Stage 2B Final (+450M 360M KD Decay) |
3.7811 |
2.0968 |
2.0468 (0-shot) |
Stage 3 (+83.9M ChatML SFT + Replay) |
3.8116 |
2.1146 |
1.6746 |
| Stage 4 (On-Policy GKD Final) | 3.7798 |
2.1089 |
1.675 |
Available Files
Voidling-67M-Instruct-F16.ggufβ Full 16-bit GGUF (~135 MB)Voidling-67M-Instruct-Q8_0.ggufβ 8-bit quantized GGUF (~72 MB, recommended for LM Studio /llama.cpp)hf/β Native Hugging FaceQwen3ForCausalLMsafetensors + tokenizer
Usage
LM Studio / llama.cpp
Load Voidling-67M-Instruct-Q8_0.gguf or Voidling-67M-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/Voidling-67M-Instruct"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto")
messages = [{"role": "user", "content": "Give me 3 practical tips for staying focused while studying."}]
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 67.4M total parameters (42.2M non-embedding), Voidling-67M-Instruct is an experimental tiny model intended for research, ultra-lightweight local testing, and edge experiments. It produces coherent short-form English advice and chat structure, but struggles with multi-step arithmetic, strict algorithmic coding, and deep factual recall.
- Downloads last month
- 476