Update README.md
Browse files
README.md
CHANGED
|
@@ -24,8 +24,6 @@ size_categories:
|
|
| 24 |
|
| 25 |
A compact, high-quality dataset designed to train and evaluate **reasoning-capable LLMs with tool usage and function calling**. This dataset focuses on structured thinking, multi-step reasoning, and practical tool integration across diverse NLP tasks.
|
| 26 |
|
| 27 |
-
---
|
| 28 |
-
|
| 29 |
## 📌 Overview
|
| 30 |
|
| 31 |
**GRPO 4K Reasoning Tools** is a curated dataset of ~4K examples that combines:
|
|
@@ -40,8 +38,6 @@ It is suitable for training or fine-tuning models to:
|
|
| 40 |
* Decide when to use tools
|
| 41 |
* Produce structured and reliable outputs
|
| 42 |
|
| 43 |
-
---
|
| 44 |
-
|
| 45 |
## 🎯 Tasks Covered
|
| 46 |
|
| 47 |
This dataset spans multiple NLP task categories:
|
|
@@ -53,8 +49,6 @@ This dataset spans multiple NLP task categories:
|
|
| 53 |
|
| 54 |
Each example is designed to encourage **reasoning-first behavior**, often requiring intermediate steps before producing the final answer.
|
| 55 |
|
| 56 |
-
---
|
| 57 |
-
|
| 58 |
## ✨ Key Features
|
| 59 |
|
| 60 |
* **🧠 Reasoning-Centric**
|
|
@@ -72,14 +66,13 @@ Each example is designed to encourage **reasoning-first behavior**, often requir
|
|
| 72 |
* **⚙️ Structured Outputs**
|
| 73 |
Useful for training structured generation (JSON, tool calls, etc.).
|
| 74 |
|
| 75 |
-
---
|
| 76 |
-
|
| 77 |
## 📂 Dataset Structure
|
| 78 |
|
| 79 |
Each sample typically contains:
|
| 80 |
|
| 81 |
```json
|
| 82 |
{
|
|
|
|
| 83 |
"system": "User query or task description",
|
| 84 |
"user": "Optional context",
|
| 85 |
"thinking": "Step-by-step reasoning process",
|
|
@@ -103,30 +96,24 @@ Each sample typically contains:
|
|
| 103 |
| `tool_calls` | Function/tool usage (if applicable) |
|
| 104 |
| `output` | Final response |
|
| 105 |
|
| 106 |
-
---
|
| 107 |
|
| 108 |
## 🧪 Use Cases
|
| 109 |
|
| 110 |
* Fine-tuning LLMs for:
|
| 111 |
-
|
| 112 |
* Tool use (function calling)
|
| 113 |
* Structured reasoning
|
| 114 |
* Multi-step problem solving
|
| 115 |
|
| 116 |
* Evaluating:
|
| 117 |
-
|
| 118 |
* Reasoning quality
|
| 119 |
* Tool selection accuracy
|
| 120 |
* Output consistency
|
| 121 |
|
| 122 |
* Research in:
|
| 123 |
-
|
| 124 |
* GRPO (Generalized Reinforcement Policy Optimization)
|
| 125 |
* Chain-of-thought learning
|
| 126 |
* Tool-augmented agents
|
| 127 |
|
| 128 |
-
---
|
| 129 |
-
|
| 130 |
## 🚀 Getting Started
|
| 131 |
|
| 132 |
### Load Dataset (Hugging Face)
|
|
@@ -139,49 +126,35 @@ dataset = load_dataset("nphearum/grpo-4k-reasoning-tools")
|
|
| 139 |
print(dataset["train"][0])
|
| 140 |
```
|
| 141 |
|
| 142 |
-
---
|
| 143 |
-
|
| 144 |
## 🧠 Training Tips
|
| 145 |
|
| 146 |
* Use **reasoning traces (`thinking`)** as supervision targets
|
| 147 |
-
|
| 148 |
* Optionally:
|
| 149 |
-
|
| 150 |
* Mask reasoning during inference
|
| 151 |
* Train with or without tool calls depending on your objective
|
| 152 |
|
| 153 |
* Combine with:
|
| 154 |
-
|
| 155 |
* Instruction tuning datasets
|
| 156 |
* Tool-use benchmarks
|
| 157 |
|
| 158 |
-
---
|
| 159 |
-
|
| 160 |
## 🏷️ Tags
|
| 161 |
|
| 162 |
`reasoning` • `thinking` • `tools` • `function-calling` • `grpo` • `multi-task`
|
| 163 |
|
| 164 |
-
---
|
| 165 |
|
| 166 |
## 📊 Dataset Size
|
| 167 |
|
| 168 |
* **~4K examples**
|
| 169 |
* Category: `1K < n < 10K`
|
| 170 |
|
| 171 |
-
---
|
| 172 |
-
|
| 173 |
## 📜 License
|
| 174 |
|
| 175 |
Apache License 2.0
|
| 176 |
|
| 177 |
-
---
|
| 178 |
-
|
| 179 |
## 🤝 Contributing
|
| 180 |
|
| 181 |
Contributions, improvements, and extensions are welcome!
|
| 182 |
-
|
| 183 |
Feel free to:
|
| 184 |
-
|
| 185 |
* Add more tool-use scenarios
|
| 186 |
* Improve reasoning quality
|
| 187 |
* Expand task diversity
|
|
@@ -193,10 +166,7 @@ Feel free to:
|
|
| 193 |
Maintained by **@nphearum**
|
| 194 |
For questions or collaboration, open an issue or discussion on the repository.
|
| 195 |
|
| 196 |
-
---
|
| 197 |
-
|
| 198 |
If you want, I can also tailor this README for:
|
| 199 |
-
|
| 200 |
* Hugging Face dataset card format (with YAML + metrics)
|
| 201 |
* GitHub repo README (with badges, visuals)
|
| 202 |
* Training pipeline examples (GRPO / RLHF / SFT)
|
|
|
|
| 24 |
|
| 25 |
A compact, high-quality dataset designed to train and evaluate **reasoning-capable LLMs with tool usage and function calling**. This dataset focuses on structured thinking, multi-step reasoning, and practical tool integration across diverse NLP tasks.
|
| 26 |
|
|
|
|
|
|
|
| 27 |
## 📌 Overview
|
| 28 |
|
| 29 |
**GRPO 4K Reasoning Tools** is a curated dataset of ~4K examples that combines:
|
|
|
|
| 38 |
* Decide when to use tools
|
| 39 |
* Produce structured and reliable outputs
|
| 40 |
|
|
|
|
|
|
|
| 41 |
## 🎯 Tasks Covered
|
| 42 |
|
| 43 |
This dataset spans multiple NLP task categories:
|
|
|
|
| 49 |
|
| 50 |
Each example is designed to encourage **reasoning-first behavior**, often requiring intermediate steps before producing the final answer.
|
| 51 |
|
|
|
|
|
|
|
| 52 |
## ✨ Key Features
|
| 53 |
|
| 54 |
* **🧠 Reasoning-Centric**
|
|
|
|
| 66 |
* **⚙️ Structured Outputs**
|
| 67 |
Useful for training structured generation (JSON, tool calls, etc.).
|
| 68 |
|
|
|
|
|
|
|
| 69 |
## 📂 Dataset Structure
|
| 70 |
|
| 71 |
Each sample typically contains:
|
| 72 |
|
| 73 |
```json
|
| 74 |
{
|
| 75 |
+
"category": "math"
|
| 76 |
"system": "User query or task description",
|
| 77 |
"user": "Optional context",
|
| 78 |
"thinking": "Step-by-step reasoning process",
|
|
|
|
| 96 |
| `tool_calls` | Function/tool usage (if applicable) |
|
| 97 |
| `output` | Final response |
|
| 98 |
|
|
|
|
| 99 |
|
| 100 |
## 🧪 Use Cases
|
| 101 |
|
| 102 |
* Fine-tuning LLMs for:
|
|
|
|
| 103 |
* Tool use (function calling)
|
| 104 |
* Structured reasoning
|
| 105 |
* Multi-step problem solving
|
| 106 |
|
| 107 |
* Evaluating:
|
|
|
|
| 108 |
* Reasoning quality
|
| 109 |
* Tool selection accuracy
|
| 110 |
* Output consistency
|
| 111 |
|
| 112 |
* Research in:
|
|
|
|
| 113 |
* GRPO (Generalized Reinforcement Policy Optimization)
|
| 114 |
* Chain-of-thought learning
|
| 115 |
* Tool-augmented agents
|
| 116 |
|
|
|
|
|
|
|
| 117 |
## 🚀 Getting Started
|
| 118 |
|
| 119 |
### Load Dataset (Hugging Face)
|
|
|
|
| 126 |
print(dataset["train"][0])
|
| 127 |
```
|
| 128 |
|
|
|
|
|
|
|
| 129 |
## 🧠 Training Tips
|
| 130 |
|
| 131 |
* Use **reasoning traces (`thinking`)** as supervision targets
|
|
|
|
| 132 |
* Optionally:
|
|
|
|
| 133 |
* Mask reasoning during inference
|
| 134 |
* Train with or without tool calls depending on your objective
|
| 135 |
|
| 136 |
* Combine with:
|
|
|
|
| 137 |
* Instruction tuning datasets
|
| 138 |
* Tool-use benchmarks
|
| 139 |
|
|
|
|
|
|
|
| 140 |
## 🏷️ Tags
|
| 141 |
|
| 142 |
`reasoning` • `thinking` • `tools` • `function-calling` • `grpo` • `multi-task`
|
| 143 |
|
|
|
|
| 144 |
|
| 145 |
## 📊 Dataset Size
|
| 146 |
|
| 147 |
* **~4K examples**
|
| 148 |
* Category: `1K < n < 10K`
|
| 149 |
|
|
|
|
|
|
|
| 150 |
## 📜 License
|
| 151 |
|
| 152 |
Apache License 2.0
|
| 153 |
|
|
|
|
|
|
|
| 154 |
## 🤝 Contributing
|
| 155 |
|
| 156 |
Contributions, improvements, and extensions are welcome!
|
|
|
|
| 157 |
Feel free to:
|
|
|
|
| 158 |
* Add more tool-use scenarios
|
| 159 |
* Improve reasoning quality
|
| 160 |
* Expand task diversity
|
|
|
|
| 166 |
Maintained by **@nphearum**
|
| 167 |
For questions or collaboration, open an issue or discussion on the repository.
|
| 168 |
|
|
|
|
|
|
|
| 169 |
If you want, I can also tailor this README for:
|
|
|
|
| 170 |
* Hugging Face dataset card format (with YAML + metrics)
|
| 171 |
* GitHub repo README (with badges, visuals)
|
| 172 |
* Training pipeline examples (GRPO / RLHF / SFT)
|