Text Generation
Transformers
Safetensors
qwen3
agents
terminal
code
software-engineering
conversational
text-generation-inference
Instructions to use open-thoughts/OpenThinkerAgent-32B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use open-thoughts/OpenThinkerAgent-32B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="open-thoughts/OpenThinkerAgent-32B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("open-thoughts/OpenThinkerAgent-32B") model = AutoModelForCausalLM.from_pretrained("open-thoughts/OpenThinkerAgent-32B") 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use open-thoughts/OpenThinkerAgent-32B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "open-thoughts/OpenThinkerAgent-32B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "open-thoughts/OpenThinkerAgent-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/open-thoughts/OpenThinkerAgent-32B
- SGLang
How to use open-thoughts/OpenThinkerAgent-32B 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 "open-thoughts/OpenThinkerAgent-32B" \ --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": "open-thoughts/OpenThinkerAgent-32B", "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 "open-thoughts/OpenThinkerAgent-32B" \ --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": "open-thoughts/OpenThinkerAgent-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use open-thoughts/OpenThinkerAgent-32B with Docker Model Runner:
docker model run hf.co/open-thoughts/OpenThinkerAgent-32B
Add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- Qwen/Qwen3-32B
|
| 4 |
+
datasets:
|
| 5 |
+
- open-thoughts/OpenThoughts-Agent-SFT-100K
|
| 6 |
+
library_name: transformers
|
| 7 |
+
license: apache-2.0
|
| 8 |
+
pipeline_tag: text-generation
|
| 9 |
+
tags:
|
| 10 |
+
- agents
|
| 11 |
+
- terminal
|
| 12 |
+
- code
|
| 13 |
+
- software-engineering
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<p align="center">
|
| 17 |
+
<a href="https://www.openthoughts.ai/blog/agent" style="margin-right: 24px;">Project</a> |
|
| 18 |
+
<a href="https://github.com/open-thoughts/OpenThoughts-Agent" style="margin-right: 24px; margin-left: 24px;">Code</a> |
|
| 19 |
+
<a href="https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-SFT-100K" style="margin-left: 24px;">Training data</a> |
|
| 20 |
+
<a href="https://huggingface.co/collections/open-thoughts/openthinker-agent" style="margin-left: 24px;">Collection</a>
|
| 21 |
+
</p>
|
| 22 |
+
|
| 23 |
+
# OpenThinkerAgent-32B
|
| 24 |
+
|
| 25 |
+
**OpenThoughts-Agent** is an open effort to curate the best data for training agentic
|
| 26 |
+
language models. **OpenThinkerAgent-32B** is the 32B model from the SFT scaling ladder, fine-tuned
|
| 27 |
+
from [Qwen/Qwen3-32B](https://huggingface.co/Qwen/Qwen3-32B) on the **100,000-example**
|
| 28 |
+
[OpenThoughts-Agent-SFT-100K](https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-SFT-100K)
|
| 29 |
+
dataset (Top-4 task sources, GLM-4.7-AWQ teacher in the terminus-2 harness, ≥5-turn filter).
|
| 30 |
+
|
| 31 |
+
## Performance
|
| 32 |
+
|
| 33 |
+
Evaluated in the **terminus-2** harness (pass@1, 3 stochastic re-runs):
|
| 34 |
+
|
| 35 |
+
| Benchmark | Accuracy |
|
| 36 |
+
| --- | --- |
|
| 37 |
+
| SWE-Bench-Verified-100 | 55.7 |
|
| 38 |
+
| OpenThoughts-TBLite | 41.3 |
|
| 39 |
+
| Terminal-Bench 2.0 | 26.2 |
|
| 40 |
+
|
| 41 |
+
### Full benchmark suite (OpenThinkerAgent-32B, best harness)
|
| 42 |
+
|
| 43 |
+
| Benchmark | Acc |
|
| 44 |
+
| --- | --- |
|
| 45 |
+
| SWE-Bench-Verified | 54.0 |
|
| 46 |
+
| Terminal-Bench 2.0 | 26.2 |
|
| 47 |
+
| Aider-Polyglot | 32.4 |
|
| 48 |
+
| BFCL-Parity | 85.9 |
|
| 49 |
+
| MedAgentBench | 47.8 |
|
| 50 |
+
| GAIA-127 | 23.6 |
|
| 51 |
+
| FinanceAgent-Terminal | 44.0 |
|
| 52 |
+
| **Average (7)** | **44.8** |
|
| 53 |
+
|
| 54 |
+
This is the best open-data 32B model on the average of seven agentic benchmarks.
|
| 55 |
+
|
| 56 |
+
## Links
|
| 57 |
+
- 🌐 [Project](https://www.openthoughts.ai/blog/agent)
|
| 58 |
+
- 💻 [Code](https://github.com/open-thoughts/OpenThoughts-Agent)
|
| 59 |
+
- 🧠 [Training dataset](https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-SFT-100K)
|
| 60 |
+
- 📚 [Collection](https://huggingface.co/collections/open-thoughts/openthinker-agent)
|
| 61 |
+
|
| 62 |
+
## Citation
|
| 63 |
+
```
|
| 64 |
+
@misc{openthoughts-agent,
|
| 65 |
+
author = {Team, OpenThoughts-Agent},
|
| 66 |
+
title = {OpenThoughts-Agent: Data Recipes for Agentic Models},
|
| 67 |
+
howpublished = {https://www.openthoughts.ai/blog/agent},
|
| 68 |
+
year = {2026}
|
| 69 |
+
}
|
| 70 |
+
```
|