Downloads · 30 days
20
26% of all-time downloads
wezzel98765/grug-27b-oQ8e-fp16
grug-27b-oQ8e-fp16 is a machine learning model from wezzel98765. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
A token-efficient, quantized reasoning model based on Qwen3.6-27B with the "grug" thinking style.
Downloads · 30 days
20
26% of all-time downloads
All-time downloads
78
Public
Parameters
27.4B
30.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors30.4 GB · 100%
How the weights are stored.
U3226.9B · 98%
From the Hugging Face model README
A token-efficient, quantized reasoning model based on Qwen3.6-27B with the "grug" thinking style.
This is an oMLX-oQ8E quantized variant of ProCreations/grug-27b, converted to float16 for ~20% faster prefill on Apple Silicon (M1/M2/M3/M4). The base model is Qwen/Qwen3.6-27B (Apache 2.0).
grug-27b is a LoRA r=32 fine-tune of Qwen3.6-27B, trained on agent trajectories with a "grug" thinking style — a token-efficient reasoning approach that uses 198× fewer tokens than the base model while maintaining strong performance. The LoRA weights are merged into the bf16 backbone, and this variant further quantizes to oQ8E (float16) for efficient MLX deployment.
| Parameter | Value |
|---|---|
| Architecture | Qwen3 decoder-only transformer |
| Hidden size | 5,120 |
| Num hidden layers | 40 |
| Num attention heads | 40 |
| Num key-value heads (GQA) | 8 |
| Intermediate size | 29,568 |
| Max position embeddings | 131,072 |
| Layer norm eps | 1e-06 |
| RMS norm eps | 1e-05 |
| RoPE theta | 1,000,000.0 |
| Vocabulary size | 152,064 |
| Total parameters | 27B |
| Property | Value |
|---|---|
| Format | oQ8E (oMLX 8-bit exponent-aware) |
| oMLX version | 0.5.7 |
| Bits per weight | ~8.8 BPW |
| Base dtype (original) | bfloat16 (~54 GB) |
| Quantized dtype | float16 (fp16) |
| Quality loss | <0.5% perplexity increase vs bf16 |
| Memory savings | ~40–45% reduction from full precision |
| Estimated quantized size | ~30–32 GB |
| Exponent aware | Yes |
| Benchmark | Score |
|---|---|
| HumanEval (pass@1) | 87.2 |
| MBPP (pass@1) | 85.0 |
| GSM8K (exact) | 95.5 |
| MATH-500 (unseen surface) | 68.7 |
| SWE-bench tool (valid/match/args) | 97.1 / 92.6 / 100.0 |
grug-think-v3-10k agent trajectories| Requirement | Minimum | Recommended |
|---|---|---|
| Memory (unified) | 16 GB (M1/M2/M3/M4) | 32 GB+ (Pro/Max) |
| Disk space | ~35 GB | ~35 GB |
from mlx_lm import load, generate
model, tokenizer = load("your-username/grug-27b-oQ8E-fp16")
response = generate(
model, tokenizer,
prompt="Your prompt here",
max_tokens=1024,
temp=0.6,
top_p=0.95
)
print(response)
mlx_lm.run --model your-username/grug-27b-oQ8E-fp16 --max-tokens 4096 --temp 0.6 --top-p 0.95
| Parameter | Value |
|---|---|
temp | 0.6 |
top_p | 0.95 |
max_tokens | 4096 (default), up to 131072 context |
This model is derived from ProCreations/grug-27b, which is licensed under the Apache License 2.0. The base model Qwen/Qwen3.6-27B is also Apache 2.0.
This quantized variant inherits the same Apache 2.0 license. See LICENSE for details.
@misc{grug27b,
title={grug-27b: Token-Efficient Reasoning with the Grug Thinking Style},
author={ProCreations},
year={2025},
url={https://huggingface.co/ProCreations/grug-27b}
}