Logo Lanfrica

Shadman19/llm-benchmark-low-resource-languages

Domain:

natural language processing

Record type:

project
Creator:
Sha
Host:
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 …

Languages