Text Generation
GGUF
llama.cpp
quantized
Mixture of Experts
bailing-hybrid
reasoning
thinking
agentic
conversational
Instructions to use NANI-Nithin/Ling-3.0-tiny-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NANI-Nithin/Ling-3.0-tiny-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
Use Docker
docker model run hf.co/NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use NANI-Nithin/Ling-3.0-tiny-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NANI-Nithin/Ling-3.0-tiny-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NANI-Nithin/Ling-3.0-tiny-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
- Ollama
How to use NANI-Nithin/Ling-3.0-tiny-GGUF with Ollama:
ollama run hf.co/NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use NANI-Nithin/Ling-3.0-tiny-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use NANI-Nithin/Ling-3.0-tiny-GGUF with Docker Model Runner:
docker model run hf.co/NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
- Lemonade
How to use NANI-Nithin/Ling-3.0-tiny-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Ling-3.0-tiny-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use NANI-Nithin/Ling-3.0-tiny-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use NANI-Nithin/Ling-3.0-tiny-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,84 +1,199 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
base_model: inclusionAI/Ling-3.0-tiny
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
tags:
|
| 6 |
-
- gguf
|
| 7 |
-
- llama.cpp
|
| 8 |
-
- quantized
|
| 9 |
-
- imatrix
|
| 10 |
---
|
| 11 |
|
| 12 |
-
# Ling-3.0-tiny GGUF
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
| 38 |
-
|
|
| 39 |
-
|
|
| 40 |
-
|
|
| 41 |
-
|
|
| 42 |
-
|
|
| 43 |
-
|
|
| 44 |
-
|
|
| 45 |
-
|
|
| 46 |
-
|
|
| 47 |
-
|
|
| 48 |
-
|
|
| 49 |
-
|
|
| 50 |
-
|
|
| 51 |
-
|
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
-
|
| 65 |
-
-
|
| 66 |
-
|
| 67 |
-
-
|
| 68 |
-
|
| 69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
```bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
llama-cli -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M -p "Hello"
|
| 73 |
```
|
| 74 |
|
| 75 |
-
|
| 76 |
|
| 77 |
```bash
|
| 78 |
-
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
```
|
| 81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
---
|
| 83 |
|
| 84 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Ling-3.0-tiny-GGUF
|
| 3 |
+
library_name: llama.cpp
|
| 4 |
+
model_type: quantized
|
| 5 |
base_model: inclusionAI/Ling-3.0-tiny
|
| 6 |
+
datasets: []
|
| 7 |
+
tags: [gguf, quantized, text-generation, moe, bailing-hybrid, reasoning, thinking, agentic, llama.cpp]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# Ling-3.0-tiny GGUF (llama.cpp)
|
| 11 |
+
|
| 12 |
+
[](https://github.com/ggerganov/llama.cpp)
|
| 13 |
+
[](https://github.com/ggerganov/llama.cpp)
|
| 14 |
+
[](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF)
|
| 15 |
+
|
| 16 |
+
Quantized GGUF files for **Ling-3.0-tiny**, IBM's lightweight hybrid reasoning MoE model optimized for deployment with [llama.cpp](https://github.com/ggerganov/llama.cpp). This model delivers strong reasoning and agentic capabilities at low inference cost through an efficient hybrid architecture combining KDA and MLA attention with a sparse MoE FFN.
|
| 17 |
+
|
| 18 |
+
## Model Overview
|
| 19 |
+
|
| 20 |
+
**Ling-3.0-tiny** is a 7.9B parameter model with only 1.3B activated parameters per token, designed for efficient local and edge deployment. It features:
|
| 21 |
+
|
| 22 |
+
- **Efficient Hybrid-Linear Architecture:** 3:1 alternating stacking of KDA and MLA (3 KDA layers followed by 1 MLA layer per 4-layer block) with a sparse MoE FFN comprising 128 routed experts
|
| 23 |
+
- **Native Hybrid Reasoning and Agentic Capabilities:** Supports both fast responses and multi-step reasoning through configurable thinking mode
|
| 24 |
+
- **Local and Edge Deployment:** Validated on NVIDIA DGX Spark, Apple Silicon MacBook, and Mac mini for capable reasoning without datacenter-class GPUs
|
| 25 |
+
|
| 26 |
+
### Key Capabilities
|
| 27 |
+
- **Parameter-Efficient MoE:** Only 1.3B of 7.9B parameters activated per token for balanced performance and efficiency
|
| 28 |
+
- **Hybrid Attention:** Combines KDA (Kimi Delta Attention) and MLA (Multi-Head Latent Attention) for efficient long-context processing
|
| 29 |
+
- **Fast Inference:** Reaches ~100-105 tokens/s on DGX Spark and 86-90 tokens/s on M4 Pro MacBook with FP8
|
| 30 |
+
- **Memory Efficient:** ~8.34 GB peak memory usage at 8K context length
|
| 31 |
+
- **Thinking Mode:** Native chain-of-thought reasoning with per-request configurability
|
| 32 |
+
|
| 33 |
+
## Available Quantizations
|
| 34 |
+
|
| 35 |
+
| File | Size | Quality | Recommended Use |
|
| 36 |
+
|------|------|---------|-----------------|
|
| 37 |
+
| **Ling-3.0-tiny-BF16.gguf** | 14.72 GB | Full precision source. Every quant below is cut from this file. | Original model, maximum quality |
|
| 38 |
+
| **Ling-3.0-tiny-F16.gguf** | 14.72 GB | Full precision source. | Alternative full precision |
|
| 39 |
+
| **Ling-3.0-tiny-Q8_0.gguf** | 7.83 GB | Effectively lossless. Use when disk and RAM are not the constraint. | Highest quality, less compression |
|
| 40 |
+
| **Ling-3.0-tiny-Q6_K.gguf** | 6.05 GB | Near-lossless; the last stop before quality becomes measurable. | Balanced quality/size |
|
| 41 |
+
| **Ling-3.0-tiny-Q5_K_M.gguf** | 5.25 GB | Very good quality, noticeably smaller than Q6_K. | Good trade-off |
|
| 42 |
+
| **Ling-3.0-tiny-Q5_K_S.gguf** | 5.11 GB | Slightly smaller than Q5_K_M for a slight quality cost. | Smaller footprint |
|
| 43 |
+
| **Ling-3.0-tiny-Q5_1.gguf** | 5.55 GB | Legacy. Prefer Q5_K_M. | Historical compatibility |
|
| 44 |
+
| **Ling-3.0-tiny-Q5_0.gguf** | 5.11 GB | Legacy. Prefer Q5_K_M. | Historical compatibility |
|
| 45 |
+
| **Ling-3.0-tiny-Q4_K_M.gguf** | 4.49 GB | The usual default. Best quality-per-byte for most people. | Default choice |
|
| 46 |
+
| **Ling-3.0-tiny-Q4_K_S.gguf** | 4.24 GB | A little smaller than Q4_K_M, a little worse. | Smaller footprint |
|
| 47 |
+
| **Ling-3.0-tiny-IQ4_NL.gguf** | 4.22 GB | Non-linear 4-bit; good on hardware without fast K-quant kernels. | Specialized hardware |
|
| 48 |
+
| **Ling-3.0-tiny-IQ4_XS.gguf** | 3.99 GB | Best sub-4.5bpw option; usually beats Q4_K_S at a smaller size. | Size-critical |
|
| 49 |
+
| **Ling-3.0-tiny-Q4_1.gguf** | 4.66 GB | Legacy. Prefer Q4_K_M. | Historical compatibility |
|
| 50 |
+
| **Ling-3.0-tiny-Q4_0.gguf** | 4.22 GB | Legacy round-to-nearest. Prefer Q4_K_M unless a runtime needs this. | Historical compatibility |
|
| 51 |
+
| **Ling-3.0-tiny-MXFP4_MOE.gguf** | 4.39 GB | MoE-only 4-bit microscaling format for the expert tensors. | Specialized MoE deployment |
|
| 52 |
+
| **Ling-3.0-tiny-Q3_K_L.gguf** | 3.86 GB | Small, with real quality loss. Usable when RAM is tight. | Tight RAM constraints |
|
| 53 |
+
| **Ling-3.0-tiny-Q3_K_M.gguf** | 3.58 GB | Smaller again; noticeable degradation. | Memory-constrained |
|
| 54 |
+
| **Ling-3.0-tiny-IQ3_M.gguf** | 3.31 GB | Strong at ~3.7bpw, clearly better than Q3_K_M. | Quality-conscious sizing |
|
| 55 |
+
| **Ling-3.0-tiny-IQ3_S.gguf** | 3.27 GB | Slightly smaller than IQ3_M. | Compact version |
|
| 56 |
+
| **Ling-3.0-tiny-Q3_K_S.gguf** | 3.27 GB | Aggressive. Prefer IQ3_M at a similar size. | Maximum compression |
|
| 57 |
+
| **Ling-3.0-tiny-IQ3_XS.gguf** | 3.11 GB | Aggressive but coherent. | Extreme compression |
|
| 58 |
+
| **Ling-3.0-tiny-IQ3_XXS.gguf** | 2.91 GB | Very aggressive; the last coherent step down. | Extreme compression |
|
| 59 |
+
| **Ling-3.0-tiny-Q2_K.gguf** | 2.78 GB | Very small, heavily degraded. For experimentation. | Experimental only |
|
| 60 |
+
| **Ling-3.0-tiny-IQ2_M.gguf** | 2.52 GB | The smallest size most people find usable. | Memory-constrained |
|
| 61 |
+
| **Ling-3.0-tiny-Q2_K_S.gguf** | 2.59 GB | Smaller than Q2_K, at a further quality cost. | Even smaller |
|
| 62 |
+
| **Ling-3.0-tiny-IQ2_S.gguf** | 2.31 GB | Below the usual usability line. | Extreme compression |
|
| 63 |
+
| **Ling-3.0-tiny-IQ2_XS.gguf** | 2.27 GB | Experimental. | Experimental only |
|
| 64 |
+
| **Ling-3.0-tiny-IQ2_XXS.gguf** | 2.06 GB | Experimental. | Experimental only |
|
| 65 |
+
| **Ling-3.0-tiny-Q2_0.gguf** | 2.28 GB | Extreme, group-64. Included for completeness. | Historical compatibility |
|
| 66 |
+
| **Ling-3.0-tiny-IQ1_M.gguf** | 1.80 GB | Extreme. Expect substantial degradation. | Maximum compression |
|
| 67 |
+
| **Ling-3.0-tiny-IQ1_S.gguf** | 1.64 GB | Extreme. Expect substantial degradation. | Maximum compression |
|
| 68 |
+
| **Ling-3.0-tiny-Q1_0.gguf** | 1.21 GB | Extreme. Included for completeness. | Historical compatibility |
|
| 69 |
+
|
| 70 |
+
*All files are cut from the BF16 source (14.72 GB). Each quant is independently uploaded and deleted immediately after successful upload to minimize peak disk usage.*
|
| 71 |
+
|
| 72 |
+
## Model Architecture
|
| 73 |
+
|
| 74 |
+
Ling-3.0-tiny features a unique hybrid architecture combining KDA/MLA attention with a sparse MoE FFN:
|
| 75 |
+
|
| 76 |
+
### Attention Mechanism
|
| 77 |
+
- **KDA (Kimi Delta Attention):** 3 layers per 4-layer block
|
| 78 |
+
- **MLA (Multi-Head Latent Attention):** 1 layer per 4-layer block
|
| 79 |
+
- **Hybrid Stacking:** 3:1 ratio for efficient long-context processing
|
| 80 |
+
|
| 81 |
+
### Feed-Forward Network
|
| 82 |
+
- **MoE (MultiplE Experts):** 128 total experts
|
| 83 |
+
- **Routed Experts:** 8 activated per token
|
| 84 |
+
- **Shared Expert:** 1 additional expert
|
| 85 |
+
- **Activation Efficiency:** Only 1.3B of 7.9B parameters activated per token
|
| 86 |
+
|
| 87 |
+
### Core Components
|
| 88 |
+
- **Layers:** 24 total
|
| 89 |
+
- **Hidden Size:** 1536
|
| 90 |
+
- **Vocab Size:** 157184
|
| 91 |
+
- **Position Embedding:** Rotary Position Embedding (RoPE)
|
| 92 |
+
- **Precision:** bfloat16 (source)
|
| 93 |
+
|
| 94 |
+
## Inference
|
| 95 |
+
|
| 96 |
+
### Generation Parameters
|
| 97 |
+
|
| 98 |
+
> **Important:** Use `temperature=1.0` and `top_p=0.95` across **all tasks and serving backends**, including general chat, reasoning, and tool calling.
|
| 99 |
+
|
| 100 |
+
| Parameter | Value | Notes |
|
| 101 |
+
|:----------|:------|:------|
|
| 102 |
+
| `temperature` | `1.0` | Required for all modes |
|
| 103 |
+
| `top_p` | `0.95` | Nucleus sampling threshold |
|
| 104 |
+
| `top_k` | `20` | Recommended for stable generation |
|
| 105 |
+
| `max_new_tokens` | `8192` | Thinking mode (increase for complex reasoning) |
|
| 106 |
+
| `max_new_tokens` | `2048` | Non-thinking mode |
|
| 107 |
+
| `do_sample` | `True` | Required when temperature > 0 |
|
| 108 |
+
|
| 109 |
+
### Thinking Modes
|
| 110 |
+
|
| 111 |
+
| Mode | Template Parameters | Behavior |
|
| 112 |
+
|:-----|:-------------------|:---------|
|
| 113 |
+
| **Thinking** (default) | `enable_thinking=True` | Full chain-of-thought reasoning inside `<think>...</think>` |
|
| 114 |
+
| **Non-thinking** | `enable_thinking=False` | Direct answer with no reasoning overhead |
|
| 115 |
+
| **Low-effort** | `enable_thinking=True, low_effort=True` | Brief reasoning for simpler queries |
|
| 116 |
+
|
| 117 |
+
## Serving with llama.cpp
|
| 118 |
+
|
| 119 |
+
### Basic Usage
|
| 120 |
|
| 121 |
```bash
|
| 122 |
+
# Download a quantization (recommended: Q4_K_M)
|
| 123 |
+
huggingface-cli download NANI-Nithin/Ling-3.0-tiny-GGUF Ling-3.0-tiny-Q4_K_M.gguf --local-dir .
|
| 124 |
+
|
| 125 |
+
# Run inference
|
| 126 |
+
llama-cli -m Ling-3.0-tiny-Q4_K_M.gguf -p "Hello, how are you?"
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
+
Or use the Hugging Face Hub integration:
|
| 130 |
+
|
| 131 |
+
```bash
|
| 132 |
+
# Serve with llama-server
|
| 133 |
+
llama-server -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M
|
| 134 |
+
|
| 135 |
+
# Run with model path
|
| 136 |
llama-cli -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M -p "Hello"
|
| 137 |
```
|
| 138 |
|
| 139 |
+
### API Usage
|
| 140 |
|
| 141 |
```bash
|
| 142 |
+
# Start the server
|
| 143 |
+
curl -s http://localhost:8080/v1/chat/completions \
|
| 144 |
+
-H "Content-Type: application/json" \
|
| 145 |
+
-d '{
|
| 146 |
+
"model": "granite-4.2-3b-Q4_K_M",
|
| 147 |
+
"messages": [{"role": "user", "content": "Explain quantum computing in simple terms"}],
|
| 148 |
+
"temperature": 1.0,
|
| 149 |
+
"top_p": 0.95,
|
| 150 |
+
"max_tokens": 8192
|
| 151 |
+
}'
|
| 152 |
+
```
|
| 153 |
+
|
| 154 |
+
## Quick Start Example
|
| 155 |
+
|
| 156 |
+
```bash
|
| 157 |
+
# Download the model
|
| 158 |
+
huggingface-cli download NANI-Nithin/Ling-3.0-tiny-GGUF Ling-3.0-tiny-Q4_K_M.gguf
|
| 159 |
+
|
| 160 |
+
# Run inference
|
| 161 |
+
./llama-cli -m Ling-3.0-tiny-Q4_K_M.gguf -p "What is the Riemann hypothesis?"
|
| 162 |
```
|
| 163 |
|
| 164 |
+
## Technical Details
|
| 165 |
+
|
| 166 |
+
- **Source Model:** inclusionAI/Ling-3.0-tiny
|
| 167 |
+
- **Author:** inclusionAI
|
| 168 |
+
- **License:** MIT
|
| 169 |
+
- **Architecture:** BailingMoeV3ForCausalLM (hybrid KDA/MLA + sparse MoE)
|
| 170 |
+
- **Parameters:** 7.9B total, 1.3B activated per token
|
| 171 |
+
- **Experts:** 128 total (8 routed + 1 shared per token)
|
| 172 |
+
- **Context Length:** 131K tokens (natively supports 128K)
|
| 173 |
+
- **Created:** August 10, 2026
|
| 174 |
+
- **Languages:** Multiple languages supported
|
| 175 |
+
|
| 176 |
+
## Usage Notes
|
| 177 |
+
|
| 178 |
+
1. **Disk Space:** Download one quantization at a time. Each file ranges from 1.21 GB (Q1_0) to 14.72 GB (BF16 source).
|
| 179 |
+
2. **Memory Requirements:** Varies by quantization. Q4_K_M requires ~4 GB VRAM, Q8_0 requires ~8 GB VRAM.
|
| 180 |
+
3. **MoE Optimization:** The sparse MoE architecture provides efficient inference while maintaining broad capabilities.
|
| 181 |
+
4. **Thinking Mode:** Enable `enable_thinking=True` to get chain-of-thought reasoning. Set to `False` for faster, direct answers.
|
| 182 |
+
|
| 183 |
+
## Performance Characteristics
|
| 184 |
+
|
| 185 |
+
Ling-3.0-tiny achieves impressive efficiency:
|
| 186 |
+
- **FP8 Performance:** ~100-105 tokens/s on DGX Spark, 86-90 tokens/s on M4 Pro MacBook
|
| 187 |
+
- **Memory Usage:** ~8.34 GB peak at 8K context length
|
| 188 |
+
- **Agentic Performance:** Score of 25 on Artificial Analysis Intelligence Index v4.1.1
|
| 189 |
+
- **End-to-End Latency:** ~18 seconds for 500-token response including reasoning
|
| 190 |
+
|
| 191 |
+
## Model Card Information
|
| 192 |
+
|
| 193 |
+
This GGUF repo contains quantized versions of [Ling-3.0-tiny](https://huggingface.co/inclusionAI/Ling-3.0-tiny), featuring a unique hybrid architecture combining KDA/MLA attention with sparse MoE for efficient reasoning and agentic capabilities. The quantization was performed using llama.cpp's quantization pipeline, preserving the model's MoE efficiency while reducing size for deployment.
|
| 194 |
+
|
| 195 |
+
For the full source model documentation, including detailed training methodology, evaluation benchmarks, and advanced deployment recipes (SGLang, vLLM, Ollama), refer to the source repo: [inclusionAI/Ling-3.0-tiny](https://huggingface.co/inclusionAI/Ling-3.0-tiny).
|
| 196 |
+
|
| 197 |
---
|
| 198 |
|
| 199 |
+
**Note:** These files are optimized for llama.cpp and are not compatible with vLLM, SGLang, or the Transformers library in their current format. For those frameworks, use the source model `inclusionAI/Ling-3.0-tiny`.
|