NANI-Nithin commited on
Commit
4b5a1b1
·
verified ·
1 Parent(s): 4b91c6e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +66 -116
README.md CHANGED
@@ -1,134 +1,84 @@
1
  ---
2
- language:
3
- - en
4
- license: apache-2.0
5
  base_model: inclusionAI/Ling-3.0-tiny
6
- tags:
7
- - gguf
8
- - llama.cpp
9
- - quantized
10
- - moe
11
- - bailingmoev3
12
- - hybrid-model
13
- - local-llm
14
- - text-generation
15
  pipeline_tag: text-generation
 
 
 
 
 
16
  ---
17
 
18
- # Ling-3.0-tiny-GGUF
19
-
20
- GGUF quantizations of [inclusionAI/Ling-3.0-tiny](https://huggingface.co/inclusionAI/Ling-3.0-tiny), converted for use with compatible `llama.cpp`-based runtimes.
21
-
22
- This repository includes a complete selection of standard K-quants and importance-matrix (IQ) quantizations, so you can choose the best balance of model size, speed, and output quality for your hardware.
23
-
24
- > **Runtime compatibility:** Ling-3.0-tiny uses the BailingMoeV3 / hybrid architecture. Use a runtime with explicit support for this architecture. Generic or older `llama.cpp` builds may not load these files correctly.
25
-
26
- ## Available files
27
 
28
- | Quantization | Best for |
29
- |---|---|
30
- | `F16` | Highest-fidelity baseline; re-quantization and high-memory systems |
31
- | `Q8_0` | Near-F16 quality with substantially lower memory use |
32
- | `Q6_K` | High-quality local inference |
33
- | `Q5_K_M` | Strong quality-to-size balance |
34
- | `Q5_K_S` | Slightly smaller alternative to Q5_K_M |
35
- | `Q5_0` | Legacy-style 5-bit option |
36
- | `Q4_K_M` | Recommended default for most users |
37
- | `Q4_K_S` | Smaller Q4 K-quant alternative |
38
- | `Q4_0` | Compact legacy-style 4-bit option |
39
- | `IQ4_NL` | High-quality importance-matrix 4-bit option |
40
- | `IQ4_XS` | Compact importance-matrix 4-bit option |
41
- | `Q3_K_L` | Higher-quality 3-bit K-quant |
42
- | `Q3_K_M` | Balanced 3-bit K-quant |
43
- | `Q3_K_S` | Smaller 3-bit K-quant |
44
- | `IQ3_M` | Strong quality-per-GB option for constrained systems |
45
- | `IQ3_S` | Smaller 3-bit IQ option |
46
- | `IQ3_XS` | Very compact IQ 3-bit option |
47
- | `IQ3_XXS` | Extremely compact IQ 3-bit option |
48
- | `Q2_K` | Low-memory K-quant option |
49
- | `IQ2_M` | Compact IQ quant with better quality potential than very-low-bit options |
50
- | `IQ2_S` | Low-memory IQ option |
51
- | `IQ2_XS` | Very small IQ option |
52
- | `IQ2_XXS` | Extremely small IQ option |
53
- | `IQ1_M` | Experimental ultra-low-memory option |
54
- | `IQ1_S` | Smallest experimental option |
55
 
56
- ## Recommended downloads
57
-
58
- | Your priority | Recommended file |
59
- |---|---|
60
- | Best quality | `Ling-3.0-tiny-F16.gguf` |
61
- | Near-original quality | `Ling-3.0-tiny-Q8_0.gguf` |
62
- | High quality with lower memory use | `Ling-3.0-tiny-Q6_K.gguf` |
63
- | Best general-purpose choice | `Ling-3.0-tiny-Q4_K_M.gguf` |
64
- | Small but capable | `Ling-3.0-tiny-IQ3_M.gguf` |
65
- | Tight VRAM / RAM budget | `Ling-3.0-tiny-IQ2_M.gguf` |
66
- | Experimental minimum size | `Ling-3.0-tiny-IQ1_S.gguf` |
67
 
68
- For most users, start with **Q4_K_M**. If you have more RAM or VRAM, try **Q5_K_M**, **Q6_K**, or **Q8_0**. IQ quants can offer attractive quality-to-size trade-offs, but results and compatibility may vary by runtime and hardware.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
70
  ## Usage
71
 
72
- Download one `.gguf` file, then run it with a compatible build of `llama.cpp`.
73
-
74
  ```bash
75
- llama-cli \
76
- -m Ling-3.0-tiny-Q4_K_M.gguf \
77
- -ngl 99 \
78
- -c 4096 \
79
- -p "Write a concise explanation of retrieval-augmented generation."
80
  ```
81
 
82
- `-ngl 99` attempts to offload all supported layers to the GPU. Remove it or set `-ngl 0` for CPU-only inference.
83
-
84
- ## Important notes
85
-
86
- - These files are quantized derivatives of the original model; output quality changes depending on the chosen quantization.
87
- - Very low-bit quants, especially IQ1 and IQ2 variants, are intended for memory-constrained or experimental use and may noticeably reduce output quality.
88
- - Use the original model’s license, terms, and usage requirements.
89
- - Validate the selected quantization on your own workload before production use.
90
-
91
- ## Conversion details
92
 
93
- - Base model: [`inclusionAI/Ling-3.0-tiny`](https://huggingface.co/inclusionAI/Ling-3.0-tiny)
94
- - Format: GGUF
95
- - Conversion/runtime branch: BailingMoeV3-compatible `llama.cpp` fork
96
- - Standard K-quants: generated from the F16 GGUF
97
- - IQ quants: generated using an importance matrix calibrated on a text corpus
98
-
99
- ## Credits
100
-
101
- - Original model by [inclusionAI](https://huggingface.co/inclusionAI)
102
- - GGUF conversion and quantization by [NANI-Nithin](https://huggingface.co/NANI-Nithin)
103
- - GGUF tooling by the [llama.cpp](https://github.com/ggml-org/llama.cpp) community
104
-
105
- ## Disclaimer
106
-
107
- This is a community GGUF conversion and is not an official release by inclusionAI. Please report conversion, loading, or compatibility issues in this repository’s Discussions section.
108
-
109
- ## Reproducibility
110
-
111
- This repository was generated with a BailingMoeV3-enabled llama.cpp fork.
112
- The exact source checkout checkpoint is recorded below:
113
-
114
- ```json
115
- {
116
- "stage": "01_checkout_bailing_llama",
117
- "status": "complete",
118
- "timestamp_utc": "2026-08-11T10:36:13.114546+00:00",
119
- "model": "inclusionAI/Ling-3.0-tiny",
120
- "llama_repo": "https://github.com/aetherbird/llama.cpp.git",
121
- "llama_branch": "bailingmoe3-support",
122
- "repo_dir": "/mnt/ling/src/llama.cpp",
123
- "commit": "3a0124fa8c20356ed5e6bf0c0ebae1566d6f49c1"
124
- }
125
  ```
126
 
127
- ## Files
128
-
129
- - `F16`: Conversion baseline.
130
- - `Q4_K_M`: General local-inference default.
131
- - `Q5_K_M`, `Q6_K`, `Q8_0`: Higher-fidelity variants.
132
- - `IQ*`: Importance-matrix variants, generated only when supported by the pinned quantizer.
133
 
134
- Use a Ling/BailingMoeV3-compatible runtime to load these files.
 
1
  ---
 
 
 
2
  base_model: inclusionAI/Ling-3.0-tiny
3
+ library_name: gguf
 
 
 
 
 
 
 
 
4
  pipeline_tag: text-generation
5
+ tags:
6
+ - gguf
7
+ - llama.cpp
8
+ - quantized
9
+ - imatrix
10
  ---
11
 
12
+ # Ling-3.0-tiny GGUF
 
 
 
 
 
 
 
 
13
 
14
+ GGUF quantizations of [inclusionAI/Ling-3.0-tiny](https://huggingface.co/inclusionAI/Ling-3.0-tiny), covering 32 files (139.3 GB total).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
+ ## Files
 
 
 
 
 
 
 
 
 
 
17
 
18
+ | File | Quant | Size | Notes |
19
+ |---|---|---:|---|
20
+ | [Ling-3.0-tiny-BF16.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-BF16.gguf) | `BF16` | 14.72 GB | Full precision source. Every quant below is cut from this file. |
21
+ | [Ling-3.0-tiny-F16.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-F16.gguf) | `F16` | 14.72 GB | Full precision source. |
22
+ | [Ling-3.0-tiny-Q8_0.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q8_0.gguf) | `Q8_0` | 7.83 GB | Effectively lossless. Use when disk and RAM are not the constraint. |
23
+ | [Ling-3.0-tiny-Q6_K.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q6_K.gguf) | `Q6_K` | 6.05 GB | Near-lossless; the last stop before quality becomes measurable. |
24
+ | [Ling-3.0-tiny-Q5_K_M.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q5_K_M.gguf) | `Q5_K_M` | 5.25 GB | Very good quality, noticeably smaller than Q6_K. |
25
+ | [Ling-3.0-tiny-Q5_K_S.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q5_K_S.gguf) | `Q5_K_S` | 5.11 GB | Slightly smaller than Q5_K_M for a slight quality cost. |
26
+ | [Ling-3.0-tiny-Q5_1.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q5_1.gguf) | `Q5_1` | 5.55 GB | Legacy. Prefer Q5_K_M. |
27
+ | [Ling-3.0-tiny-Q5_0.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q5_0.gguf) | `Q5_0` | 5.11 GB | Legacy. Prefer Q5_K_M. |
28
+ | [Ling-3.0-tiny-Q4_K_M.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_K_M.gguf) | `Q4_K_M` | 4.49 GB | The usual default. Best quality-per-byte for most people. |
29
+ | [Ling-3.0-tiny-Q4_K_S.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_K_S.gguf) | `Q4_K_S` | 4.24 GB | A little smaller than Q4_K_M, a little worse. |
30
+ | [Ling-3.0-tiny-IQ4_NL.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ4_NL.gguf) | `IQ4_NL` | 4.22 GB | Non-linear 4-bit; good on hardware without fast K-quant kernels. |
31
+ | [Ling-3.0-tiny-IQ4_XS.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ4_XS.gguf) | `IQ4_XS` | 3.99 GB | Best sub-4.5bpw option; usually beats Q4_K_S at a smaller size. |
32
+ | [Ling-3.0-tiny-Q4_1.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_1.gguf) | `Q4_1` | 4.66 GB | Legacy. Prefer Q4_K_M. |
33
+ | [Ling-3.0-tiny-Q4_0.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_0.gguf) | `Q4_0` | 4.22 GB | Legacy round-to-nearest. Prefer Q4_K_M unless a runtime needs this. |
34
+ | [Ling-3.0-tiny-MXFP4_MOE.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-MXFP4_MOE.gguf) | `MXFP4_MOE` | 4.39 GB | MoE-only 4-bit microscaling format for the expert tensors. |
35
+ | [Ling-3.0-tiny-Q3_K_L.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q3_K_L.gguf) | `Q3_K_L` | 3.86 GB | Small, with real quality loss. Usable when RAM is tight. |
36
+ | [Ling-3.0-tiny-Q3_K_M.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q3_K_M.gguf) | `Q3_K_M` | 3.58 GB | Smaller again; noticeable degradation. |
37
+ | [Ling-3.0-tiny-IQ3_M.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ3_M.gguf) | `IQ3_M` | 3.31 GB | Strong at ~3.7bpw, clearly better than Q3_K_M. |
38
+ | [Ling-3.0-tiny-IQ3_S.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ3_S.gguf) | `IQ3_S` | 3.27 GB | Slightly smaller than IQ3_M. |
39
+ | [Ling-3.0-tiny-Q3_K_S.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q3_K_S.gguf) | `Q3_K_S` | 3.27 GB | Aggressive. Prefer IQ3_M at a similar size. |
40
+ | [Ling-3.0-tiny-IQ3_XS.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ3_XS.gguf) | `IQ3_XS` | 3.11 GB | Aggressive but coherent. |
41
+ | [Ling-3.0-tiny-IQ3_XXS.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ3_XXS.gguf) | `IQ3_XXS` | 2.91 GB | Very aggressive; imatrix carries it. |
42
+ | [Ling-3.0-tiny-Q2_K.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q2_K.gguf) | `Q2_K` | 2.78 GB | Very small, heavily degraded. For experimentation. |
43
+ | [Ling-3.0-tiny-IQ2_M.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ2_M.gguf) | `IQ2_M` | 2.52 GB | The smallest size most people find usable. |
44
+ | [Ling-3.0-tiny-Q2_K_S.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q2_K_S.gguf) | `Q2_K_S` | 2.59 GB | Smaller than Q2_K, requires the imatrix. |
45
+ | [Ling-3.0-tiny-IQ2_S.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ2_S.gguf) | `IQ2_S` | 2.31 GB | Below the usual usability line. |
46
+ | [Ling-3.0-tiny-IQ2_XS.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ2_XS.gguf) | `IQ2_XS` | 2.27 GB | Experimental. |
47
+ | [Ling-3.0-tiny-IQ2_XXS.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ2_XXS.gguf) | `IQ2_XXS` | 2.06 GB | Experimental. |
48
+ | [Ling-3.0-tiny-Q2_0.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q2_0.gguf) | `Q2_0` | 2.28 GB | Extreme, group-64. Included for completeness. |
49
+ | [Ling-3.0-tiny-IQ1_M.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ1_M.gguf) | `IQ1_M` | 1.80 GB | Extreme. Expect substantial degradation. |
50
+ | [Ling-3.0-tiny-IQ1_S.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ1_S.gguf) | `IQ1_S` | 1.64 GB | Extreme. Expect substantial degradation. |
51
+ | [Ling-3.0-tiny-Q1_0.gguf](https://huggingface.co/NANI-Nithin/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q1_0.gguf) | `Q1_0` | 1.21 GB | Extreme. Included for completeness. |
52
+
53
+ ## Which one should I download?
54
+
55
+ Pick the largest file that leaves a couple of gigabytes of headroom on the device you will run it on — the model has to fit in RAM (or VRAM, if you are offloading) alongside the KV cache and the OS.
56
+
57
+ - Plenty of memory: **Q6_K** or **Q8_0**.
58
+ - The usual choice: **Q4_K_M**.
59
+ - Tight on memory: **IQ4_XS**, then **IQ3_M**, then **IQ2_M**.
60
+ - The `IQ*` files are imatrix-guided and generally beat a `Q*` file of similar size, at the cost of slightly slower inference on some hardware.
61
+
62
+ ## Quantization details
63
+
64
+ - Importance matrix computed with `llama-imatrix` over 500 rows of [Salesforce/wikitext](https://huggingface.co/datasets/Salesforce/wikitext) (`wikitext-2-raw-v1`).
65
+ - The matrix was computed on the **BF16** weights.
66
+ - K-quants below 6 bit and the whole `IQ` set are imatrix-guided. `Q4_0`/`Q4_1`/`Q5_0`/`Q5_1` are legacy round-to-nearest and ignore it; `Q6_K`/`Q8_0` are near-lossless and do not need it.
67
+ - All files are cut from the same BF16 GGUF, so differences between them are quantization only.
68
 
69
  ## Usage
70
 
 
 
71
  ```bash
72
+ llama-cli -hf NANI-Nithin/Ling-3.0-tiny-GGUF:Q4_K_M -p "Hello"
 
 
 
 
73
  ```
74
 
75
+ Or download one file and point at it directly:
 
 
 
 
 
 
 
 
 
76
 
77
+ ```bash
78
+ huggingface-cli download NANI-Nithin/Ling-3.0-tiny-GGUF Ling-3.0-tiny-Q4_K_M.gguf --local-dir .
79
+ llama-cli -m Ling-3.0-tiny-Q4_K_M.gguf -p "Hello"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  ```
81
 
82
+ ---
 
 
 
 
 
83
 
84
+ Quantized with [llama.cpp](https://github.com/ggml-org/llama.cpp) by AgentQuantix on 2026-09-05. Licensing follows the base model.