Update README.md
Browse files
README.md
CHANGED
|
@@ -25,13 +25,15 @@ tags:
|
|
| 25 |
- llama
|
| 26 |
- mistral
|
| 27 |
- gemma
|
|
|
|
|
|
|
| 28 |
pretty_name: Qwopus Pashto Reasoning SFT Dataset - د پښتو AI لپاره د استدلال ډیټاسیټ
|
| 29 |
size_categories:
|
| 30 |
- 10k<n<100k
|
| 31 |
task_categories:
|
| 32 |
- text-generation
|
| 33 |
-
- conversational
|
| 34 |
- question-answering
|
|
|
|
| 35 |
---
|
| 36 |
|
| 37 |
# 🚀 Qwopus Pashto Reasoning SFT Dataset
|
|
@@ -184,6 +186,21 @@ for message in conversation["conversations"]:
|
|
| 184 |
print(f"{message['from']}: {message['value'][:100]}...")
|
| 185 |
```
|
| 186 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 187 |
### LLaMA-Factory Training
|
| 188 |
|
| 189 |
```bash
|
|
@@ -223,7 +240,7 @@ After fine-tuning on this dataset, models demonstrate:
|
|
| 223 |
✅ **Native-level Pashto reasoning**
|
| 224 |
✅ **Step-by-step explanation capability**
|
| 225 |
✅ **Grammar analysis in Pashto**
|
| 226 |
-
✅ **Mathematical problem-solving in
|
| 227 |
|
| 228 |
## 📊 Benchmarks
|
| 229 |
|
|
@@ -239,8 +256,8 @@ After fine-tuning on this dataset, models demonstrate:
|
|
| 239 |
|
| 240 |
This dataset is part of the growing **Pashto AI Ecosystem**:
|
| 241 |
|
| 242 |
-
- 🤗 [Pashto Models](https://huggingface.co/models?language=ps)
|
| 243 |
-
- 📚 [Pashto NLP Resources](https://github.com/
|
| 244 |
- 💬 [Discord Community](https://discord.gg/pashto-ai)
|
| 245 |
|
| 246 |
## 🤝 Contribute & Support
|
|
@@ -251,7 +268,7 @@ This dataset is part of the growing **Pashto AI Ecosystem**:
|
|
| 251 |
- 🐛 Report issues
|
| 252 |
- 🔧 Submit PRs for improvements
|
| 253 |
- 📢 Share with your network
|
| 254 |
-
- 💰 Sponsor via [GitHub Sponsors](https://github.com/sponsors/
|
| 255 |
|
| 256 |
## 🚀 Citation & Usage
|
| 257 |
|
|
@@ -299,7 +316,7 @@ This dataset is released under the **Apache License 2.0**, permitting commercial
|
|
| 299 |
[](https://huggingface.co/datasets/nassimjp/qwopus-pashto-reasoning-sft)
|
| 300 |
[](https://github.com/nassimjp/qwopus-pashto-reasoning)
|
| 301 |
[](https://discord.gg/pashto-ai)
|
| 302 |
-
[](https://twitter.com/
|
| 303 |
|
| 304 |
---
|
| 305 |
|
|
@@ -308,5 +325,4 @@ This dataset is released under the **Apache License 2.0**, permitting commercial
|
|
| 308 |
|
| 309 |
**🇦🇫 د پښتو AI راتلونکی جوړوو!**
|
| 310 |
*Building the future of Pashto AI together!*
|
| 311 |
-
|
| 312 |
```
|
|
|
|
| 25 |
- llama
|
| 26 |
- mistral
|
| 27 |
- gemma
|
| 28 |
+
- text-generation-inference
|
| 29 |
+
- chat
|
| 30 |
pretty_name: Qwopus Pashto Reasoning SFT Dataset - د پښتو AI لپاره د استدلال ډیټاسیټ
|
| 31 |
size_categories:
|
| 32 |
- 10k<n<100k
|
| 33 |
task_categories:
|
| 34 |
- text-generation
|
|
|
|
| 35 |
- question-answering
|
| 36 |
+
- conversational
|
| 37 |
---
|
| 38 |
|
| 39 |
# 🚀 Qwopus Pashto Reasoning SFT Dataset
|
|
|
|
| 186 |
print(f"{message['from']}: {message['value'][:100]}...")
|
| 187 |
```
|
| 188 |
|
| 189 |
+
### Text Generation with Transformers
|
| 190 |
+
|
| 191 |
+
```python
|
| 192 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 193 |
+
|
| 194 |
+
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-7B")
|
| 195 |
+
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2-7B")
|
| 196 |
+
|
| 197 |
+
# Fine-tune using the dataset
|
| 198 |
+
# Then generate Pashto text
|
| 199 |
+
inputs = tokenizer("د پښتو جملې موضوع څه ده؟", return_tensors="pt")
|
| 200 |
+
outputs = model.generate(**inputs, max_length=200)
|
| 201 |
+
print(tokenizer.decode(outputs[0]))
|
| 202 |
+
```
|
| 203 |
+
|
| 204 |
### LLaMA-Factory Training
|
| 205 |
|
| 206 |
```bash
|
|
|
|
| 240 |
✅ **Native-level Pashto reasoning**
|
| 241 |
✅ **Step-by-step explanation capability**
|
| 242 |
✅ **Grammar analysis in Pashto**
|
| 243 |
+
✅ **Mathematical problem-solving in Pashto context**
|
| 244 |
|
| 245 |
## 📊 Benchmarks
|
| 246 |
|
|
|
|
| 256 |
|
| 257 |
This dataset is part of the growing **Pashto AI Ecosystem**:
|
| 258 |
|
| 259 |
+
- 🤗 [Pashto Models on Hugging Face](https://huggingface.co/models?language=ps)
|
| 260 |
+
- 📚 [Pashto NLP Resources](https://github.com/spinzar)
|
| 261 |
- 💬 [Discord Community](https://discord.gg/pashto-ai)
|
| 262 |
|
| 263 |
## 🤝 Contribute & Support
|
|
|
|
| 268 |
- 🐛 Report issues
|
| 269 |
- 🔧 Submit PRs for improvements
|
| 270 |
- 📢 Share with your network
|
| 271 |
+
- 💰 Sponsor via [GitHub Sponsors](https://github.com/sponsors/spinzar)
|
| 272 |
|
| 273 |
## 🚀 Citation & Usage
|
| 274 |
|
|
|
|
| 316 |
[](https://huggingface.co/datasets/nassimjp/qwopus-pashto-reasoning-sft)
|
| 317 |
[](https://github.com/nassimjp/qwopus-pashto-reasoning)
|
| 318 |
[](https://discord.gg/pashto-ai)
|
| 319 |
+
[](https://twitter.com/PashtoAi)
|
| 320 |
|
| 321 |
---
|
| 322 |
|
|
|
|
| 325 |
|
| 326 |
**🇦🇫 د پښتو AI راتلونکی جوړوو!**
|
| 327 |
*Building the future of Pashto AI together!*
|
|
|
|
| 328 |
```
|