Instructions to use Thox-ai/ThoxAir-16M-role with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Thox-ai/ThoxAir-16M-role with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Thox-ai/ThoxAir-16M-role:Q8_0 # Run inference directly in the terminal: llama cli -hf Thox-ai/ThoxAir-16M-role:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Thox-ai/ThoxAir-16M-role:Q8_0 # Run inference directly in the terminal: llama cli -hf Thox-ai/ThoxAir-16M-role:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Thox-ai/ThoxAir-16M-role:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf Thox-ai/ThoxAir-16M-role:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Thox-ai/ThoxAir-16M-role:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Thox-ai/ThoxAir-16M-role:Q8_0
Use Docker
docker model run hf.co/Thox-ai/ThoxAir-16M-role:Q8_0
- LM Studio
- Jan
- vLLM
How to use Thox-ai/ThoxAir-16M-role with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Thox-ai/ThoxAir-16M-role" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Thox-ai/ThoxAir-16M-role", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Thox-ai/ThoxAir-16M-role:Q8_0
- Ollama
How to use Thox-ai/ThoxAir-16M-role with Ollama:
ollama run hf.co/Thox-ai/ThoxAir-16M-role:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use Thox-ai/ThoxAir-16M-role with Docker Model Runner:
docker model run hf.co/Thox-ai/ThoxAir-16M-role:Q8_0
- Lemonade
How to use Thox-ai/ThoxAir-16M-role with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Thox-ai/ThoxAir-16M-role:Q8_0
Run and chat with the model
lemonade run user.ThoxAir-16M-role-Q8_0
List all available models
lemonade list
- Atomic Chat
ThoxAir-16M-role
On-device conversational model for the ThoxAir RV1103 (Cortex-A7 ARMv7-A + NEON). BitNet b1.58 ternary, 15,737,088 params, 86.6% ternary.
Lineage β verified
Fine-tuned from Thox-ai/ThoxMicro-1bit-16M,
a THOX model trained from scratch. No external base. Training initialised
from that run's checkpoint (deep-16m-ternary/best.pt); the Hub repo publishes
the same run as GGUF.
ThoxAir is a dual-chip device
This is the RV1103 half. The ESP32-C6 half is
Thox-ai/ThoxMesh-Head-C6,
an int8 TFLite triage classifier that decides which radio/sensor events are worth
waking this model for.
Needs an armv7-neon llama.cpp build β the Pi Zero arm64 binaries will not run on it.
Budget: 5.51 MB weights, 13.89 MB resident of ~33 MB usable, ~11.0 tok/s. 1-bit inference is already proven on this silicon at 10.7β11.2 tok/s.
val_loss 1.6163. Ship-then-test: not measured on target. Trained locally at $0.
- Downloads last month
- 55
1-bit
8-bit
Model tree for Thox-ai/ThoxAir-16M-role
Base model
Thox-ai/ThoxMicro-1bit-16M