Views
No views yet
Fawen is a 35-billion-parameter sparse Mixture-of-Experts (MoE) language model that activates only about 3 billion parameters per token. It was built to be a small-in-practice, smart-in-behavior assistant: deeply compressed for efficient deployment, then retrained to recover quality, and tuned on a large body of real agent interaction traces so it can think step by step and call tools reliably.
| Property | Value |
|---|---|
| Model name | Fawen |
| Version | 1.0 |
| Developer | David Zhang |
| Architecture | Sparse Mixture-of-Experts (MoE) |
| Parameters | ~35B total, ~3B active per token |
| Precision | Aggressively quantized, then retrained (quantization-aware) |
| Context window | Extended long-context |
| Languages | English, Chinese (multilingual capable) |
| Primary strengths | Tool / function calling, transparent reasoning, agentic workflows |
| License | Apache 2.0 |
The result is a model that is deployment-friendly (quantized, MoE-sparse) yet behavior-rich (agentic, transparent, multilingual).
| Capability | Description |
|---|---|
| Tool / Function calling | Emits well-formed tool calls for web, files, math, databases, and general APIs. |
| Transparent reasoning | Produces an explicit reasoning trace before answering or acting. |
| Agentic workflows | Sustains multi-step plans with intermediate tool use and self-correction. |
| Efficient inference | MoE sparsity + quantization keep active compute and memory low. |
| Multilingual | Fluent in English and Chinese; general multilingual coverage. |
| Knowledge & skills | Inherits broad knowledge, math, and coding ability from the MoE backbone. |
<think> ... </think> — the model's internal deliberation: restating the goal, decomposing the problem, and deciding on a plan.<tool_call> ... </tool_call> — a structured invocation of a tool/function, emitted only when external action is needed.User: What's the weather in Shanghai right now, and should I bring an umbrella?
Assistant:
<think>
The user wants the current weather in Shanghai and a recommendation.
I need a live observation, so I should call the weather tool, then judge rain probability.
</think>
<tool_call>
{
"name": "get_weather",
"arguments": { "city": "Shanghai", "units": "metric" }
}
</tool_call>
[tool returns: Shanghai, 18°C, light rain, 70% humidity]
<think>
It is currently raining in Shanghai, so an umbrella is advisable.
</think>
Yes — it's lightly raining in Shanghai right now (18°C). I'd bring an umbrella.| Agentic Coding | Fawen-1.0-35B | Qwen3.5-35B | Qwen3.6-35B | Gemma4-31B | Qwen3.5-397B |
|---|---|---|---|---|---|
| Terminal-Bench 2.1 (Terminus-2) | TBD | 41.4 | 52.5 | 42.1 | 53.5 |
| Terminal-Bench 2.1 (Claude Code) | TBD | 38.9 | 49.2 | - | 48.6 |
| SWE-bench Verified | TBD | 70 | 73.4 | 52 | 76.4 |
| SWE-bench Pro | TBD | 44.6 | 49.5 | 35.7 | 51.6 |
| SWE-bench Multilingual | TBD | 60.3 | 67.2 | 51.7 | 69.3 |
| NL2Repo | TBD | 20.5 | 29.4 | 15.5 | 36.8 |
| Claw-eval Avg | TBD | 65.4 | 68.7 | 48.5 | 70.7 |
| SWE Atlas - QnA | TBD | 13.2 | 15.5 | - | 20.4 |
| SWE Atlas - RF | TBD | 10.2 | 11.4 | - | 18.4 |
| SWE Atlas - TW | TBD | 9.8 | 13.3 | - | 18.5 |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "DavidZhang/Fawen-1.0" # replace with your repo id
4tokenizer = AutoTokenizer.from_pretrained(model_id)
5model = AutoModelForCausalLM.from_pretrained(
6 model_id,
7 torch_dtype="auto", # quantized weights load natively
8 device_map="auto",
9)
10
11messages = [
12 {"role": "user", "content": "Check the status of order #88231 and summarize it."},
13]
14inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
15out = model.generate(inputs, max_new_tokens=1024)
16print(tokenizer.decode(out[0], skip_special_tokens=False))<think> / <tool_call> scaffold.1@misc{fawen2026,
2 title = {Fawen: A Reasoning-Enhanced, Tool-Native Mixture-of-Experts Language Model},
3 author = {Zhang, David},
4 year = {2026},
5 howpublished = {\url{https://huggingface.co/DavidZhang/Fawen-1.0}},
6 note = {35B sparse MoE, quantized + retrained; agentic and reasoning-scaffold training.}
7}