Evaluate any AI model for India-readiness (capability, safety, sovereignty) on the Bharat AI Index.
Project description
atlas-eval (Python)
Is your model ready for India? Evaluate any model on the Bharat AI Index.
Requires a running Atlas instance (default
http://localhost:3000). Start one withnpm run devin the repo, ordocker run -p 3000:3000 ... bharat-ai-index.
Install
pip install atlas-eval # live on PyPI
Use
from atlas_eval import evaluate_model
# point at ANY model — OpenAI-compatible endpoint or local Ollama:
report = evaluate_model("gpt-4o-mini", api_key="sk-...")
# report = evaluate_model("my-finetune", base_url="http://localhost:8000/v1")
# report = evaluate_model("gemma2:2b", kind="ollama")
r = report["readiness"]
print(r["verdict"], "| grade", r["sovereigntyGrade"])
print("Indic", r["indicScore"], "vs Global", r["globalScore"], "| gap", r["indicGap"])
print("weakest axes:", r["weakest"]) # what to fix before deploying for India
CLI
atlas-eval --version
atlas-eval check --base-url http://localhost:3000 # verify a reachable Atlas instance
What you get back
evaluate_model returns the full report:
run—overall ± stderr, per-axiscategories, and the Indic-vs-Globallocalessplit.sovereignty— overall score, AAA→Cgrade, and the four sovereigntydimensions.readiness— a plain-Englishverdict,indicScore/globalScore/indicGap, and theweakest/strongestaxes.certificateId— a deterministic, recomputable id for the rating.
Zero runtime dependencies (Python stdlib only). Ships type hints (PEP 561 py.typed).
Docs: https://github.com/info-gallary/BharatAIndex/tree/main/sdk
MIT © Atlas AI Labs
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atlas_eval-0.4.0.tar.gz.
File metadata
- Download URL: atlas_eval-0.4.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5e26c572b37e5a1dbd02cd7633ceeeff4e6efc094761c4ee2779020bc1017d0
|
|
| MD5 |
04f98e1ec75b4c0bb5e0dab7c0f69cd0
|
|
| BLAKE2b-256 |
21f960ed52e557d95d9f992c3f4478be1d004465b293f12bfaf9d83e71403955
|
File details
Details for the file atlas_eval-0.4.0-py3-none-any.whl.
File metadata
- Download URL: atlas_eval-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3b96c5436e292c56fa3ac54917f034301188c43515cd724c1324349a441db3b
|
|
| MD5 |
915776423dd541ff50658bfca21b75eb
|
|
| BLAKE2b-256 |
13138bfafb96d35f88a80bf15e6d62a4bd7ea3176576e1bc02d2468525c59331
|