Files
Turkish-LLM-7B-Instruct/README.md

75 lines
2.4 KiB
Markdown
Raw Permalink Normal View History

---
language:
- tr
- en
license: apache-2.0
base_model: mistralai/Mistral-7B-Instruct-v0.2
tags:
- turkish
- mistral
- instruction-tuned
- sft
- tr
- reasoning
- conversational
- low-resource
- turkish-nlp
datasets:
- ogulcanaydogan/Turkish-LLM-v10-Training
pipeline_tag: text-generation
---
# Turkish-LLM-7B-Instruct
A Turkish-enhanced 7B language model fine-tuned from Mistral-7B-Instruct on curated Turkish instruction data.
Part of the [Turkish LLM Family](https://huggingface.co/collections/ogulcanaydogan/turkish-llm-family-69b303b4ef1c36caffca4e94).
## Highlights
- **Lightweight** - runs on consumer GPUs (8GB+ VRAM with quantization)
- **GGUF available** - [Q4/Q5/Q8 quantizations](https://huggingface.co/ogulcanaydogan/Turkish-LLM-7B-Instruct-GGUF)
- **Live demo** - [Try it on Spaces](https://huggingface.co/spaces/ogulcanaydogan/Turkish-LLM-7B-Chat)
## Quick Start
### With Ollama
```bash
ollama run hf.co/ogulcanaydogan/Turkish-LLM-7B-Instruct-GGUF:Q4_K_M
```
### With Transformers
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("ogulcanaydogan/Turkish-LLM-7B-Instruct", torch_dtype="auto", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("ogulcanaydogan/Turkish-LLM-7B-Instruct")
messages = [{"role": "user", "content": "Turkiye'nin baskenti neresidir?"}]
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=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```
## Turkish LLM Family
| Model | Size | GGUF |
|:---|:---:|:---|
| **[Turkish-LLM-7B](https://huggingface.co/ogulcanaydogan/Turkish-LLM-7B-Instruct)** | **7B** | [Download](https://huggingface.co/ogulcanaydogan/Turkish-LLM-7B-Instruct-GGUF) |
| [Turkish-LLM-14B](https://huggingface.co/ogulcanaydogan/Turkish-LLM-14B-Instruct) | 14B | [Download](https://huggingface.co/ogulcanaydogan/Turkish-LLM-14B-Instruct-GGUF) |
| [Turkish-LLM-32B](https://huggingface.co/ogulcanaydogan/Turkish-LLM-32B-Instruct) | 32B | [Download](https://huggingface.co/ogulcanaydogan/Turkish-LLM-32B-Instruct-GGUF) |
## 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}
}
```