--- license: apache-2.0 library_name: gguf pipeline_tag: text-generation language: - en tags: - 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 `` 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: ```bash 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_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. ## License Released under the [Apache License 2.0](https://www.apache.org/licenses/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](https://huggingface.co/MABA-Studios-AI).