No model weights have been modified. No additional training or fine-tuning has been performed.
VibeThinker-3B is a 3-billion-parameter dense reasoning model developed by WeiboAI. It is built upon Qwen2.5-Coder-3B and post-trained with an upgraded Spectrum-to-Signal (SSP) pipeline. The model is designed for tasks with reliable verification signals, including:
The technical report shows that VibeThinker-3B can reach frontier-level performance on several verifiable reasoning benchmarks while remaining much smaller than typical frontier reasoning systems.
For full details, see the
original model card and the
technical report.
1pip install vllm==0.10.1
2# or
3pip install sglang>=0.4.9.post6
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained(
4 "WeiboAI/VibeThinker-3B", # or "OMCHOKSI108/VibeThinker-3B"
5 low_cpu_mem_usage=True,
6 torch_dtype="bfloat16",
7 device_map="auto",
8)
9tokenizer = AutoTokenizer.from_pretrained(
10 "WeiboAI/VibeThinker-3B",
11 trust_remote_code=True,
12)
1from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
2
3model = AutoModelForCausalLM.from_pretrained(
4 "OMCHOKSI108/VibeThinker-3B",
5 low_cpu_mem_usage=True,
6 torch_dtype="bfloat16",
7 device_map="auto",
8)
9tokenizer = AutoTokenizer.from_pretrained(
10 "OMCHOKSI108/VibeThinker-3B",
11 trust_remote_code=True,
12)
13
14messages = [{"role": "user", "content": "What is the sum of the first 100 prime numbers?"}]
15text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
16inputs = tokenizer([text], return_tensors="pt").to(model.device)
17
18outputs = model.generate(
19 **inputs,
20 generation_config=GenerationConfig(
21 max_new_tokens=40960,
22 do_sample=True,
23 temperature=0.6,
24 top_p=0.95,
25 top_k=None,
26 ),
27)
28response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
29print(response)