OpenR1-Qwen-7B-Turkish
A Turkish reasoning language model
2 min readupdated
Based on Qwen2.5-7B-Instruct, this model is fine-tuned on a specialized dataset to generate structured chains of thought in Turkish. It solves the issue where open-source models switch to English or Chinese when prompted in other languages. Users receive a detailed logical response with a step-by-step task breakdown, including an internal reasoning block. It is ideal for developers and researchers who need high-quality logical reasoning and precise answers in Turkish.
Key features
- Built on Qwen2.5-7B-Instruct using a specialized Turkish reasoning dataset.
- Generates a detailed chain-of-thought in Turkish before delivering the final answer.
- Trained using an 8xA6000 ADA configuration and standard LLM (Large Language Model) parameters.
- Demonstrates improved problem-solving logic compared to standard distilled models.
What you can do
- Deploy the model in chatbots and educational services for step-by-step math and logic problem solving in Turkish.
- Use it for research in reasoning generation and adapting language models for low-resource languages.
- Integrate it into pipelines using standard LLM inference libraries.
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "OpenR1-Qwen-7B-Turkish"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "$4x+5 = 6x+7$ denklemini sağlayan $x$ değerini bul."
messages = [
{"role": "system", "content": "Lütfen adım adım düşün ve cevapla."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
Read more
DetailsTraining the model took 3 days on a cluster of 8 A6000 ADA GPUs.
The model requires more VRAM (video memory) and generates more tokens due to the chain of thought.
For correct operation, it is recommended not to limit the maximum number of generated tokens (set a limit of at least 4000).










Comments