muzaffercky/kurdish-kurmanji-theses
Viewer • Updated • 389 • 53
Sorjîn1-7B-Instruct is a Kurdish Kurmanji instruction-following model produced by merging Sorjîn1-7B with Qwen/Qwen2.5-7B-Instruct using mergekit.
It combines Kurdish language knowledge from continual pretraining with the instruction-following capability of Qwen2.5-7B-Instruct.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"muzaffercky/Sorjin1-7B-Instruct",
torch_dtype="bfloat16",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("muzaffercky/Sorjin1-7B-Instruct")
messages = [{"role": "user", "content": "Tu çawa yî?"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(output[0], skip_special_tokens=True))
| Model | Description |
|---|---|
| Sorjîn1-LoRA | Raw LoRA adapter weights |
| Sorjîn1-7B | Continually pretrained base model |
| Sorjîn1-7B-Instruct (this model) | Merged with Qwen2.5-7B-Instruct |