Downloads · 30 days
26
6% of all-time downloads
AhiskaAI/AhiskaAI-134m-Instruct-v0.2
AhiskaAI-134m-Instruct-v0.2 is a text generation model from AhiskaAI. 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.
AhiskaAI-134m-IT-v0.2 is the instruction-tuned version of our 134M parameter Small Language Model. This model has been fine-tuned on 16,000+ high-quality, curated Turkish instruction-response pairs to function as a he…
Downloads · 30 days
26
6% of all-time downloads
All-time downloads
464
Public
Parameters
134M
268 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors268 MB · 99%
From the Hugging Face model README
AhiskaAI-134m-IT-v0.2 is the instruction-tuned version of our 134M parameter Small Language Model. This model has been fine-tuned on 16,000+ high-quality, curated Turkish instruction-response pairs to function as a helpful and conversational AI assistant.
Base Model: AhiskaAI-134m-Base-v0.2

This model is optimized for chat interactions. Please use the following ChatML structure for best results:
To get the best performance, use the following system prompt: "Sen kibar, sorulan soruları tam cümlelerle yanıtlayan Türkçe bir asistansın."
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("AhiskaAI/AhiskaAI-134m-IT-v0.2")
tokenizer = AutoTokenizer.from_pretrained("AhiskaAI/AhiskaAI-134m-IT-v0.2")
SYSTEM_PROMPT = "Sen kibar, sorulan soruları tam cümlelerle yanıtlayan Türkçe bir asistansın."
user_query = "Ahıska Türkleri hakkında bilgi verir misin?"
prompt = (
f"<|im_start|>system\n{SYSTEM_PROMPT}<|im_end|>\n"
f"<|im_start|>user\n{user_query}<|im_end|>\n"
f"<|im_start|>assistant\n"
)
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))