penfever commited on
Commit
a779325
ยท
verified ยท
1 Parent(s): cc038c0

Add model/dataset card

Browse files
Files changed (1) hide show
  1. README.md +101 -0
README.md ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - Qwen/Qwen3-8B
4
+ datasets:
5
+ - open-thoughts/OpenThoughts-Agent-SFT-ColdStartForRL-10K
6
+ library_name: transformers
7
+ license: apache-2.0
8
+ model-index:
9
+ - name: OpenThinkerAgent-8B-ColdStartSFTForRL
10
+ results: []
11
+ pipeline_tag: text-generation
12
+ tags:
13
+ - agents
14
+ - terminal
15
+ - code
16
+ - software-engineering
17
+ - sft
18
+ - cold-start
19
+ ---
20
+ <p align="center">
21
+ <img src="https://huggingface.co/datasets/open-thoughts/OpenThoughts1-Agent-SFT/resolve/main/ota-logo.png" width="50%">
22
+ </p>
23
+
24
+ <p align="center">
25
+ <a href="https://www.openthoughts.ai/blog/agent" style="margin-right: 24px;">Project</a> |
26
+ <a href="https://github.com/open-thoughts/OpenThoughts-Agent" style="margin-right: 24px; margin-left: 24px;">Code</a> |
27
+ <a href="https://huggingface.co/collections/open-thoughts/openthinker-agent" style="margin-left: 24px;">Collection</a>
28
+ </p>
29
+
30
+
31
+ # OpenThinkerAgent-8B-ColdStartSFTForRL
32
+
33
+ **OpenThoughts-Agent** is an open-source effort to curate the best datasets for training agents. Our release includes [datasets](https://huggingface.co/collections/open-thoughts/openthinker-agent), [models](https://huggingface.co/collections/open-thoughts/openthinker-agent) and our [research codebase](https://github.com/open-thoughts/OpenThoughts-Agent).
34
+
35
+ [OpenThinkerAgent-8B-ColdStartSFTForRL](https://huggingface.co/open-thoughts/OpenThinkerAgent-8B-ColdStartSFTForRL) is the **cold-start, pre-RL base** of the OpenThoughts-Agent 8B SFTโ†’RL recipe. It is post-trained from [Qwen/Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B) with full-parameter SFT on the cold-start [OpenThoughts-Agent-SFT-ColdStartForRL-10K](https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-SFT-ColdStartForRL-10K) dataset. Its purpose is to give the model the agentic interaction format and tool-use behaviour needed to make subsequent reinforcement learning stable; it is then RL-trained to produce [OpenThinkerAgent-8B-RL](https://huggingface.co/open-thoughts/OpenThinkerAgent-8B-RL).
36
+
37
+ > **Architecture note.** Although the upstream artifact carries a `GLM-4.7` label (which refers to the *teacher* that generated the SFT trajectories, not the student), this model is a **Qwen3-8B**. Its `config.json` reports `model_type: qwen3`, `architectures: ["Qwen3ForCausalLM"]`, 36 layers, hidden size 4096, 32 attention heads / 8 KV heads, and a 40,960-token context โ€” i.e. standard Qwen3-8B.
38
+
39
+ - **Homepage:** https://www.openthoughts.ai/blog/agent
40
+ - **Repository:** https://github.com/open-thoughts/OpenThoughts-Agent
41
+
42
+ # Model details
43
+
44
+ - **Base model:** [Qwen/Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B)
45
+ - **Architecture:** Qwen3 (`Qwen3ForCausalLM`), 36 layers, hidden size 4096, 32 attention heads, 8 KV heads, RoPE ฮธ = 1e6
46
+ - **Context length:** 40,960 tokens (max position embeddings)
47
+ - **Vocabulary:** 151,936 tokens
48
+ - **Precision:** bf16
49
+ - **Role in pipeline:** cold-start SFT checkpoint (pre-RL base)
50
+
51
+ # Position in the SFT โ†’ RL recipe
52
+
53
+ 1. [OpenThoughts-Agent-SFT-ColdStartForRL-10K](https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-SFT-ColdStartForRL-10K) โ€” cold-start SFT trajectories.
54
+ 2. **[OpenThinkerAgent-8B-ColdStartSFTForRL](https://huggingface.co/open-thoughts/OpenThinkerAgent-8B-ColdStartSFTForRL)** โ€” this model (Qwen3-8B after cold-start SFT, the pre-RL base).
55
+ 3. [OpenThoughts-Agent-RL-5K](https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-RL-5K) โ€” on-policy RL tasks.
56
+ 4. [OpenThinkerAgent-8B-RL](https://huggingface.co/open-thoughts/OpenThinkerAgent-8B-RL) โ€” the final RL'd checkpoint (step 45).
57
+
58
+ # Training data
59
+
60
+ Trained on [OpenThoughts-Agent-SFT-ColdStartForRL-10K](https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-SFT-ColdStartForRL-10K) (**9,437** (task, trajectory) pairs): SWE-Smith sandboxed coding tasks with tests, solved by a teacher model in the **terminus-2** harness inside Daytona sandboxes, oracle-verified (120s verifier timeout).
61
+
62
+ # Training procedure
63
+
64
+ Full-parameter SFT (LLaMA-Factory). Hyperparameters as recorded by the trainer:
65
+
66
+ - learning_rate: 4e-05
67
+ - lr_scheduler_type: cosine, warmup_ratio 0.1
68
+ - train_batch_size: 1 per device ร— 8 devices ร— gradient_accumulation_steps 2 โ†’ total_train_batch_size 16
69
+ - optimizer: AdamW (fused), betas (0.9, 0.98), eps 1e-08
70
+ - num_epochs: 7
71
+ - seed: 42
72
+ - precision: bf16
73
+ - final train loss: โ‰ˆ 0.303 (4,130 global steps)
74
+
75
+ ### Framework versions
76
+ - Transformers 4.57.6
77
+ - PyTorch 2.9.0+cu128
78
+ - Datasets 4.4.1
79
+ - Tokenizers 0.22.2
80
+
81
+ # Intended uses & limitations
82
+
83
+ This checkpoint is intended as the **starting point for agentic RL**, not as a final deployable agent. It has learned the agentic format and tool-use conventions of the terminus-2 harness from a relatively small cold-start set; its standalone agentic performance is expected to be below the RL-trained successor [OpenThinkerAgent-8B-RL](https://huggingface.co/open-thoughts/OpenThinkerAgent-8B-RL). As with the base Qwen3-8B, outputs may be incorrect or unsafe and should not be executed without review. No standalone agentic-benchmark numbers are published for this cold-start checkpoint.
84
+
85
+ # Links
86
+ - ๐ŸŒ [OpenThoughts-Agent project page](https://www.openthoughts.ai/blog/agent)
87
+ - ๐Ÿ’ป [OpenThoughts-Agent GitHub repository](https://github.com/open-thoughts/OpenThoughts-Agent)
88
+ - ๐Ÿ“š [OpenThinker-Agent collection](https://huggingface.co/collections/open-thoughts/openthinker-agent)
89
+ - ๐Ÿง  [Training dataset: OpenThoughts-Agent-SFT-ColdStartForRL-10K](https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-SFT-ColdStartForRL-10K)
90
+ - ๐Ÿง  [RL tasks: OpenThoughts-Agent-RL-5K](https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-RL-5K)
91
+ - ๐Ÿค– [Final RL model: OpenThinkerAgent-8B-RL](https://huggingface.co/open-thoughts/OpenThinkerAgent-8B-RL)
92
+
93
+ # Citation
94
+ ```
95
+ @misc{openthoughts-agent,
96
+ author = {Team, OpenThoughts-Agent},
97
+ title = {{OpenThoughts-Agent: Data Recipes for Agentic Models}},
98
+ howpublished = {https://www.openthoughts.ai/blog/agent},
99
+ year = {2026}
100
+ }
101
+ ```