Downloads · 30 days
0
VilyaLabs/kenyan-gpt
kenyan-gpt is a machine learning model from VilyaLabs. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is a fine-tuned version of Qwen/Qwen2.5-1.5B-Instruct on the micymike/kenyan-conversational-data dataset.
Downloads · 30 days
0
Access
Public
Updated Jul 7, 2026
Repo size
85.4 MB
Likes
0
Public
Click a slice to open those files.
.bin74 MB · 87%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen2.5-1.5B-Instruct on the micymike/kenyan-conversational-data dataset.
This model is designed to assist with conversational tasks within a Kenyan cultural and linguistic context, incorporating localized slang and references where appropriate.
from peft import PeftModel, PeftConfig
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
base_model_id = "Qwen/Qwen2.5-1.5B-Instruct"
adapter_model_id = "VilyaLabs/kenyan-gpt" # or micymike/kenyan-gpt
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
model = AutoModelForCausalLM.from_pretrained(base_model_id, torch_dtype=torch.bfloat16, device_map="auto")
model = PeftModel.from_pretrained(model, adapter_model_id)