Downloads · 30 days
0
b1n1yam/gemma-2-27b-amharic-alpaca-sft
gemma-2-27b-amharic-alpaca-sft is a machine learning model from b1n1yam. 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.
This model is a supervised fine-tuned version of b1n1yam/gemma-2-27b-amharic-cpt. It was trained on instruction-following data to enable conversational capabilities in Amharic.
Downloads · 30 days
0
Access
Public
Updated Dec 6, 2025
Repo size
15.7 GB
Likes
0
Public
Click a slice to open those files.
.safetensors15.6 GB · 100%
From the Hugging Face model README
This model is a supervised fine-tuned version of b1n1yam/gemma-2-27b-amharic-cpt. It was trained on instruction-following data to enable conversational capabilities in Amharic.
Note: This is an early research version open-sourced solely for research purposes on low-resource language LLMs. For production-ready models with multimodality features, please visit platform.addisassistant.com.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name = "b1n1yam/gemma-2-27b-amharic-sft"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
messages = [
{"role": "user", "content": "የኢትዮጵያ ዋና ከተማ ምንድነው?"}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
outputs = model.generate(inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model was trained with supervised fine-tuning (SFT) on top of the continual pretrained base:
If you use this model, please cite:
@misc{daniel2024addisai,
title = {Addis AI: Supervised Fine-tuned Gemma 2 27B for Amharic},
author = {Daniel, Biniyam},
year = {2024},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/b1n1yam/gemma-2-27b-amharic-sft}}
}