Downloads · 30 days
17
36% of all-time downloads
wezzel98765/grug-27b-oQ6e-fp16
grug-27b-oQ6e-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.
grug-27b-oQ6E-fp16 is a highly token-efficient reasoning model built on top of ProCreations/grug-27b, quantized with oMLX oQ6E (6-bit exponent-aware) using oMLX version 0.5.7, with a float16 (fp16) base dtype optimize…
Downloads · 30 days
17
36% of all-time downloads
All-time downloads
47
Public
Parameters
27.4B
24.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors24.2 GB · 100%
How the weights are stored.
U3226.9B · 98%
From the Hugging Face model README
grug-27b-oQ6E-fp16 is a highly token-efficient reasoning model built on top of ProCreations/grug-27b, quantized with oMLX oQ6E (6-bit exponent-aware) using oMLX version 0.5.7, with a float16 (fp16) base dtype optimized for Apple Silicon performance.
grug-27b-oQ6E-fp16 is a quantized variant of the grug-27b model, which itself is a LoRA fine-tune of Qwen/Qwen3.6-27B. The model employs the distinctive "grug" thinking style — a token-efficient reasoning approach that dramatically reduces token consumption while maintaining strong benchmark performance.
| Parameter | Value |
|---|---|
| Architecture | Qwen3 decoder-only transformer |
| Model Type | qwen3 |
| 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-6 |
| RMS Norm Eps | 1e-5 |
| RoPE Theta | 1,000,000.0 |
| Vocabulary Size | 152,064 |
This model is quantized using the oMLX library (version 0.5.7) with the oQ6E format — a 6-bit exponent-aware quantization scheme.
| Property | Value |
|---|---|
| Quantization Format | oQ6E (oMLX 6-bit exponent-aware) |
| oMLX Version | 0.5.7 |
| Bits Per Weight | ~6.8 BPW |
| Exponent Aware | Yes |
| Quality Loss vs bf16 | 1–1.5% perplexity increase |
| Memory Savings | ~55–60% reduction from full precision |
| Estimated Quantized Size | ~22–24 GB |
| Base Dtype | float16 (fp16) |
| Original Dtype | bfloat16 (bf16) |
Note: The fp16 base dtype is selected for ~20% faster prefill on M1/M2/M3/M4 Apple Silicon. The output model name appends
-fp16to distinguish it from the bf16 variant.
grug-think-v3-10k — agent trajectories (think-only loss)gpt-5.5 dataset — high-quality general data (full loss)Benchmarks reported under v2.1 evaluation:
| Benchmark | Metric | Score |
|---|---|---|
| HumanEval | pass@1 | 87.2 |
| MBPP | pass@1 | 85.0 |
| GSM8K | exact match | 95.5 |
| MATH-500 | (unseen surface) | 68.7 |
| SWE-bench | valid / match / args | 97.1 / 92.6 / 100.0 |
| Metric | Value |
|---|---|
| Token savings vs base model | 8–40x fewer tokens |
| Max compression on reasoning | Up to 198x fewer tokens |
| Requirement | Minimum | Recommended |
|---|---|---|
| Unified Memory (Apple Silicon) | 16 GB | 32 GB+ |
| Chip Generation | M1/M2/M3/M4 | M1/M2/M3/M4 Pro/Max |
| Disk Space | ~25 GB | ~25 GB |
Note: This model is designed for Apple Silicon (MLX) deployment. The fp16 dtype provides optimal performance on M1/M2 series chips; Pro/Max variants benefit from larger memory for longer contexts.
from mlx_lm import load, generate
model, tokenizer = load("your-username/grug-27b-oQ6E-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-oQ6E-fp16 --max-tokens 4096 --temp 0.6 --top-p 0.95
| Parameter | Value | Notes |
|---|---|---|
temp | 0.6 | Balanced creativity vs determinism |
top_p | 0.95 | Standard nucleus sampling |
max_tokens | 1024–4096 | Adjust based on use case |
This model is derived from ProCreations/grug-27b, which is licensed under the Apache License 2.0.
The quantization and fp16 conversion are performed using oMLX (version 0.5.7).
See the LICENSE file for full terms.
@misc{grug27b,
title={grug-27b},
author={ProCreations},
year={2025},
url={https://huggingface.co/ProCreations/grug-27b}
}
@misc{qwen3,
title={Qwen3.6-27B},
author={Qwen Team},
year={2025},
url={https://huggingface.co/Qwen/Qwen3.6-27B}
}