# Kwame: A Bilingual AI Teaching Assistant for Online SuaCode Courses

arXiv: https://arxiv.org/abs/2010.11387 · HTML: https://mlsanity.com/paper/2010.11387/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 22 Oct 2020.

## Built on by (most cited first, 4 of 4)

- [Real-World Deployment and Evaluation of Kwame for Science, An AI Teaching Assistant for Science Education in West Africa](https://mlsanity.com/paper/2302.10786/) (2023)
- [Kwame for Science: An AI Teaching Assistant Based on Sentence-BERT for Science Education in West Africa](https://mlsanity.com/paper/2206.13703/) (2022)
- [Leveraging AI to Advance Science and Computing Education across Africa: Challenges, Progress and Opportunities](https://mlsanity.com/paper/2402.07397/) (2024)
- [Kwame 2.0: Human-in-the-Loop Generative AI Teaching Assistant for Large Scale Online Coding Education in Africa](https://mlsanity.com/paper/2603.29159/) (2026)

## Abstract (arXiv)

Introductory hands-on courses such as our smartphone-based coding course, SuaCode require a lot of support for students to accomplish learning goals. Online environments make it even more difficult to get assistance especially more recently because of COVID-19. Given the multilingual context of SuaCode students - learners across 42 African countries that are mostly Anglophone or Francophone - in this work, we developed a bilingual Artificial Intelligence (AI) Teaching Assistant (TA) - Kwame - that provides answers to students' coding questions from SuaCode courses in English and French. Kwame is a Sentence-BERT (SBERT)-based question-answering (QA) system that we trained and evaluated offline using question-answer pairs created from the course's quizzes, lesson notes and students' questions in past cohorts. Kwame finds the paragraph most semantically similar to the question via cosine similarity. We compared the system with TF-IDF and Universal Sentence Encoder. Our results showed that fine-tuning on the course data and returning the top 3 and 5 answers improved the accuracy results. Kwame will make it easy for students to get quick and accurate answers to questions in SuaCode courses.
