bangla-ai-eval
How well do AI models actually handle Bangla? An open benchmark of everyday Bangla and Bangladeshi tasks. Every test case is written or checked by a native speaker.
বাংলায় AI কতটা ভালো, সেটা মাপার একটা খোলা পরীক্ষা। প্রতিটা প্রশ্ন একজন বাংলাভাষী লিখেছেন বা যাচাই করেছেন। কোড না জানলেও অবদান রাখতে পারবেন: নিচে দেখুন।
Why
Over 270 million people speak Bangla. AI models often look fluent in it, but trip over things any Bangladeshi gets right without thinking:
- Irregular number words. ৫৩ is তিপ্পান্ন, not "পঞ্চাশ তিন".
- Lakh/crore commas. Money is written ১২,৩৪,৫৬৭, not 1,234,567.
- Banglish. People type
order ta kobe pabo?, and a model should read it back as অর্ডারটা কবে পাবো? - The Bangla calendar as used in Bangladesh, where Pohela Boishakh is 14 April.
These mistakes matter when businesses here use AI for invoices, customer chat and content. This benchmark measures them so anyone can see how each model does.
What's inside (v0.1)
Everyday Bangla
| Category | What it tests | Cases | |
|---|---|---|---|
digits |
Bangla ↔ English digits | 12 | ➕ প্রশ্ন যোগ করো |
taka-format |
Lakh/crore comma grouping | 10 | ➕ প্রশ্ন যোগ করো |
number-words |
Numbers written as Bangla words | 24 | ➕ প্রশ্ন যোগ করো |
banglish |
Banglish → Bangla script | 8 | ➕ প্রশ্ন যোগ করো |
bd-facts |
National symbols, dates, places, food (no politics) | 20 | ➕ প্রশ্ন যোগ করো |
bangla-calendar |
Months, seasons, Bangladesh's revised calendar | 15 | ➕ প্রশ্ন যোগ করো |
🏆 AI কে হারাও: the hard part
| Category | What it tests | Cases | |
|---|---|---|---|
dialect |
Chittagonian, Sylheti, Noakhali words → standard Bangla | 7 | ➕ তোমার এলাকার শব্দ দাও |
proverbs |
Complete a প্রবাদ | 10 | ➕ প্রবাদ যোগ করো |
riddles |
Classic ধাঁধা | 3 | ➕ ধাঁধা যোগ করো |
grammar |
Opposite words, সন্ধি বিচ্ছেদ | 10 | ➕ প্রশ্ন যোগ করো |
Clicking ➕ opens the file in GitHub's editor. GitHub makes your own copy (fork) automatically, so you just add your question at the bottom and press Propose changes. Have an idea for a whole new category? Create a new file.
Run python -m bangla_eval stats for live counts. Every v0.1 case has been reviewed by a native speaker (verified: true). New contributions start as verified: false until a reviewer checks them. Use --only-verified to score only reviewed cases.
Run it
Python 3.10+, one dependency. The cases ship inside the package.
pip install bangla-ai-eval
bangla-eval validate # check all cases
bangla-eval run --provider mock # dry run, no API key, no cost
Against a real model (API keys come from environment variables only):
# Anthropic
export ANTHROPIC_API_KEY=...
bangla-eval run --provider anthropic --model <model-id>
# Anything OpenAI-compatible: OpenAI, Gemini, OpenRouter, Ollama, LM Studio
export OPENAI_API_KEY=...
bangla-eval run --provider openai --model <model-id> --base-url <endpoint>
bangla-eval report # markdown table of all runs
Working from a clone of this repo (to add cases), use pip install PyYAML and python -m bangla_eval ... instead.
Each run is saved to results/ with every prompt, response and score, so any number can be checked by hand.
Results
Coming soon: the first model runs. Scores are published together with every raw response, so anyone can check them.
🏆 Hall of Fame: questions AI got wrong
When a question stumps a major model, it goes here, with the model's actual wrong answer and the contributor's name. Generated by python -m bangla_eval hardest.
Fills up with the first results. Think you can stump an AI? Open a "Stump the AI" issue or add the question yourself.
Contribute: no code needed
The most valuable contribution is a good question: one that any Bangladeshi gets right, and that a model might not.
- Open a file in
cases/, or start a new category - Add your case at the end (copy the shape of the one above it)
- Open a pull request. CI checks the format automatically.
Full guide in Bangla and English: CONTRIBUTING.md.
How scoring works
- Answers are compared after Unicode normalization (NFC, invisible joiners removed, surrounding punctuation stripped). Invisible differences never fail a model, but real spelling differences do.
- Bangla often has more than one accepted spelling (ষোলো / ষোল). Each case lists every accepted form under
accept. - Models are asked to answer with only the final answer, at temperature 0.
License
MIT, covering both code and test cases. Built by Mohammed Hossain and contributors.
Metadata
Release files for bangla-ai-eval 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bangla_ai_eval-0.1.0.tar.gz | 22.4 kB | With provenance | Details for bangla_ai_eval-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bangla_ai_eval-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bangla_ai_eval-0.1.0-py3-none-any.whl |
Total release size: 47.1 kB
Release files / bangla_ai_eval-0.1.0.tar.gz
| Download URL | bangla_ai_eval-0.1.0.tar.gz |
|---|---|
| Size | 22.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc77a965bc6c25c4ba335fa44757c56a4a28325f9c487fd3ebd08ac93ee4ac18
|
|
BLAKE2b-256 checksum How to use checksums |
7f598c8e0c645a6300e9150e69059645d407dc7c4de2ed5a14299ef27977c281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / bangla_ai_eval-0.1.0-py3-none-any.whl
| Download URL | bangla_ai_eval-0.1.0-py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2def06865866c7286906c40a32d89a24de9a035d5fd74446e0338f4058526aa
|
|
BLAKE2b-256 checksum How to use checksums |
40f305d8a2516f244dce0cfb5fb6a47fa6b062ca463f4c7623676b20ed12854a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for bangla-ai-eval 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bangla_ai_eval-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.