Lightweight NumPy-first local AI training for Termux and constrained devices
pip install tait==2.3.1 Copy PIP instructions
A lightweight, NumPy-first local AI training toolkit for Termux, Android, and constrained Linux devices. Made in Sudan 🇸🇩
TAIT started as a single-file MiniGPT trainer and is now an open-source modular package. It stays deliberately lightweight: no PyTorch, no TensorFlow, and no large runtime stack.
git clone https://github.com/muzammilsoft/tait.git cd tait pip install -e . ⚡ Quick Start From the repository:
tait data inspect examples/datasets/mixed.jsonl tait train --config configs/reasoning.toml tait chat --model artifacts/reasoning.npz Browser chat:
tait chat --web --model artifacts/reasoning.npz Show the generated compact reasoning trace:
tait chat --model artifacts/reasoning.npz --show-reasoning 📦 Dataset format {"prompt":"شنو عاصمة السودان؟","reasoning":"السؤال عن عاصمة السودان، والمدينة المعروفة بأنها العاصمة هي الخرطوم.","response":"عاصمة السودان هي الخرطوم."} The default dataset is examples/datasets/mixed.jsonl. Arabic and English datasets are included separately. See Datasets for detailed generation rules.
tait train --config configs/default.toml CLI options override TOML settings. Validation, early stopping, response-only loss, and compact reasoning are enabled by default in the standard configuration.
v2.1 focuses on better instruction learning and compact reasoning. A future v2.x can add teacher/student distillation workflows. v3 can add an Agent layer with function calling, tools, planning, and execution.
Donations are optional and help support TAIT development. You can donate in cryptocurrency via NOWPayments:
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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.
None of the files in this release were uploaded with provenance metadata.
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.




