Files
ModelHub XC d8c4c5915b 初始化项目,由ModelHub XC社区提供模型
Model: nypgd/qwen3-4b-grpo-tr-matematik-merged
Source: Original Platform
2026-09-15 05:24:18 +08:00

42 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
base_model: unsloth/Qwen3-4B-Base
tags:
- text-generation-inference
- transformers
- unsloth
- qwen3
- trl
- turkish
- math
license: apache-2.0
language:
- tr
---
# Qwen3-4B GRPO Türkçe Matematik Modeli
Türkçe matematik problemlerini çözmek için SFT + GRPO ile fine-tune edilmiş model.
- **Base model:** unsloth/Qwen3-4B-Base
- **Eğitim:** SFT → GRPO
- **Veri seti:** NovusResearch/gsm8k-Translated-TR
- **Dil:** Türkçe
## Kullanım
```python
from transformers import pipeline
pipe = pipeline("text-generation", model="nypgd/qwen3-4b-grpo-tr-matematik-merged")
system_prompt = """Sana bir problem verilecek.
Problemi düşün ve çözüm adımlarını yaz.
Adımları <start_working_out> ve <end_working_out> arasına yaz.
Ardından cevabını <SOLUTION></SOLUTION> arasına yaz."""
messages = [
{"role": "system", "content": system_prompt},
{"role": "user", "content": "Bir markette elma 3 TL, armut 5 TL. Ahmet 4 elma ve 3 armut aldı. Toplam ne kadar ödedi?"},
]
pipe(messages, max_new_tokens=512)
```