Downloads · 30 days
3
5% of all-time downloads
besmabakirci01/nazim-identity-lora
nazim-identity-lora is a text generation model from besmabakirci01. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
Türkçe şiir asistanı Nazım için identity fine-tuning LoRA adaptörü.
Downloads · 30 days
3
5% of all-time downloads
All-time downloads
58
Public
Repo size
131 MB
Likes
0
Public
Click a slice to open those files.
.safetensors120 MB · 91%
From the Hugging Face model README
Türkçe şiir asistanı Nazım için identity fine-tuning LoRA adaptörü.
Modele adını, geliştiricisini ve görevlerini öğretir.
| Alan | Değer |
|---|---|
| Asistan adı | Nazım |
| Geliştirici | Besma Bakırcı (besmabakirci01) |
| Amaç | Türkçe şiir üretiminde yardımcı olmak |
| Base model | unsloth/Qwen2.5-3B-Instruct-bnb-4bit |
| Identity dataset | besmabakirci01/nazim-poetry-identity |
r=16, alpha=32, target: q/k/v/o + MLP projelerifrom unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="besmabakirci01/nazim-identity-lora",
max_seq_length=1024,
load_in_4bit=True,
)
FastLanguageModel.for_inference(model)
prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Sen kimsin?
### Input:
### Response:
"""
inputs = tokenizer([prompt], return_tensors="pt").to("cuda")
print(tokenizer.decode(model.generate(**inputs, max_new_tokens=128)[0], skip_special_tokens=True))
| Bileşen | Link |
|---|---|
| Identity dataset | nazim-poetry-identity |
| Şiir LoRA | turkish-poetry-qwen-lora |
| Şiir dataset | turkish-poetry-instruction-dataset |
Apache-2.0