Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

Β© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

iamMashel/swahili_promptbank

Domain:

natural language processing

Record type:

dataset
Creator:
iam
Host:
A prompt bank for Swahili-language LLM tasks and evaluation. # πŸ‡°πŸ‡ͺ Swahili PromptBank A curated collection of 200+ high-quality Swahili prompts designed to improve the alignment, evaluation, and training of large language models (LLMs) in low-resource languages. --- ## 🌍 About **Swahili PromptBank** is an open-source dataset of culturally relevant, linguistically accurate prompts written in Swahili. This project aims to enhance representation and model performance in Swahili by providing carefully reviewed prompts across a range of NLP tasks. Each prompt is crafted to: - Match natural Swahili tone and context - Reflect culturally appropriate scenarios - Be clear, instructive, and useful for alignment training --- ## πŸ“¦ Dataset Structure ``` swahili-promptbank/ β”œβ”€β”€ prompts/ β”‚ β”œβ”€β”€ classification/ β”‚ β”œβ”€β”€ summarization/ β”‚ β”œβ”€β”€ instruction-following/ β”‚ └── conversational/ β”œβ”€β”€ examples/ β”‚ └── model\_responses\_comparison.md β”œβ”€β”€ scripts/ β”‚ └── validation\_utils.py β”œβ”€β”€ README.md └── CONTRIBUTING.md ```` --- ## 🧠 Prompt Types | Task Type | Description | |-----------------------|-------------| | `instruction-following` | Prompts where the model is guided to complete a task, e.g., "Explain how to cook ugali." | | `summarization` | Prompts asking for summaries of Swahili text or stories | | `classification` | Prompts for categorizing emotions, topics, or sentiment in Swahili | | `conversational` | Roleplay and dialogue-style prompts in a Swahili cultural context | --- ## πŸ§ͺ Sample Prompt ```json { "task": "instruction-following", "language": "Swahili", "prompt": "Eleza jinsi ya kupika ugali kwa mtu ambaye hajawahi kufanya hivyo.", "expected_output": "Hatua kwa hatua za kupika ugali, zikielezwa kwa lugha rahisi." } ```` --- ## βœ… Quality Criteria All prompts were: * **Peer-reviewed** for tone and clarity * Designed with **cultural alignment** in mind * Written in **native Swahili** without code-switching * Labeled with clear metadata for task type and usage --- ## πŸ“ˆ Use Cases …

Visit

github.com

Languages

KwaSwahili

Tags

evaluationllmprompt-engineeringswahili

Similar

iamMashel/onagi-health

iamMashel/onagi-health

Public-first awareness & tracking site for the 2026 Bundibugyo virus disease (Ebola) outbreak in DR