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.
🧠 Capabilities
✅ Natural Yoruba conversation with cultural awareness
✅ Yoruba ↔ English translation
✅ Culturally appropriate Yoruba expressions and proverbs
✅ Multi-turn dialogue with context retention
✅ Lightweight GGUF format for CPU/GPU inference
🚀 Quick Start
llama.cpp CLI
bash
1./llama-cli -hf JohnsonPedia/llama-3-8b-yoruba-chat-gguf \2 -p "Ẹ káàárọ̀, báwo ni ara rẹ ṣe rí lónìí?"\3 --jinja
Python (llama-cpp-python)
python
1from llama_cpp import Llama
23llm = Llama.from_pretrained(4 repo_id="JohnsonPedia/llama-3-8b-yoruba-chat-gguf",5 filename="llama-3-8b-instruct.Q4_K_M.gguf",6)78response = llm.create_chat_completion(9 messages=[10{"role":"user","content":"Ẹ káàárọ̀, báwo ni ara rẹ ṣe rí lónìí?"}11]12)1314print(response["choices"][0]["message"]["content"])
🦙 Ollama
An Modelfile is included for instant local deployment:
bash
1ollama create yoruba-chat -f Modelfile
2ollama run yoruba-chat
Then chat:
>>> Ẹ káàárọ̀! Báwo ni?
🗂 Available Quantizations
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!
💬 Example Conversations
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ẹ?
⚠️ Important Notes
Chat Format Required: This model expects properly formatted chat messages:
{"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