Downloads · 30 days
575
15% of all-time downloads
Tuguberk/Qwen3.5-2B-Turkish-SFT
Qwen3.5-2B-Turkish-SFT is a text generation model from Tuguberk. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Qwen3.5-2B base modeli üzerine Türkçe instruction-following verisiyle fine-tune edilmiş bir dil modelidir.
Downloads · 30 days
575
15% of all-time downloads
All-time downloads
3.8K
Public
Parameters
2.3B
9.5 GB on disk
Likes
5
Public
Click a slice to open those files.
.gguf4.9 GB · 52%
How the weights are stored.
BF162.3B · 100%
From the Hugging Face model README
Qwen3.5-2B base modeli üzerine Türkçe instruction-following verisiyle fine-tune edilmiş bir dil modelidir.
| Base model | unsloth/Qwen3.5-2B |
| Fine-tuning yöntemi | LoRA (bf16) |
| LoRA rank | 16 |
| Dataset | AlicanKiraz0/Turkish-SFT-Dataset-v1.0 |
| Dataset boyutu | 5.579 örnek |
| Epoch | 3 |
| Learning rate | 2e-4 |
| Training loss | 1.47 → 0.82 |
| Framework | Unsloth + TRL |
| GPU | NVIDIA L4 (22GB) |
from transformers import AutoModelForCausalLM, AutoProcessor
import torch
model_name = "Tuguberk/Qwen3.5-2B-Turkish-SFT"
processor = AutoProcessor.from_pretrained(model_name)
tokenizer = processor.tokenizer
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "system", "content": "Sen yardımcı bir Türkçe asistansın."},
{"role": "user", "content": "Türkiye hakkında kısa bir bilgi verir misin?"},
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=False,
)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(
inputs["input_ids"],
max_new_tokens=512,
temperature=0.7,
top_p=0.9,
do_sample=True,
)
response = tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True)
print(response)
ollama run hf.co/Tuguberk/Qwen3.5-2B-Turkish-SFT:Q4_K_M
# Metin modeli
llama-cli -hf Tuguberk/Qwen3.5-2B-Turkish-SFT --jinja
# Multimodal
llama-mtmd-cli -hf Tuguberk/Qwen3.5-2B-Turkish-SFT --jinja
| Dosya | Boyut | Açıklama |
|---|---|---|
Qwen3.5-2B.BF16-mmproj.gguf | ~4.5GB | En yüksek kalite |
Qwen3.5-2B.Q8_0.gguf | ~2.7GB | Yüksek kalite |
Qwen3.5-2B.Q4_K_M.gguf | ~1.5GB | Önerilen — kalite/boyut dengesi |
Qwen3.5-2B.Q2_K.gguf | ~0.8GB | En küçük, düşük kalite |
Tavsiye: Çoğu kullanım için
Q4_K_Myeterlidir.
AlicanKiraz0/Turkish-SFT-Dataset-v1.0 — genel amaçlı Türkçe instruction-following verisi.
Format: system / user / assistant üçlüsü, ChatML şablonuyla işlenmiştir.
Benchmark değerlendirmeleri lm-evaluation-harness-turkish kullanılarak yapılmıştır.
| Benchmark | Base Model | Fine-tuned | Fark |
|---|---|---|---|
Turkish MMLU (mmlu_tr_v0.2) | 47.29% | 47.20% | −0.09 |
GSM8K-TR strict (gsm8k_tr-v0.2) | 38.04% | 41.38% | +3.34 |
TruthfulQA (truthfulqa_v0.2) | 47.45% | 49.08% | +1.63 |
ARC-TR normalized (arc_tr-v0.2) | 37.03% | 38.23% | +1.20 |
HellaSwag-TR normalized (hellaswag_tr-v0.2) | 38.74% | 40.27% | +1.53 |
Winogrande-TR (winogrande_tr-v0.2) | 49.53% | 49.61% | +0.08 |
Önemli bulgular:
Sadece LoRA ağırlıklarını kullanmak için: Tuguberk/Qwen3.5-2B-Turkish-SFT-LoRA
Bu model, base model ile aynı lisansı taşımaktadır: Apache 2.0