Nigerian Pidgin dataset options for chatbots and what to add
For companies4 min read
A Nigerian Pidgin dataset that exists today is mostly social media text labelled for sentiment. That is a good start for classification but not enough to teach a chatbot how to talk. This post explains what NaijaSenti gives you and what native-speaker data you need to add.
What NaijaSenti covers
NaijaSenti is described by its authors as the first large-scale human-annotated Twitter sentiment dataset for Hausa, Igbo, Nigerian Pidgin and Yoruba, the four most widely spoken languages in Nigeria. It contains about 30,000 annotated tweets per language, or about 14,000 for Nigerian Pidgin. A significant share of the tweets are code-mixed.
The authors also released the datasets, trained models, sentiment lexicons and code. In their tests, language-specific models and language-adaptive fine-tuning generally performed best. For a company, that means you can get a working sentiment baseline in Pidgin without commissioning anything.
AfriSenti extends the idea to 14 African languages with more than 110,000 tweets annotated by native speakers, and ran as a shared task with over 200 participants. Check its page to see whether Pidgin is included.
What a Nigerian Pidgin dataset for a chatbot needs
A chatbot needs data of a different shape. Sentiment labels say whether a tweet is positive or negative. They do not show how to answer a customer who writes in Pidgin, how to match the register of the message, or how to refuse politely. For that you need conversations and judgements written by people who speak the language.
- Prompt and reply pairs written by native speakers, in the style your users write.
- Rewrites: the same support answer in standard English and in Pidgin, checked for meaning.
- Ranked replies: raters choose which of two answers sounds natural and helpful.
- Error labels: wrong meaning, wrong tone, too formal, stilted, unsafe.
- Domain checks: banking, health or telecom replies reviewed by someone in that field.
Decide on spelling and register first
Informal writing varies from person to person, and Pidgin is written in many ways on social media. Before you commission data, agree a short style guide with your native-speaker leads: how common words are spelt, how numbers and names are written, which register the bot should use with which customer, and how much English mixing is acceptable.
Write it with two or three speakers from different regions, then test it on 50 sample sentences. If your reviewers disagree on a point, add it to the guide. Without a guide you get a dataset where the same word appears in five forms, and your model learns the noise.
Using code-mixing as a feature
The NaijaSenti authors noted that a significant share of their tweets are code-mixed. Real users also switch between English, Pidgin and other languages in one message. Do not clean that out. Include test messages that mix languages and ask reviewers to mark whether the reply follows the user or breaks the flow.
Steps to build a first chatbot set
- Collect 200 real or realistic customer messages in the style your users write.
- Have two native speakers write the ideal reply to each, with a short reason for key choices.
- Run your model on the same messages.
- Ask a third group of native speakers to rank model replies against the human replies without knowing which is which.
- Label the failures by type and send examples to your engineers.
- Repeat on a fresh set after every model change.
Sensitive content and safety
Social media data contains abuse, personal details and rumours. Before you use scraped text, check the platform terms and the dataset licence, remove personal data and decide how you will treat offensive language. If you want a bot that can recognise and decline hateful requests in Pidgin, you need native speakers to write and label examples, since slang and slurs shift quickly.
| Resource | Good for | Not enough for |
|---|---|---|
| NaijaSenti | Sentiment baselines, code-mixed text | Conversations, instructions |
| Own support tickets | Real topics and phrasing | Quality labels, anonymity unless cleaned |
| Native-speaker written pairs | Tone and register | Coverage of rare topics, unless commissioned |
| Rater rankings | Natural versus stiff replies | Facts, unless domain experts rate |
Keep human review in the loop after launch. Sample real conversations each week, remove personal data and have native speakers mark a few dozen replies as good, acceptable or poor, with a one-line reason. Trends in those marks show you when users have started writing in a new way, and the poor replies become the next training and test examples. This cycle costs little and keeps the model close to how people actually write.
Finally, write down what the data may and may not be used for, and tell contributors. People who write or rate Pidgin text for you should know whether it will train a model, be published or stay private.
Curatrain vets linguists and other experts with graded skill tests and matches them to remote AI training work. Companies get a shortlist of experts who already passed the tests their project needs, and approve each match through a secure link.

