Downloads · 30 days
0
0% of all-time downloads
EthioNLP/Amharic_LLAMA_our_data
Amharic_LLAMA_our_data is a text generation model from EthioNLP. Use it when you need the model to write or continue text.
Walia-LLM is a fine-tuned LLaMA-2 model for the Amharic language, created by instruction tuning with task-specific and generative datasets. It is part of our effort to adapt and improve LLMs for low-resource languages.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
10
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.bin876 MB · 100%
From the Hugging Face model README
Walia-LLM is a fine-tuned LLaMA-2 model for the Amharic language, created by instruction tuning with task-specific and generative datasets. It is part of our effort to adapt and improve LLMs for low-resource languages.
This model was introduced in the EMNLP 2024 Findings paper:
Walia-LLM: Enhancing Amharic-LLaMA by Integrating Task-Specific and Generative Datasets
The model was trained on a custom instruction dataset derived from:
See EthioNLP/walia-amharic-instructions for the dataset used.
This model is intended for:
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("EthioNLP/Amharic-LLAMA-all-data")
tokenizer = AutoTokenizer.from_pretrained("EthioNLP/Amharic-LLAMA-all-data")
prompt = "ስለ አማርኛ ቋንቋ መግለጫ አቅርብ።"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
@inproceedings{azime-etal-2024-walia,
title = "Walia-{LLM}: Enhancing {A}mharic-{LL}a{MA} by Integrating Task-Specific and Generative Datasets",
author = "Azime, Israel Abebe and Tonja, Atnafu Lambebo and Belay, Tadesse Destaw and Fuge, Mitiku Yohannes and Wassie, Aman Kassahun and Jada, Eyasu Shiferaw and Chanie, Yonas and Sewunetie, Walelign Tewabe and Yimam, Seid Muhie",
editor = "Al-Onaizan, Yaser and Bansal, Mohit and Chen, Yun-Nung",
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2024",
month = nov,
year = "2024",
address = "Miami, Florida, USA",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2024.findings-emnlp.25/",
doi = "10.18653/v1/2024.findings-emnlp.25",
pages = "432--444"
}