Downloads · 30 days
27
17% of all-time downloads
Huseyin/teknofest-2025-turkish-edu-v2
teknofest-2025-turkish-edu-v2 is a text generation model from Huseyin. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Bu model TEKNOFEST 2025 Eylem Temelli Türkçe Büyük Dil Modeli Yarışması için geliştirilmiştir.
Downloads · 30 days
27
17% of all-time downloads
All-time downloads
162
Public
Parameters
8.2B
16.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
Bu model TEKNOFEST 2025 Eylem Temelli Türkçe Büyük Dil Modeli Yarışması için geliştirilmiştir.
pip install transformers torch accelerate
from transformers import AutoModelForCausalLM, AutoTokenizer
# Model ve tokenizer yükle
model_name = "Huseyin/teknofest-2025-turkish-edu-v2"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
# Örnek kullanım
prompt = "Türkçe eğitimi için yaratıcı bir etkinlik önerisi:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(
**inputs,
max_new_tokens=150,
temperature=0.7,
do_sample=True,
top_p=0.95
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
# Google Colab için optimized kullanım
!pip install -q transformers accelerate bitsandbytes
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
# 8-bit yükleme (düşük bellek kullanımı)
model_name = "Huseyin/teknofest-2025-turkish-edu-v2"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
load_in_8bit=True,
device_map='auto'
)
# Test
prompt = "İlkokul öğrencileri için matematik etkinliği:"
inputs = tokenizer(prompt, return_tensors='pt')
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Prompt: "Türkçe eğitimi için bir öneri:"
Cevap: "Ders notlarına dikkat etmeyen ve okumayan öğrencilerin, dersi yoksayarak not almakta, ya da dersle ilgili sorular sormamaktadırlar..."
Bu model, TEKNOFEST 2025 Eylem Temelli Türkçe Büyük Dil Modeli Yarışması için özel olarak geliştirilmiştir.
Apache 2.0
Bu modelin geliştirilmesinde emeği geçen herkese teşekkür ederiz.
TEKNOFEST 2025 - Türkiye'nin Teknoloji Festivali 🇹🇷