Instructions to use MABA-Studios-AI/Affan-AI-Engine-3-Mini 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 MABA-Studios-AI/Affan-AI-Engine-3-Mini 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 MABA-Studios-AI/Affan-AI-Engine-3-Mini # Run inference directly in the terminal: llama cli -hf MABA-Studios-AI/Affan-AI-Engine-3-Mini
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MABA-Studios-AI/Affan-AI-Engine-3-Mini # Run inference directly in the terminal: llama cli -hf MABA-Studios-AI/Affan-AI-Engine-3-Mini
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf MABA-Studios-AI/Affan-AI-Engine-3-Mini # Run inference directly in the terminal: ./build/bin/llama cli -hf MABA-Studios-AI/Affan-AI-Engine-3-Mini
Use Docker
docker model run hf.co/MABA-Studios-AI/Affan-AI-Engine-3-Mini
- Llama new
- LM Studio
- Jan
- vLLM
How to use MABA-Studios-AI/Affan-AI-Engine-3-Mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MABA-Studios-AI/Affan-AI-Engine-3-Mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MABA-Studios-AI/Affan-AI-Engine-3-Mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MABA-Studios-AI/Affan-AI-Engine-3-Mini
- Ollama
How to use MABA-Studios-AI/Affan-AI-Engine-3-Mini with Ollama:
ollama run hf.co/MABA-Studios-AI/Affan-AI-Engine-3-Mini
- Unsloth Desktop
- Docker Model Runner
How to use MABA-Studios-AI/Affan-AI-Engine-3-Mini with Docker Model Runner:
docker model run hf.co/MABA-Studios-AI/Affan-AI-Engine-3-Mini
- Lemonade
How to use MABA-Studios-AI/Affan-AI-Engine-3-Mini with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MABA-Studios-AI/Affan-AI-Engine-3-Mini
Run and chat with the model
lemonade run user.Affan-AI-Engine-3-Mini-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Affan AI Engine 3 Mini
The smallest member of the Affan AI Engine family, and one of the most compact reasoning models you can run.
Affan AI Engine 3 Mini is a 1.7B-parameter model compressed to 1-bit (Q1_0), so the whole model is only about 215 MB. It is built to think before it answers, working through reasoning, mathematics and programming problems on laptops, phones and other low-power hardware with no GPU required.
We're proud of how much capability fits in this file. A model this small, that still reasons step by step and writes code, is exactly what MABA Studios exists to build.
Why you'll like it
- Tiny: ~215 MB on disk. It fits where other models can't.
- Fast: designed for quick responses on CPUs and mobile chips.
- Reasons out loud: thinks inside
<think>tags (shown in LM Studio's reasoning box), then answers with clean, fenced code and worked-out solutions. - Good for code and math: tuned for programming help, calculations and step-by-step problem solving.
- Long context: up to 32,768 tokens using YaRN rope scaling.
- Mobile-ready: includes recommended low-memory runtime flags for phones.
Model details
| Developer | MABA Studios (Muhammad Affan Bin Adnan) |
| Model family | Affan AI Engine |
| Version | 3.0.0-Mini |
| Parameters | 1.7B |
| Architecture | Qwen3-style decoder (28 layers, 2048 hidden size, 16 attention heads, 8 KV heads) |
| Quantization | 1-bit Q1_0 (group size 128, FP8-aligned scales) |
| Context length | 32,768 tokens (YaRN, native 8,192) |
| Vocabulary | 49,152 tokens |
| Language | English |
| Format | GGUF, single file |
| License | Apache 2.0 |
Best for
- Quick coding help and code explanations
- Maths and logic step by step
- Lightweight offline assistants and embedded apps
- Running AI on older laptops, small servers and phones
Recommended settings
| Setting | Value |
|---|---|
| Temperature | 0.4 |
| Top-k | 40 |
| Top-p | 0.9 |
| Min-p | 0.05 |
| Repeat penalty | 1.05 |
For phones and very low-memory devices: -t 2 -c 2048 -ctk q8_0 -ctv q4_0 -fa --no-mmap --mlock
Files
| File | Size | Description |
|---|---|---|
Affan-AI-Engine-3-Mini-1.7B.gguf |
~215 MB | 1-bit GGUF weights |
Run it
LM Studio โ search for MABA-Studios-AI/Affan-AI-Engine-3-Mini, download, and chat. Thinking appears in LM Studio's reasoning box.
llama.cpp โ use a recent build with Q1_0 support:
huggingface-cli download MABA-Studios-AI/Affan-AI-Engine-3-Mini Affan-AI-Engine-3-Mini-1.7B.gguf --local-dir .
llama-cli -m Affan-AI-Engine-3-Mini-1.7B.gguf -cnv
This model uses the 1-bit
Q1_0format. Make sure your runtime (llama.cpp, LM Studio, etc.) is up to date, otherwise older versions may fail to load it.
Limitations
- It is an extremely compressed (1-bit) model. Quality can differ from full-precision versions, and we have not published benchmark numbers, so test it on your own tasks.
- Like all language models it can produce incorrect or biased output. Verify anything important, especially code and calculations, before relying on it.
- Not intended for medical, legal or other high-stakes decisions without human review.
License
Released under the Apache License 2.0.
About MABA Studios
MABA Studios is an AI optimization and compression company. We make large AI models fit on low-end devices and everyday consumer hardware. Created by Muhammad Affan Bin Adnan. Explore the rest of the Affan AI Engine family on our organization page.
- Downloads last month
- 5,586
We're not able to determine the quantization variants.