Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AtlasForge

Run, evaluate, compare and fine-tune the official N-ATLaS models (Hausa, Yoruba, Igbo, Nigerian-accented English).

Status: pre-alpha (0.1.0a2, published to PyPI as brainers-atlasforge). Built for NAIC 2026, Problem 01 (Developer Infrastructure). Everything under "Works today" is tested. Several parts have never been run against real N-ATLaS weights because they need a GPU or a large-memory machine: the local backend, the ASR models and fine-tuning. They are marked below. Nothing is claimed to work until it is listed here.

Documentation

Full documentation (quickstart, concepts, guides, reference, troubleshooting) lives in docs/ and builds into a searchable site:

pip install -e ".[docs]"
mkdocs serve        # live preview

No model? Start with the offline demo: atlasforge demo. A Jupyter/Colab walkthrough of the whole workflow on that demo data is in notebooks/, and the output it produces — a report and a comparison in Markdown, JSON and HTML — is committed in examples/reports/.

The question AtlasForge answers

I changed this N-ATLaS model. Did I actually make it better on my task, and where did it get worse?

N-ATLaS is published as gated open weights on Hugging Face, so developers get the models but no tooling to measure them on their own data. AtlasForge is that tooling.

Install

Python 3.10 to 3.13.

pip install --pre brainers-atlasforge
atlasforge --version

The distribution is brainers-atlasforge, not atlasforge — that name on PyPI belongs to an unrelated bioinformatics project. It is a pre-release, so --pre is required; without it pip will not see it. The import name and the command are both atlasforge.

To work on AtlasForge itself, or to run the tip of main rather than a release:

git clone https://github.com/Brainers-Labs/atlasforge
cd atlasforge
python -m venv .venv
. .venv/bin/activate                 # Windows PowerShell: .venv\Scripts\Activate.ps1
pip install -e .

That base install pulls in no PyTorch and no other machine-learning framework. Extras add one job at a time — pip install "brainers-atlasforge[local]" to run the weights in-process, [asr] for speech, [finetune] for QLoRA. Installation lists them all, and the Quickstart reaches a real comparison in about two minutes with no model at all.

Works today

atlasforge doctor                                   # Python, GPU/VRAM, disk, ffmpeg, HF token, extras
atlasforge run "Ina kwana?" --base-url http://127.0.0.1:8000/v1
atlasforge dataset validate data.jsonl --task generation [--against test.jsonl]
atlasforge eval data.jsonl --out runs/base --base-url http://127.0.0.1:8000/v1 --model NCAIR1/N-ATLaS
atlasforge eval data.jsonl --out runs/tuned --base-url http://127.0.0.1:8001/v1 --model my-finetune
atlasforge compare data.jsonl --base runs/base --candidate runs/tuned --out cmp --slice domain
atlasforge report runs/base --dataset data.jsonl    # re-score with no model
atlasforge transcribe note.ogg --lang ha --base-url ...
  • eval: JSONL in, resumable run out, report.md + report.json + report.html (one self-contained page: no JavaScript, no network, no server). Every text metric is reported under both a tone-aware and a tone-insensitive view (Yoruba/Igbo underdots and Hausa hooked letters are never stripped). Failed calls count as wrong.

  • compare: paired bootstrap confidence intervals, an exact McNemar test for right/wrong metrics, per-slice results (language, length, has-number, or any meta field), and the same three report shapes as eval. A change is only called improved or regressed when the whole interval is on one side of zero, and slices under 30 examples are reported as insufficient data.

  • dataset validate: malformed lines (all of them, with line numbers), duplicates, conflicting labels, train/test leakage, broken Unicode, stripped diacritics, class imbalance.

  • Backends: openai works with any OpenAI-compatible server (vLLM, llama.cpp, Ollama, HF Endpoints, community gateways). It retries 429/5xx and connection errors, and never puts response bodies in error messages.

  • Safety nets: eval stops after 20 consecutive failures instead of hammering a dead server, and keeps everything finished so it can resume.

  • finetune --dry-run (no GPU): validates the training data, refuses train/test leakage and tiny datasets, and prints the plan. card writes a model card with the licence obligations (attribution, "Powered by Awarri", the 1,000-user cap), the evaluation numbers and any regressions.

  • ASR helpers: any audio format via ffmpeg (including WhatsApp .ogg/opus), automatic splitting of audio over the models' 30-second limit, transcript merging.

Not yet run against real weights

  • --backend local (transformers): wiring is tested with stand-in modules only.
  • Official ASR models: the chunking and merging are tested; the models themselves have not been loaded.
  • atlasforge finetune (QLoRA via PEFT/TRL): data checks and --dry-run are tested; the training run itself needs an NVIDIA GPU and has never been executed.
  • --backend local --adapter DIR: evaluating a fine-tuned adapter; wiring tested with stand-ins only.

Nothing above has been checked from a machine that has the weights. scripts/live_smoke.py is the run that does it, and it writes down what it saw — including the checks it could not perform. It has not been run either. The project status page is the record.

Metrics

exact match, accuracy, macro-F1, chrF / chrF++, WER, CER, latency percentiles. Datasets are JSONL, one example per line: id, input (or messages), reference, lang, meta; ASR uses audio instead of input. Unknown keys are rejected, so typos fail loudly.

Models and licence

AtlasForge never redistributes N-ATLaS weights. You download them from Hugging Face after accepting the Awarri licence yourself. The licence includes a 1,000 active-end-user cap, attribution requirements and a "Powered by Awarri" suffix for derivatives. Read it before you build on the models. AtlasForge's own code is Apache-2.0.

Development

python -m venv .venv && . .venv/bin/activate     # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
pytest && ruff check . && ruff format --check . && mypy

The default test suite needs no GPU, credentials or gated weights. Extras: [local] (transformers backend), [asr], [finetune]. ffmpeg is needed for audio.

Metadata

Release files for brainers-atlasforge 0.1.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brainers-atlasforge 0.1.0a2
File Size Uploaded Provenance Actions
brainers_atlasforge-0.1.0a2.tar.gz 217.6 kB With provenance Details for brainers_atlasforge-0.1.0a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for brainers-atlasforge 0.1.0a2
File Interpreter ABI Platform Actions
brainers_atlasforge-0.1.0a2-py3-none-any.whl Python 3 none any Details for brainers_atlasforge-0.1.0a2-py3-none-any.whl

Total release size: 355.0 kB

Release files / brainers_atlasforge-0.1.0a2.tar.gz

Download URL brainers_atlasforge-0.1.0a2.tar.gz
Size 217.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3fc45b9b985fc685ba4f392690af621ac6fea2f6098adefbaa11afb514775368
BLAKE2b-256 checksum
How to use checksums
1532dcc0d4a9c9fafe77539bc592350c070e0bf197642b6c0b2b2b224b23ac86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 8, 2026.

Transparency log

Release files / brainers_atlasforge-0.1.0a2-py3-none-any.whl

Download URL brainers_atlasforge-0.1.0a2-py3-none-any.whl
Size 137.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7419404197d36b12528a67a2cec269449c4b308bd14731f4f194837ff8e3d755
BLAKE2b-256 checksum
How to use checksums
815562e0cc62901fca60398eaa3cc4f3a3bc99608b9c785a020aa5ca3a8a0eac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 8, 2026.

Transparency log

Security for brainers-atlasforge 0.1.0a2

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.

Select from 2 files

Attestation for brainers_atlasforge-0.1.0a2.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 Oct 8, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page