--- license: apache-2.0 library_name: gguf pipeline_tag: text-generation language: - en tags: - gguf - 1-bit - q1_0 - reasoning - code - math - long-context - qwen35 - maba-studios --- # Affan AI Engine 3 **Our flagship: a 27-billion-parameter reasoning model compressed to about 3.3 GB.** Affan AI Engine 3 is the most capable model in the Affan AI Engine family. It is a 27B-parameter model compressed to **1-bit (`Q1_0`)**, bringing a large reasoning and coding model within reach of consumer hardware that could never load it at normal precision. It thinks before it answers, working through mathematics, reasoning and full-stack programming problems inside `` tags, then replies with clear explanations and fenced code. With a **262,144-token context window**, it can read and reason over very long documents and large codebases. This model represents everything MABA Studios stands for: making large AI fit on everyday devices. We're proud of it, and we hope you enjoy using it. ## Why you'll like it - **27B capability, ~3.3 GB size:** a model of this scale on ordinary consumer hardware. - **Reasoning built in:** visible chain of thought in `` tags (LM Studio shows it in the reasoning box). - **Excellent for code and maths:** full-stack programming, debugging, and step-by-step problem solving. - **Huge context:** up to **262,144 tokens**, ready for long documents and big projects. - **Efficient hybrid design:** combines full attention with state-space layers for strong long-context efficiency. - **Runs locally:** private and offline, no cloud needed. ## Model details | | | |---|---| | Developer | MABA Studios (Muhammad Affan Bin Adnan) | | Model family | Affan AI Engine | | Version | 3.0.0 | | Parameters | 27B | | Architecture | Qwen3.5-style hybrid decoder (64 layers, 5120 hidden size, 24 attention heads, 4 KV heads, SSM layers) | | Quantization | 1-bit `Q1_0` (group size 128, FP8-aligned scales) | | Context length | 262,144 tokens | | Vocabulary | 65,536 tokens | | Language | English | | Format | GGUF, single file | | License | Apache 2.0 | ## Best for - Complex reasoning and multi-step problem solving - Mathematics and logic - Full-stack coding, code review and debugging - Analysing long documents and large codebases - Private, offline assistants on desktops and workstations ## Recommended settings | Setting | Value | |---|---| | Temperature | 0.4 | | Top-k | 40 | | Top-p | 0.9 | | Min-p | 0.05 | | Repeat penalty | 1.0 | Recommended runtime flags for long context with lower memory use: `-ctk q8_0 -ctv q4_0 -fa -c 32768` ## Files | File | Size | Description | |---|---|---| | `Affan-AI-Engine-3-27B.gguf` | ~3.3 GB | 1-bit GGUF weights | ## Run it **LM Studio** – search for `MABA-Studios-AI/Affan-AI-Engine-3`, 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 Affan-AI-Engine-3-27B.gguf --local-dir . llama-cli -m Affan-AI-Engine-3-27B.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).