Downloads · 30 days
213
48% of all-time downloads
UraionLabs/Ling-3.0-tiny-oQ8e
Ling-3.0-tiny-oQ8e is a text generation model from UraionLabs. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as mit.
<p align="center" <img src="https://uraionlabs.com/public/icons/icon-192.png" alt="Uraion Labs" width="56" </p
Downloads · 30 days
213
48% of all-time downloads
All-time downloads
442
Public
Parameters
7.9B
8.4 GB on disk
Likes
1
Trending 1
Click a slice to open those files.
.safetensors8.4 GB · 100%
How the weights are stored.
U327.9B · 100%
From the Hugging Face model README
Ling-3.0-tiny-oQ8e is an 8-bit outlier-aware quantized release of inclusionAI/Ling-3.0-tiny, optimized specifically for Apple Silicon Macs (M1/M2/M3/M4) via MLX and oMLX.
⚡ 8B-class MoE reasoning at 1.3B active parameter speeds (~86–105+ tokens/s) in only ~8.4 GB RAM.
This quantized repository is built upon the breakthrough work of the Ant Ling Team at Ant Group (@inclusionAI).
All credit for the novel hybrid-linear MoE architecture, pre-training corpus, reasoning distillation, thinking mode alignment, and agentic capabilities belongs to the Ant Ling team:
Please show your support by starring and checking out the official base model at inclusionAI/Ling-3.0-tiny!
Ling-3.0-tiny is one of the most efficient open reasoning models ever created. It couples a hybrid linear-attention architecture (3:1 KDA-MLA) with a sparse 128-expert MoE FFN where only 8 routed experts + 1 shared expert activate per token (only 1.3B active parameters out of 7.9B total).
oqe_code_multilingual calibration set), preserving complex mathematical, coding, and multi-step reasoning abilities.<think> chain-of-thought exploration.mlx-lmInstall mlx-lm:
pip install --upgrade mlx-lm
Run immediate text generation:
python -m mlx_lm.generate \
--model UraionLabs/Ling-3.0-tiny-oQ8e \
--prompt "<role>HUMAN</role>Explain how quantum computing works in simple terms.<|role_end|><role>ASSISTANT</role>\n<think>" \
--max-tokens 1024 \
--temp 1.0 \
--top-p 0.95
mlx_lm)from mlx_lm import load, generate
# Load model and tokenizer directly from Hugging Face
model, tokenizer = load("UraionLabs/Ling-3.0-tiny-oQ8e")
# Format prompt with Ling's native chat template
prompt = (
"<role>SYSTEM</role>detailed thinking on<|role_end|>"
"<role>HUMAN</role>Write a Python script to calculate Fibonacci numbers using dynamic programming.<|role_end|>"
"<role>ASSISTANT</role>\n<think>"
)
# Generate with recommended sampling parameters
response = generate(
model=model,
tokenizer=tokenizer,
prompt=prompt,
max_tokens=1024,
temp=1.0,
top_p=0.95,
verbose=True
)
print(response)
omlx (High Performance Apple Silicon Server):omlx serve UraionLabs/Ling-3.0-tiny-oQ8e --port 8000
mlx-lm:python -m mlx_lm.server --model UraionLabs/Ling-3.0-tiny-oQ8e --port 8000
curl:curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "UraionLabs/Ling-3.0-tiny-oQ8e",
"messages": [
{"role": "user", "content": "What are 3 practical use cases for sparse MoE models?"}
],
"temperature": 1.0,
"top_p": 0.95
}'
openai client:from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="not-needed")
response = client.chat.completions.create(
model="UraionLabs/Ling-3.0-tiny-oQ8e",
messages=[
{"role": "system", "content": "detailed thinking on"},
{"role": "user", "content": "Compare KDA attention with traditional multi-head attention."}
],
temperature=1.0,
top_p=0.95,
)
print(response.choices[0].message.content)
Ling-3.0-tiny supports native hybrid reasoning. You can control thinking mode directly inside the system prompt:
<role>SYSTEM</role>detailed thinking on<|role_end|><role>HUMAN</role>{prompt}<|role_end|><role>ASSISTANT</role>
<think>
<role>SYSTEM</role>detailed thinking off<|role_end|><role>HUMAN</role>{prompt}<|role_end|><role>ASSISTANT</role>
<think></think>
1.00.9520Thanks to the ultra-efficient 1.3B active parameter footprint and 8-bit oQe quantization, Ling-3.0-tiny-oQ8e runs smoothly on virtually any Apple Silicon Mac:
| Apple Silicon Hardware | Unified Memory | Status | Estimated Speed |
|---|---|---|---|
| M1 / M2 / M3 / M4 (Base) | 16 GB | ✅ Recommended | 50 – 75 tok/s |
| M1 / M2 / M3 / M4 Pro | 18 GB / 24 GB / 36 GB / 48 GB | 🚀 Ideal Setup | 80 – 100 tok/s |
| M1 / M2 / M3 / M4 Max | 32 GB / 36 GB / 64 GB / 128 GB | ⚡ Blazing Fast | 95 – 120+ tok/s |
| M1 / M2 Ultra | 64 GB / 128 GB / 192 GB | 🏎️ Peak Performance | 100 – 130+ tok/s |
Requires macOS Sonoma or Sequoia with MLX installed.
| Property | Value |
|---|---|
| Original Architecture | BailingMoeV3ForCausalLM (Ling-3.0 Hybrid) |
| Upstream Base Model | inclusionAI/Ling-3.0-tiny |
| Original Authors | Ant Ling Team (Ant Group / inclusionAI) |
| Quantized By | Uraion Labs |
| Quantization Format | oQ8e (oMLX Importance-Matrix Calibrated 8-bit) |
| Quantization Mode | Affine (Group Size: 64, Bits: 8) |
| Calibration Dataset | oqe_code_multilingual (Metal hardware-accelerated) |
| Total Parameters | 7,893,392,800 (~7.9B) |
| Activated Parameters | 1,300,000,000 (~1.3B) |
| Total Experts | 128 routed experts + 1 shared expert (8 active per token) |
| Attention Mechanism | 3:1 KDA-MLA (3 Kimi Delta Attention + 1 Multi-Head Latent Attention) |
| Context Length | 131,072 tokens (up to 262,144 tokens with YaRN) |
| Storage / Disk Size | ~8.39 GB |
| Target Runtime | Apple Silicon macOS (mlx-lm, omlx, mlx) |
| License | MIT License |
Evaluated by the Ant Ling team and Artificial Analysis:
If you use this model in your research or applications, please cite both the original Ant Ling Team and the MLX quantization:
@misc{antling2025ling3tiny,
title={Ling-3.0-tiny: Efficient Hybrid-Linear Attention Mixture-of-Experts Architecture},
author={Ant Ling Team},
organization={Ant Group, inclusionAI},
year={2025},
url={https://huggingface.co/inclusionAI/Ling-3.0-tiny}
}
@misc{uraionlabs2025ling3tinyoq8e,
title={Ling-3.0-tiny-oQ8e: High-Performance 8-Bit MLX Quantization for Apple Silicon},
author={Uraion Labs},
year={2025},
url={https://huggingface.co/UraionLabs/Ling-3.0-tiny-oQ8e}
}