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.

HappymoreMasoka/Working_with_shona-slang

Domain:

natural language processing

Record type:

datasetmodelpaper
Creator:
Hap
Host:
Shona Slang Conversational AI 📖 Overview This repository contains the code, dataset, and resources for the paper: "Advancing Conversational AI with Shona Slang: A Dataset and Hybrid Model for Digital Inclusion" (arXiv: pending). The project addresses the underrepresentation of African languages in NLP by: 🗂️ Introducing a Shona–English slang dataset. 🤖 Building a hybrid chatbot combining: A fine-tuned DistilBERT intent classifier (✅ 96.4% Accuracy, ✅ 96.3% F1-score). Retrieval-Augmented Generation (RAG) for contextual responses. The chatbot supports culturally relevant Shona slang dialogues, demonstrated in a use case assisting prospective students with graduate program queries at Pace University. 📂 Dataset 📌 File: data/shona_dataset_with_contexts_and_intents.csv (~34,000 utterances) Annotated for: 🎯 Intent: Greeting, gratitude, request, religion, finance, education, farewell. 🙂 Sentiment: Positive, Negative, Neutral. 💬 Dialogue Acts: Question, Statement, Command. 🔀 Code-Mixing: Word/phrase-level Shona ↔ English switching. 🎭 Tone: Friendly, Formal, Humorous. 🔹 Example Entry { "message": "Hie swit mom", "normalized": "Hi sweet mom", "intent": "Greeting", "sentiment": "Positive", "dialogue_act": "Statement", "code_mixing": "English adjective (sweet), Shona greeting (Hie)", "tone": "Friendly" } 💻 Final Code 📌 Main Notebook (chatbot + model): slang_model&chatbot.ipynb 🧠 Model Fine-tuned DistilBERT (distilbert-base-multilingual-cased): Accuracy: 96.4% F1-score: 96.3% Hybrid Chatbot includes: ⚡ Rule-based responses for common intents (e.g., greetings). 📚 RAG Module using: Embeddings: all-MiniLM-L6-v2 Generator: google/flan-t5-small Knowledge Base: ChromaDB with Pace University graduate programs. 👉 Model Weights available on Hugging Face (link coming soon). ⚙️ Installation ✅ Prerequisites Python 3.8+ Libraries: transformers, sentence-transformers, chromadb, scikit-learn, torch, pandas GPU (recommended) 🚀 Setup # Clone repo git clone http …

Visit

github.com

Languages

Shona

Similar

HappymoreMasoka/Chatbots_working_with_ShonaHappymoreMasoka/shona-spacyHappymoreMasoka/shona-intent-classification-modelAfrican American SlangSex Discourse SlangAlexioelguapo/Shona-slang

HappymoreMasoka/Chatbots_working_with_Shona

Rule-based chatbots, follow predefined patterns and logic to generate responses. While simple and fa

HappymoreMasoka/shona-spacy

Shona spaCy — Rule-Based NLP Pipeline for the Shona Language 🧩 Overview Shona spaCy is a lightweigh

HappymoreMasoka/shona-intent-classification-model

African American Slang

In this pioneering exploration of African American slang - a highly informal vocabulary and a signif

Sex Discourse Slang

This contains sex slang collected from undergraduates at the University of Nigeria, Nsukka. The stud

Alexioelguapo/Shona-slang

Shona slang for those enthuised