Evaluating open-source LLMs on Bengali, Swahili and Tamil vs English baseline
# π LLM Benchmark for Low-Resource Languages
**Evaluating how well open-source LLMs understand Bengali, Swahili, and Tamil**
---
## π What This Project Does
Most AI benchmarks test English. This project asks: **how well do popular open-source LLMs actually perform in Bengali, Swahili, and Tamil?**
We evaluate 4 models across 3 tasks:
- **Translation Quality** β Does the model translate accurately?
- **Reading Comprehension** β Can it answer questions about a passage?
- **Commonsense Reasoning** β Does it reason correctly in these languages?
### Key Finding
> GPT-class open-source models still show 25β40% performance degradation on Bengali and Tamil reasoning tasks compared to English. Swahili shows even steeper drop-off on numerical reasoning.
---
## π Project Structure
```
llm-benchmark/
βββ data/
β βββ raw/ # Original downloaded datasets
β βββ processed/ # Cleaned, ready-to-use datasets
βββ src/
β βββ data/ # Scripts to download & prepare data
β βββ evaluation/ # Evaluation logic (scoring, metrics)
β βββ models/ # Model loading & inference
β βββ utils/ # Helper functions
βββ results/ # Output CSVs and charts
βββ notebooks/ # Jupyter notebooks for analysis
βββ docs/ # Paper-style writeup
βββ requirements.txt
βββ run_benchmark.py # Main script β run this!
βββ README.md
```
---
## π How to Run This Project (Step by Step β No Experience Needed)
### Step 1: Install Python
If you don't have Python installed:
- Go to
python.org
- Download Python 3.10 or newer
- Install it (check "Add to PATH" on Windows)
### Step 2: Download This Project
Click the green **Code** button on GitHub β **Download ZIP** β Extract it somewhere on your computer.
Or if you have Git:
```bash
git clone
github.com
cd llm-benchmark
```
### Step 3: Create a Virtual Environment
Open your terminal (Command Pr β¦