Downloads · 30 days
239
23% of all-time downloads
mehmettozlu/Turkish-Mistral-NeMo-12B-Instruct-GGUF
Turkish-Mistral-NeMo-12B-Instruct-GGUF is a machine learning model from mehmettozlu. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for unsloth. The card lists the license as apache-2.0.
This repository contains the GGUF formatted version of the Mistral-Nemo-Instruct-2407 (12B parameters), which has been fine-tuned on a Turkish instruction dataset using Unsloth.
Downloads · 30 days
239
23% of all-time downloads
All-time downloads
1K
Public
Repo size
53.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf53.7 GB · 100%
From the Hugging Face model README
This repository contains the GGUF formatted version of the Mistral-Nemo-Instruct-2407 (12B parameters), which has been fine-tuned on a Turkish instruction dataset using Unsloth.
Equipped with the highly efficient Tekken tokenizer and a 128k context window, this model excels at processing Turkish text efficiently. It is optimized to act as a highly capable Turkish AI assistant running locally and 100% offline via llama.cpp, Ollama, and LM Studio.
Because this is a 12-Billion parameter model, it requires slightly more RAM/VRAM than standard 7B/8B models. The q4_k_m version is highly recommended for standard consumer hardware:
| File Name | Size | Recommended RAM | Description |
|---|---|---|---|
*q4_k_m.gguf | ~7.1 GB | 12 GB | 🔥 The Golden Standard. Offers the best balance between inference speed and model intelligence. |
*q5_k_m.gguf | ~8.5 GB | 16 GB | Higher quality with a slight trade-off in generation speed. |
*q8_0.gguf | ~12.8 GB | 20 GB | Near-lossless original quality. Requires high RAM/VRAM. |
This model has been tested under identical conditions alongside other popular Turkish GGUF models and evaluated via an LLM-as-a-Judge benchmark to measure Turkish language proficiency, instruction-following capabilities, and coding performance.
| Model | Parameters | Geography (10) | Email Formatting (10) | Coding (10) | Total | Performance Summary |
|---|---|---|---|---|---|---|
| Qwen-2.5-Instruct | 7B | 4.0 | 8.5 | 10.0 | 22.5 / 30 | Most Balanced: Flawless Python code, fluent Turkish, and high instruction adherence. Minor hallucination tendencies on local geographical data. |
| Llama-3.1-Instruct | 8B | 0.5 | 0.0 | 5.0 | 5.5 / 30 | Partial Success: Strong algorithmic background (generates working code), but suffers from severe token repetition and looping on text tasks. |
| Mistral-NeMo-Instruct | 12B | 2.0 | 2.0 | 1.0 | 5.0 / 30 | Weak Instruction Following: While grammar is readable, it lacks task orientation (generates a list instead of code, fails to formalize casual tone). |
| Gemma-2-IT | 9B | 0.0 | 0.0 | 0.0 | 0.0 / 30 | Format Incompatibility: Due to special token structures and quantization sensitivity, it fails to produce meaningful output and enters a repetition loop. |
To get the best performance and prevent hallucinations, you must use the standard Mistral Instruct structure ([INST] and [/INST] tokens). System prompts can be prepended inside the initial instruction block:
<s>[INST] Sen yardımsever bir Türkçe asistansın.
[Write your prompt here] [/INST]
You can run this model locally with complete privacy and zero internet connection required.
pip install llama-cpp-python
wget -O Turkish-Mistral-NeMo-12B-Instruct-q4_k_m.gguf [https://huggingface.co/mehmettozlu/Turkish-Mistral-NeMo-12B-Instruct-GGUF/resolve/main/Turkish-Mistral-NeMo-12B-Instruct-q4_k_m.gguf](https://huggingface.co/mehmettozlu/Turkish-Mistral-NeMo-12B-Instruct-GGUF/resolve/main/Turkish-Mistral-NeMo-12B-Instruct-q4_k_m.gguf)
from llama_cpp import Llama
llm = Llama(
model_path="./Turkish-Mistral-NeMo-12B-Instruct-q4_k_m.gguf",
n_ctx=4096, # Context window size (can be increased up to 128k based on your RAM)
n_gpu_layers=-1 # Offload all layers to GPU
)
response = llm.create_chat_completion(
messages=[
{"role": "system", "content": "Sen yardımsever bir Türkçe asistansın."},
{"role": "user", "content": "Yapay zeka modellerinin nasıl eğitildiğini kısaca açıklar mısın?"}
]
)
print(response["choices"][0]["message"]["content"])
FROM hf.co/mehmettozlu/Turkish-Mistral-NeMo-12B-Instruct-GGUF/Turkish-Mistral-NeMo-12B-Instruct-q4_k_m.gguf
TEMPLATE """{{ if .System }}<s>[INST] {{ .System }}
{{ end }}{{ .Prompt }} [/INST]"""
SYSTEM """Sen yardımsever bir Türkçe asistansın."""
PARAMETER stop "</s>"
PARAMETER stop "[INST]"
PARAMETER stop "[/INST]"
ollama create turkish-nemo-12b -f Modelfile
ollama run turkish-nemo-12b