Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

Andrea-Mwonge/NLP-Luganda-Project

Domaine:

natural language processing

Type de record:

software
Créateur:
And
Hôte:
# Luganda Sentiment Analysis — Prototype A working proof-of-concept for *"A Comparative Evaluation of Transformer-Based Models for Sentiment Analysis of Low-Resource Luganda Social Media."* It demonstrates the full pipeline your proposal describes (Chapter 3) end-to-end on a small scale, so you can show your advisor a running system while you build out the real dataset. ## ⚠️ Important: the sample data is a placeholder `data/sample_data.csv` contains 40 short Luganda sentences I wrote using general vocabulary knowledge — **it has not been verified by a fluent Luganda speaker or checked for dialectal accuracy.** Do not use it as your research dataset or cite results from it in your final report. Its only purpose is to let the training/demo code run so you can see the pipeline work. Swap it out for real annotated data before you generate any results for your report (see "Scaling up" below). ## What's included ``` luganda_sentiment_prototype/ ├── data/sample_data.csv # placeholder dataset (40 rows, 3 classes) ├── src/train.py # fine-tunes a transformer + reports metrics ├── src/app.py # Gradio demo: type text, get sentiment ├── requirements.txt └── README.md ``` ## How to run it **Recommended: Google Colab** (free GPU, avoids local setup issues) 1. Upload the whole folder to Colab or clone it into a Colab notebook. 2. Set runtime to GPU (Runtime → Change runtime type → T4 GPU). 3. Run: ```bash pip install -r requirements.txt python src/train.py --model xlm-roberta-base --epochs 3 ``` 4. This trains on the 70/15/15 split, prints accuracy/precision/recall/F1 on the test set, and saves the model to `model_output/`. **Try another model** — matches your Objective 2 (BERT, RoBERTa, XLM-R): ```bash python src/train.py --model bert-base-multilingual-cased python src/train.py --model roberta-base ``` (Note: plain `roberta-base` is English-only; for a fair multilingual comparison, consider `xlm-roberta-base`, `bert-base-multilingual-cased`, …

Visit

github.com

Tasks

sentiment analysistext classification

Languages

Ganda

Similaires

SsemuliJoseph/luganda-nlp-pipelineindonesian-nlp/wav2vec2-lugandaHanaAdugnaYetsedaw/NLP-ProjectBrianMasiga/NLP-TERM-PROJECTGeniusMpala/NLP-National-Projectangiexbreedt/COS760-NLP-Project

SsemuliJoseph/luganda-nlp-pipeline

# Luganda NLP Pipeline An end-to-end English ↔ Luganda machine translation pipeline: data annotatio

indonesian-nlp/wav2vec2-luganda

HanaAdugnaYetsedaw/NLP-Project

We work on Twitter Sentiment Analysis for Amharic language. # NLP-Project We work on Twitter Sent

BrianMasiga/NLP-TERM-PROJECT

Building a swahili sentiment analyzer # Term-Project-Developing-a-Swahili-Sentiment-Analyzer # Sent

GeniusMpala/NLP-National-Project

Digitalizing Shona and Ndebele Bantu languages # Language-Modelling-for-Shona-and-Ndebele Digitaliz

angiexbreedt/COS760-NLP-Project

Repository for our COS760 Natural Language Processing semester project (Semantic Relatedness Using S