Downloads · 30 days
0
uisikdag/gemma3-1b-arc-tr
gemma3-1b-arc-tr is a machine learning model from uisikdag. 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 transformers. The card lists the license as apache-2.0.
- Developed by: uisikdag - License: apache-2.0 - Finetuned from model : unsloth/gemma-3-1b-it-unsloth-bnb-4bit
Downloads · 30 days
0
Access
Public
Updated Jan 20, 2026
Repo size
64.2 MB
Likes
0
Public
Click a slice to open those files.
.json34.5 MB · 53%
From the Hugging Face model README
This gemma3_text model was trained 2x faster with Unsloth
from unsloth import FastModel
from unsloth.chat_templates import get_chat_template
# Load model
model, tokenizer = FastModel.from_pretrained(
"uisikdag/gemma3-1b-arc-tr",
max_seq_length=2048,
load_in_4bit=True,
)
tokenizer = get_chat_template(tokenizer, chat_template="gemma-3")
FastModel.for_inference(model)
# Predict
question = "Fotosentez sırasında bitkiler hangi gazı üretir?"
options = ["A Karbondioksit", "B Oksijen", "C Azot", "D Hidrojen"]
prompt = f"Soru: {question}\n\nSecenekler:\n" + "\n".join(options) + "\n\nDogru cevap hangisi?"
messages = [{"role": "user", "content": [{"type": "text", "text": prompt}]}]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt", return_dict=True).to("cuda")
outputs = model.generate(**inputs, max_new_tokens=64, temperature=1.0, top_p=0.95)
response = tokenizer.decode(outputs[0], skip_special_tokens=True).split("model")[-1].strip()
print(f"Cevap: {response}")