Enhancing STEM education in Sub-Saharan Africa through native language integration using LLMs for improved accessibility.
# Adaptive Education for African Languages
This project addresses the pervasive influence of the English language in educational systems across Sub-Saharan Africa, where the instruction of STEM subjects occurs predominantly in English. Despite the historical and cultural significance of languages like Kinyarwanda and Swahili, policies emphasizing English have marginalized native languages, hindering effective communication and comprehension for students.
The study aims to rectify this issue by integrating native languages into the learning process, leveraging large language models (LLMs) like LLaMa and GoogleTranslate. Through the use of these LLMs, the project has developed a framework that facilitates contextual embedding and translation between English and native languages, enhancing the accessibility of STEM education. Evaluation metrics such as precision, recall, and F1-score, alongside text similarity measures, have been employed to
assess the performance of the models. The results indicate that
sentence similarity measures provide a more accurate reflection
of the models’ capabilities.
Future work will expand the rangeof African languages supported by the LLMs and explore the integration of these models with mobile technology to increase
accessibility for students in remote areas. A pilot study involving
high school students will further test the practical application of
the LLMs in educational settings.
### Installation and Execution Guide
If you follow this guide, you should set up this project successfully.
### Steps to Follow:
1. Install Dependencies
Open a terminal and execute the following commands to install the necessary dependencies:
```bash
pip install llama_index
pip install langchain
pip install pypdf
pip install nltk
python3 -c "import nltk; nltk.download('punkt')"
```
Configure the OpenAI API Key
Make sure you have a valid OpenAI API key. If you don't have one, visit the OpenAI website to obtain one.
Then, open the file where you' …