Text Generation
GGUF
English
1-bit
q1_0
reasoning
code
math
qwen3
on-device
maba-studios
conversational
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
Detailed model card
Browse files5 unmodified lines67891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465665 unmodified lines- entags:- gguf- llama.cpp- lm-studio- ollama- qwen3- maba-studios---# Affan-AI-Engine-3-Mini**Affan-AI-Engine-3-Mini** is part of the **Affan AI Engine** family of language models by **MABA Studios**.A compact, fast 1.7B-parameter model built for laptops, phones and edge devices where memory and speed matter most.## Model details| | ||---|---|| Developer | MABA Studios || Model family | Affan AI Engine || Parameters | 1.7B || Architecture | qwen3 || Format | GGUF (specially quantized, ultra-low size) || License | Apache 2.0 |## Highlights- **Ultra-compressed:** a specially quantized build engineered for the smallest possible file size while keeping as much quality as possible, so it runs on modest hardware.- Tiny footprint: runs on almost any modern CPU or GPU.- Ideal for quick chat, drafting, summarising and lightweight assistants.## Files| File | Description ||---|---|| `Affan-AI-Engine-3-Mini-1.7B.gguf` | GGUF model weights |## Usage**LM Studio:** search for `MABA-Studios/Affan-AI-Engine-3-Mini` and download.**llama.cpp:**```bashhuggingface-cli download MABA-Studios/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 -p "Hello!" -cnv```**Ollama:** create a `Modelfile` containing `FROM ./Affan-AI-Engine-3-Mini-1.7B.gguf` then run `ollama create Affan-AI-Engine-3-Mini -f Modelfile`.## LimitationsAs an extremely compressed model, quality can differ from full-precision versions. Like all language models, it can produce incorrect or biased output. Verify important information before relying on it.## About MABA StudiosMABA Studios builds efficient, openly available AI models. Follow the organization for more releases.5 unmodified lines67891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001015 unmodified lines- entags:- gguf- 1-bit- q1_0- reasoning- code- math- qwen3- on-device- maba-studios---# 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:```bashhuggingface-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_0` format. 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.## LicenseReleased under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).## About MABA StudiosMABA 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](https://huggingface.co/MABA-Studios-AI).
README.md+61-26