Downloads · 30 days
10
8% of all-time downloads
umutkkgz/kaira-gemma3-270m
kaira-gemma3-270m is a text generation model from umutkkgz. 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.
Bu depo, Gemma 3 (270M) tabanlı, Türkçe odaklı bir Causal LM’in birleştirilmiş sürümünü içerir. Hedef: hafif donanımlarda düşük gecikme ile Türkçe metin üretimi.
Downloads · 30 days
10
8% of all-time downloads
All-time downloads
124
Public
Parameters
268M
1.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.1 GB · 97%
From the Hugging Face model README
Bu depo, Gemma 3 (270M) tabanlı, Türkçe odaklı bir Causal LM’in birleştirilmiş sürümünü içerir. Hedef: hafif donanımlarda düşük gecikme ile Türkçe metin üretimi.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
repo = "umutkkgz/kaira-gemma3-270m"
tok = AutoTokenizer.from_pretrained(repo, use_fast=True)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32, device_map="auto")
prompt = "KAIRA bugün nasılsın?"
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=120, do_sample=True, temperature=0.7, top_p=0.9)
print(tok.decode(out[0], skip_special_tokens=True))