CoolFace
Modelpublic

ogulcanaydogan/Turkish-LLM-32B-Instruct

sourceHugging Faceapache-2.0updated 6mo agoView on Hugging Face
1likes24downloads
Model Card

Turkish-LLM-32B-Instruct

The largest open-source Turkish-enhanced language model. Fine-tuned from Qwen2.5-32B-Instruct with QLoRA on a carefully curated 173K Turkish instruction dataset.

Part of the Turkish LLM Family - a complete suite of Turkish language models from 7B to 32B.

Highlights

  • —32B parameters - largest openly available Turkish fine-tuned model
  • —Outperforms base model on MMLU-TR (+2.71) and XCOPA-TR (+1.00)
  • —67.89% MMLU-TR - significant improvement through iterative dataset engineering
  • —GGUF available - Q4/Q5/Q8 quantizations for local inference

Benchmark Results

BenchmarkBase (Qwen2.5-32B)v1 (Mar 21)**v2 (Current)**Delta vs Base
MMLU-TR (57 categories)0.65180.65640.6789+2.71
XCOPA-TR (Causal Reasoning)0.68000.67400.6900+1.00
XNLI-TR (NLI)0.45780.46100.4514-0.64

Iterative Improvement

This model is the result of systematic dataset engineering across multiple iterations:

  • —v1 (Mar 21): Initial fine-tune with 242K examples. Improved MMLU-TR and XNLI-TR but regressed on XCOPA-TR.
  • —v2 (Mar 29): Rebalanced dataset (173K examples) with XCOPA augmentation and evaluation-aligned NLI formatting. Achieved improvements on both MMLU-TR and XCOPA-TR.

Key insight: reducing dataset size from 242K to 173K while improving data quality led to better results — quality over quantity.

MMLU-TR: Strongest Category Improvements (v2)

CategoryBaseOursDelta
College Computer Science0.5450.616+7.1
Logical Fallacies0.6400.696+5.6
College Mathematics0.5300.580+5.0
Formal Logic0.5080.556+4.8
High School Mathematics0.5070.548+4.1

Quick Start

With Transformers

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "ogulcanaydogan/Turkish-LLM-32B-Instruct",
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("ogulcanaydogan/Turkish-LLM-32B-Instruct")

messages = [
    {"role": "system", "content": "Sen yardimci bir Turkce asistansin."},
    {"role": "user", "content": "Yapay zekanin saglik sektorundeki uygulamalarini acikla."}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

With Ollama (GGUF)

bash
ollama run hf.co/ogulcanaydogan/Turkish-LLM-32B-Instruct-GGUF:Q4_K_M

With vLLM

bash
vllm serve ogulcanaydogan/Turkish-LLM-32B-Instruct --dtype auto --max-model-len 4096

Training Details

ParameterValue
Base ModelQwen/Qwen2.5-32B-Instruct
MethodQLoRA (4-bit NF4 + double quantization)
LoRA rank / alpha32 / 64
Learning rate1e-5 (cosine schedule)
Epochs1
Effective batch size16
Max sequence length2048
Training time~55 hours on NVIDIA A100 80GB
Dataset173K Turkish instruction examples (v7.1)

Dataset Composition (v7.1)

SourceExamplesPercentage
Turkish Math100,00057.9%
Turkish Exam Instructions41,29723.9%
XNLI Augmented (MC format)10,0005.8%
GSM8K Turkish8,7605.1%
Alignment Data7,2454.2%
XCOPA Augmented5,0002.9%
GPQA Turkish5450.3%

Turkish LLM Family

ModelSizeMMLU-TRDownload
Turkish-LLM-7B-Instruct7B-GGUF
Turkish-LLM-14B-Instruct14B0.5977GGUF
[Turkish-LLM-32B-Instruct](https://huggingface.co/ogulcanaydogan/Turkish-LLM-32B-Instruct)32B0.6789GGUF

Limitations

  • —Slight regression on XNLI-TR natural language inference (-0.64 points)
  • —Inherits base model limitations for very long contexts
  • —Best suited for Turkish STEM, reasoning, and general knowledge tasks

Citation

bibtex
@misc{aydogan2026turkishllm,
  title={Turkish LLM Family: Open-Source Turkish Language Models},
  author={Ogulcan Aydogan},
  year={2026},
  url={https://huggingface.co/collections/ogulcanaydogan/turkish-llm-family-69b303b4ef1c36caffca4e94}
}