Ling-3.0-flash GGUF

GGUF quantized versions of inclusionAI/Ling-3.0-flash, a next-generation native hybrid reasoning model with 124B total parameters and 5.1B active parameters per token, supporting English and Chinese, with a 256K context window (extendable to 1M), tool-calling, and a built-in thinking/reasoning mode.

Model Overview

Ling-3.0-flash is a hybrid-linear MoE model built on a native hybrid linear attention architecture from the very start of pretraining, featuring 5:1 alternating stacking of Kimi Delta Attention (KDA) and Multi-Head Latent Attention (MLA), upgraded with KDA fine-grained diagonal gating and 1/64 sparse MoE. With 124B total parameters and 5.1B activated parameters per token, it achieves a synergistic leap in long-context efficiency and computational cost.

The model uses a Bailing V3-style conversation format with role-based delimiters (<role>SYSTEM</role>, <role>HUMAN</role>, <role>ASSISTANT</role>, <role>OBSERVATION</role>) separated by <|role_end|>. It supports special tokens for thinking/reasoning (controlled via detailed thinking on / detailed thinking off in the system prompt, with reasoning output between think/answer tokens) and tool calling (function blocks with parameter tags).

Model Architecture

Property Value
Architecture Hybrid-linear MoE
Total Parameters 124B
Activated Parameters 5.1B
Transformer Layers 35 KDA + 7 Gated MLA (5:1)
Dense Layers 2
Routed Experts 512
Shared Experts 1
Activated Experts 8
Attention Heads 32
Hidden Size 2560
Expert Intermediate Size 768
Dense Intermediate Size 6144
Vocabulary Size 157,184
Context Length 262,144 (256K)
Context Training Schedule 8K -> 32K -> 256K
Original Precision bfloat16
Supported Languages en, zh

Available GGUF Files

File Quantization Size Use Case
ling-3.0-flash-BF16.gguf BF16 238 GB Max precision, reference model
ling-3.0-flash-Q8_0.gguf Q8_0 127 GB Near-lossless, good speed/quality balance
ling-3.0-flash-Q6_K.gguf Q6_K 98 GB Very high quality, recommended for quality
ling-3.0-flash-Q5_K_M.gguf Q5_K_M 85 GB High quality, balanced
ling-3.0-flash-Q4_K_M.gguf Q4_K_M 72 GB Good quality, recommended default
ling-3.0-flash-Q4_K_S.gguf Q4_K_S 68 GB Smaller, acceptable quality
ling-3.0-flash-Q4_0.gguf Q4_0 68 GB Legacy quant, fastest inference

Recommended: Q4_K_M or Q5_K_M offer the best quality-to-size trade-off for most use cases.

Usage

llama.cpp CLI

./llama-cli \
  -m ling-3.0-flash-Q4_K_M.gguf \
  -p "Explain quantum computing in simple terms." \
  --temp 0.6 --top-p 0.95 --top-k 20

llama-server (OpenAI-compatible API)

./llama-server \
  -m ling-3.0-flash-Q4_K_M.gguf \
  --host 0.0.0.0 --port 8080

Thinking Mode

Thinking mode is enabled by default. The model outputs its reasoning between think and answer tokens before providing the final answer. To control thinking behavior, include detailed thinking on or detailed thinking off in the system prompt. When using an OpenAI-compatible API, you can also pass "chat_template_kwargs": {"enable_thinking": false} to disable thinking per request.

Tool Calling

The model supports function/tool calling. Tool definitions are injected into the system prompt within <tools></tools> XML tags, and the model responds with function blocks containing parameter elements. Tool results are returned via the observation role channel.

Generation Parameters

Recommended parameters from the original model:

Parameter Value
Temperature 0.6
Top-P 0.95
Top-K 20

Quantization

These GGUF files were created from the BF16 source model using llama-quantize from the llama.cpp project.

Acknowledgements

License

MIT License

Downloads last month
1,246
GGUF
Model size
127B params
Architecture
bailingmoe3
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for WhiskyAKM/Ling-3.0-flash-GGUF

Quantized
(40)
this model