Downloads · 30 days
16
3% of all-time downloads
AhiskaAI/AhiskaAI-110M-Experimental-v0.1-Instruct
AhiskaAI-110M-Experimental-v0.1-Instruct is a text generation model from AhiskaAI. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
AhıskaAI-110M-IT-Experimental-v0.1 is an instruction-tuned Small Language Model (~110M parameters) fine-tuned from AhıskaAI-110M-Experimental-v0.1. It is designed to evaluate early instruction-following capabilities o…
Downloads · 30 days
16
3% of all-time downloads
All-time downloads
477
Public
Parameters
110M
219 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors219 MB · 99%
From the Hugging Face model README
AhıskaAI-110M-IT-Experimental-v0.1 is an instruction-tuned Small Language Model (~110M parameters) fine-tuned from AhıskaAI-110M-Experimental-v0.1. It is designed to evaluate early instruction-following capabilities on top of synthetic pre-trained representations, using multi-turn Turkish conversations with the ChatML template.
labels = -100 for user/system tokens), ensuring loss is calculated only on assistant responses for concise and non-hallucinating outputs.apply_liger_kernel_to_llama) and adamw_torch_fused.AhıskaAI/AhıskaAI-110M-Experimental-v0.1LlamaForCausalLM (MHA)<|im_start|> and <|im_end|>)The model has been optimized around two primary system personas:
"Sen kibar, sorulan soruları tam cümlelerle yanıtlayan Türkçe bir asistansın.""Sen AhıskaAI adında Türkçe bir yapay zeka asistansın.\nGörevlerin:\n1. Sorulara doğrudan, net ve kısa cümlelerle cevap ver.\n2. Bilmediğin veya emin olmadığın konularda uydurma yapma, bilmiyorum de.\n3. Kullanıcının verdiği metin veya listeleri istenen formata sadık kalarak düzenle."import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "AhıskaAI/AhıskaAI-110M-IT-Experimental-v0.1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
device_map="auto"
)
# ChatML Formatting
system_prompt = "Sen kibar, sorulan soruları tam cümlelerle yanıtlayan Türkçe bir asistansın."
messages = [
{"role": "system", "content": system_prompt},
{"role": "user", "content": "11 sayısından 2 çıkarırsak kaç kalır? Açıkla."}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=150,
temperature=0.3,
top_p=0.9,
do_sample=True
)
response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(response)
Epochs: 1 Learning Rate: 5e-5 (Cosine Schedule) Batch Size: 32 (effective) Optimizer: AdamW Fused (adamw_torch_fused) Acceleration: Liger Kernel (liger-kernel) & SDPA Hardware: NVIDIA RTX 4050 Laptop GPU (6GB VRAM)
Base Model: AhıskaAI-110M-Experimental-v0.1
AhıskaAI is an independent initiative dedicated to developing efficient, high-performance Small Language Models (SLMs) tailored for the Turkish language ecosystem.