Downloads · 30 days
56
11% of all-time downloads
JohnsonPedia/llama-3-8b-yoruba-chat-gguf
llama-3-8b-yoruba-chat-gguf is a text generation model from JohnsonPedia. Use it when you need the model to write or continue text. The card lists the license as llama3.
A Yoruba-first conversational AI fine-tuned from Meta's LLaMA-3-8B Instruct using high-quality multi-turn Yoruba dialogues.
Downloads · 30 days
56
11% of all-time downloads
All-time downloads
497
Public
Repo size
4.9 GB
Likes
1
Public
Click a slice to open those files.
.gguf4.9 GB · 100%
From the Hugging Face model README
A Yoruba-first conversational AI fine-tuned from Meta's LLaMA-3-8B Instruct using high-quality multi-turn Yoruba dialogues.
This model is optimized for Yoruba conversation, translation, and cultural context understanding, quantized to GGUF format for efficient deployment with llama.cpp, Ollama, and LM Studio.
./llama-cli -hf JohnsonPedia/llama-3-8b-yoruba-chat-gguf \
-p "Ẹ káàárọ̀, báwo ni ara rẹ ṣe rí lónìí?" \
--jinja
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="JohnsonPedia/llama-3-8b-yoruba-chat-gguf",
filename="llama-3-8b-instruct.Q4_K_M.gguf",
)
response = llm.create_chat_completion(
messages=[
{"role": "user", "content": "Ẹ káàárọ̀, báwo ni ara rẹ ṣe rí lónìí?"}
]
)
print(response["choices"][0]["message"]["content"])
An Modelfile is included for instant local deployment:
ollama create yoruba-chat -f Modelfile
ollama run yoruba-chat
Then chat:
>>> Ẹ káàárọ̀! Báwo ni?
| File | Size | Description | Use Case |
|---|---|---|---|
llama-3-8b-instruct.Q4_K_M.gguf | ~4.9GB | 4-bit quantized | Best quality/speed balance |
More quantizations (Q5, Q8) coming soon!
English to Yoruba Translation:
User: How do I say "good morning" in Yoruba?
Assistant: "Good morning" in Yoruba is "Ẹ káàárọ̀" (formal) or "Káàárọ̀" (casual).
Natural Yoruba Chat:
User: Ẹ káàárọ̀, báwo ni ara rẹ ṣe rí lónìí?
Assistant: Ẹ káàárọ̀! Mo wà dáadáa, ẹ ṣeún. Ara mi ṣe wà láìléwu. Báwo ni tirẹ?
{"role": "user", "content": "Your message here"}
Passing plain strings without chat formatting will cause template errors.
Tone Marks: For best results, use proper Yoruba diacritics (ẹ, ọ, ṣ, etc.)
BOS Token: The BOS (Beginning of Sequence) token behavior has been modified for GGUF compatibility
messages = [
{"role": "system", "content": "Ìwọ ni olùrànlọ́wọ́ tí ó ní ìmọ̀ nípa àṣà Yorùbá."},
{"role": "user", "content": "Kí ni ìtumọ̀ 'ọmọlúàbí'?"}
]
for chunk in llm.create_chat_completion(
messages=messages,
stream=True
):
if "content" in chunk["choices"][0]["delta"]:
print(chunk["choices"][0]["delta"]["content"], end="", flush=True)
Found an issue or want to improve Yoruba language support? Feel free to:
This model was developed as part of the Oduduwa AI project, dedicated to preserving and advancing African languages through AI.
Special thanks to:
This model inherits the Llama 3 Community License.
Ẹ káàbọ̀ sí Oduduwa AI! 🇳🇬 Building Intelligence for African Languages