Downloads · 30 days
15
4% of all-time downloads
yugeshkarunamurthy/Nanbeige4.2-3B-oQ6e
Nanbeige4.2-3B-oQ6e is a text generation model from yugeshkarunamurthy. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
Apple Silicon Optimized oQ6e MLX Quantized Release
Downloads · 30 days
15
4% of all-time downloads
All-time downloads
337
Public
Parameters
4.2B
3.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.4 GB · 99%
How the weights are stored.
U324.2B · 100%
From the Hugging Face model README
Apple Silicon Optimized oQ6e MLX Quantized Release
This repository contains an * oQ6e mixed-precision MLX quantized** version of Nanbeige4.2-3B, optimized for fast and memory-efficient local inference on Apple Silicon.
The original Nanbeige4.2-3B model was developed by the Nanbeige LLM Lab. This repository contains an optimized MLX oQ6e conversion only and does not include any additional fine-tuning or retraining.
Using * oQ6e sensitivity-aware mixed-precision quantization**, this release preserves the strong agentic reasoning, coding, and tool-use capabilities of the original model while significantly reducing memory usage for local deployment.
Nanbeige4.2-3B is a compact agentic language model built upon Nanbeige4.2-3B-Base.
Despite having only 3B non-embedding parameters, it demonstrates remarkably strong performance across agentic reasoning, coding, office automation, and tool-use tasks.
A major innovation of Nanbeige4.2 is its Looped Transformer architecture, where hidden representations are passed back through the transformer stack after a complete forward pass. This architectural reuse increases effective model capacity without increasing parameter count.
The original model combines:
The result is a compact model capable of competing with significantly larger language models on many practical agent benchmarks.
This release uses * oQ6e mixed-precision quantization**.
Unlike conventional fixed-bit quantization, * oQ6e dynamically allocates precision according to layer sensitivity**, preserving critical reasoning and planning layers while aggressively compressing less sensitive portions of the network.
Benefits include:
from mlx_lm import load, generate
model, tokenizer = load("yugeshkarunamurthy/Nanbeige4.2-3B oQ6e")
messages = [
{
"role": "user",
"content": "Design a task planner for a coding assistant."
}
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True,
)
response = generate(
model,
tokenizer,
prompt=prompt,
temp=0.7,
top_p=0.95,
top_k=20,
max_tokens=16384,
)
print(response)
This release is optimized for:
Compatible with:
Nanbeige4.2-3B oQ6e is well suited for:
Recommended systems:
The oQ6e quantization significantly reduces memory usage, making the model practical for a wide range of Apple Silicon devices while maintaining excellent reasoning quality.
oQ6e is a sensitivity-aware mixed-precision quantization technique designed to preserve model quality while substantially reducing memory requirements.
Rather than assigning identical precision to every layer, oQ6e analyzes layer sensitivity and selectively preserves higher precision where it has the greatest impact on reasoning and generation quality.
Benefits include:
Nanbeige4.2-3B introduces a Looped Transformer architecture, where hidden states are reused through the transformer layers to increase effective model capacity without increasing parameter count. The model is trained with a combination of supervised fine-tuning and reinforcement learning to strengthen agentic behavior, tool use, and coding performance. It is released under the Apache-2.0 license. :contentReference[oaicite:0]{index=0}
All credit for the original model, datasets, training methodology, evaluation, benchmarks, and research belongs entirely to:
Nanbeige LLM Lab
Original Repository:
https://huggingface.co/Nanbeige/Nanbeige4.2-3B
Base Model:
https://huggingface.co/Nanbeige/Nanbeige4.2-3B-Base
This repository provides an Apple Silicon optimized * oQ6e MLX quantized** version of the original model.
No additional fine-tuning has been performed.
If you use this model in research, please cite the original Nanbeige4.2 model:
@misc{nanbeige2026,
title = {Nanbeige4.2-3B},
author = {Nanbeige Team},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Nanbeige/Nanbeige4.2-3B}}
}
This release inherits the Apache-2.0 license from the original model.
Please refer to the original repository for complete licensing information.
This repository contains an optimized * oQ6e MLX quantized conversion** intended for efficient local inference on Apple Silicon.
All original model architecture, datasets, training methodology, benchmarks, evaluations, and research remain entirely the work of the original Nanbeige LLM Lab.