Made in Germany: Kolibri-1 is the open 78B model of the German company Aleph Alpha, a mixture-of-experts model (3.5B active parameters, 384 routed experts plus one shared expert per layer) for German and English, with a thinking mode and tool calling. This repository holds the same files as Sakura-MicroQuality-Kolibri-1-GGUF with the 19 least used routed experts of every layer removed (365 of 384), about 4.5 % smaller. This repository holds three GGUF files of different size made from the Q8_0 GGUF of the original model (near-lossless; all quality numbers use it as the reference) with our measured mixed-codec method. Pick one on the Files page; the table below says what each file is. Independent community quantization, not an official Aleph Alpha release. Part of the Sakura Micro line.
Smaller than the standard quant of the same class, and much closer to the original. Every file here is measured against the standard llama.cpp quant of its size class (same importance matrix, same texts, same machine) and only files that beat it are published. Measured as KL divergence to the Q8_0 source on 4 held-out texts (en, dev, wiki, de); lower is better.
| File | Size | Standard quant of its class | KL divergence of this file | Better on |
|---|---|---|---|---|
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf |
19.99 GiB | IQ2_XS (21.41 GiB) | 58 % lower | 4 of 4 texts |
Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf |
27.45 GiB | IQ3_XXS (28.12 GiB) | 50 % lower | 4 of 4 texts |
Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf |
36.31 GiB | IQ4_XS (38.91 GiB) | 39 % lower | 4 of 4 texts |
Needs a patched llama.cpp for now. The
kolibri1architecture is not in mainline llama.cpp yet (feature request #29922). Apply the patch of Hob-forge/Kolibri-1-GGUF to llama.cpp commit836d571, the same as for the other community GGUF files of this model. This card will be updated when upstream support lands.
Same method, same texts, same machine for every file; lower KL divergence means closer to the near-lossless Q8_0 reference:
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf vs llama.cpp default IQ2_XS (21.41 GiB): KL divergence to the near-lossless Q8_0 reference 58 % lower on average over all 4 texts (1.41 GiB smaller).Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf vs llama.cpp default IQ3_XXS (28.12 GiB): KL divergence to the near-lossless Q8_0 reference 50 % lower on average over all 4 texts (0.67 GiB smaller).Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf vs llama.cpp default IQ4_XS (38.91 GiB): KL divergence to the near-lossless Q8_0 reference 39 % lower on average over all 4 texts (2.60 GiB smaller).Why: the bit budget per tensor is allocated from measured sensitivity (see How it was made), not from fixed rules. Full table below.
| File | For |
|---|---|
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf (19.99 GiB, 2.31 bpw) |
smallest: for tight memory budgets; expect visible quality loss |
Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf (27.44 GiB, 3.17 bpw) |
middle: best balance of size and quality for most machines |
Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf (36.30 GiB, 4.19 bpw) |
largest: closest to the Q8_0 reference of the three |
| File | Size | bits/weight | KLD en | KLD dev | KLD wiki | KLD de | same top token (avg) | Tensor types by size |
|---|---|---|---|---|---|---|---|---|
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf |
19.99 GiB | 2.31 | 0.0758 | 0.0387 | 0.2285 | 0.1025 | 90.5 % | IQ2_XXS 70%, IQ2_XS 11%, IQ3_XXS 8%, Q8_0 5%, IQ4_XS 4%, Q2_K 2% |
Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf |
27.44 GiB | 3.17 | 0.0452 | 0.0266 | 0.1346 | 0.0578 | 93.5 % | IQ3_XXS 68%, Q8_0 8%, IQ2_XS 5%, IQ2_S 5%, IQ4_XS 4%, IQ3_S 3%, Q2_K 2%, IQ2_XXS 2% |
Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf |
36.30 GiB | 4.19 | 0.0305 | 0.0156 | 0.0938 | 0.0409 | 94.7 % | IQ4_XS 65%, IQ3_S 14%, Q4_K 8%, Q8_0 7%, IQ3_XXS 4% |
"Tensor types by size" lists the share of the file's bytes per ggml type (all are standard llama.cpp types, so the files run in stock llama.cpp). Quality columns: mean KL divergence of the quantized model's next-token distribution against the Q8_0 source on held-out text (lower is better) and how often the most likely token is unchanged (higher is better).
Same texts, same context, same chunks, measured by us with llama-perplexity (near-lossless Q8_0 source = reference; PPL of the Q8_0 reference: en: 2.460, dev: 1.928, wiki: 24.848, de: 2.908). The reference quants are: llama.cpp default recipe, same importance matrix (ours), measured the same way. Sorted by size.
| Quant | Source | Size | KLD en | KLD dev | KLD wiki | KLD de | PPL en | same top token (avg) |
|---|---|---|---|---|---|---|---|---|
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf |
this repository | 19.99 GiB | 0.0758 | 0.0387 | 0.2285 | 0.1025 | 2.469 | 90.5 % |
| IQ2_XS | llama.cpp default recipe, same importance matrix (ours) | 21.41 GiB | 0.1859 | 0.1113 | 0.4540 | 0.2548 | 2.653 | 84.6 % |
Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf |
this repository | 27.45 GiB | 0.0452 | 0.0266 | 0.1346 | 0.0578 | 2.452 | 93.5 % |
| IQ3_XXS | llama.cpp default recipe, same importance matrix (ours) | 28.12 GiB | 0.0917 | 0.0519 | 0.2667 | 0.1187 | 2.453 | 89.6 % |
Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf |
this repository | 36.31 GiB | 0.0305 | 0.0156 | 0.0938 | 0.0409 | 2.460 | 94.7 % |
| IQ4_XS | llama.cpp default recipe, same importance matrix (ours) | 38.91 GiB | 0.0566 | 0.0253 | 0.1550 | 0.0616 | 2.514 | 93.2 % |
Method: 12 chunks of 512 tokens per text; texts: English held-out text, developer-text held-out set, English encyclopedia held-out text (not used in any calibration), German held-out text (not used in any calibration). Single measurement on one machine; small KLD differences at similar size are not a quality ranking.
llama-imatrix) on German and English text, code and the model's own chat answers with thinking.llama-quantize and the importance matrix; the error of each choice was estimated per matrix (importance-weighted) and scaled by a sensitivity factor measured with real KL divergence: every group of tensors (for example the FFN down projections, the attention value projections, the first and last layers) was moved alone to a lower-bit type, and the KL divergence it caused was compared with its quantization error.none, low, medium, high).LICENSE).llama-quantize default recipes of the full model with our importance matrix.English above. 本节为上文的中文翻译(Sakura = 樱花 yīnghuā);完整的独立中文版见 README_zh.md。
德国制造: Kolibri-1 是德国公司 Aleph Alpha 的开源 78B 模型,为混合专家(MoE)模型(3.5B 激活参数,每层 384 个路由专家加 1 个共享专家),面向德语和英语,带有思考模式和工具调用。本仓库包含与 Sakura-MicroQuality-Kolibri-1-GGUF 相同的文件,但每层移除了使用最少的 19 个路由专家(384 个中保留 365 个),大小约小 4.5 %。本仓库包含 三个不同大小的 GGUF 文件,它们由原模型的 Q8_0 GGUF(近乎无损;所有质量数据均以它为参照)通过我们实测得出的混合编码方法制作。请在 Files 页面选择其中一个;下表说明了每个文件的用途。 这是独立的社区量化版本,不是 Aleph Alpha 的官方发布。属于 Sakura Micro 系列。
比同级别的标准量化更小,并且更接近原始模型。 这里的每个文件都与其大小级别的标准 llama.cpp 量化(相同的重要性矩阵、相同的文本、同一台机器)进行了对比测量,只有优于它的文件才会发布。测量方式为在 4 个留出文本(en、dev、wiki、de)上相对于 Q8_0 源文件的 KL 散度;越低越好。
| 文件 | 大小 | 同级别的标准量化 | 此文件的 KL 散度 | 更优的文本数 |
|---|---|---|---|---|
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf |
19.99 GiB | IQ2_XS (21.41 GiB) | 低 58 % | 4 个中的 4 个 |
Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf |
27.45 GiB | IQ3_XXS (28.12 GiB) | 低 50 % | 4 个中的 4 个 |
Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf |
36.31 GiB | IQ4_XS (38.91 GiB) | 低 39 % | 4 个中的 4 个 |
目前需要打过补丁的 llama.cpp。
kolibri1架构尚未进入 llama.cpp 主线(功能请求 #29922)。请将 Hob-forge/Kolibri-1-GGUF 的补丁应用到 llama.cpp 提交836d571上,与该模型的其他社区 GGUF 文件相同。上游支持落地后,本卡片会更新。
每个文件使用相同的方法、相同的文本、同一台机器;KL 散度越低,越接近近乎无损的 Q8_0 参照:
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf 对比 llama.cpp 默认的 IQ2_XS (21.41 GiB):相对于近乎无损的 Q8_0 参照,在全部 4 个文本上平均 KL 散度 低 58 %(小 1.41 GiB)。Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf 对比 llama.cpp 默认的 IQ3_XXS (28.12 GiB):相对于近乎无损的 Q8_0 参照,在全部 4 个文本上平均 KL 散度 低 50 %(小 0.67 GiB)。Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf 对比 llama.cpp 默认的 IQ4_XS (38.91 GiB):相对于近乎无损的 Q8_0 参照,在全部 4 个文本上平均 KL 散度 低 39 %(小 2.60 GiB)。原因:每个张量的比特预算是根据实测的敏感度分配的(见 制作方式),而不是按固定规则。完整表格见下文。
| 文件 | 适用场景 |
|---|---|
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf(19.99 GiB,2.31 bpw) |
最小:适合内存预算紧张的情况;预计质量会有明显损失 |
Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf(27.44 GiB,3.17 bpw) |
居中:对大多数机器而言,大小与质量的最佳平衡 |
Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf(36.30 GiB,4.19 bpw) |
最大:三者中最接近 Q8_0 参照 |
| 文件 | 大小 | bits/weight | KLD en | KLD dev | KLD wiki | KLD de | same top token (avg) | 各张量类型(按大小) |
|---|---|---|---|---|---|---|---|---|
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf |
19.99 GiB | 2.31 | 0.0758 | 0.0387 | 0.2285 | 0.1025 | 90.5 % | IQ2_XXS 70%, IQ2_XS 11%, IQ3_XXS 8%, Q8_0 5%, IQ4_XS 4%, Q2_K 2% |
Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf |
27.44 GiB | 3.17 | 0.0452 | 0.0266 | 0.1346 | 0.0578 | 93.5 % | IQ3_XXS 68%, Q8_0 8%, IQ2_XS 5%, IQ2_S 5%, IQ4_XS 4%, IQ3_S 3%, Q2_K 2%, IQ2_XXS 2% |
Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf |
36.30 GiB | 4.19 | 0.0305 | 0.0156 | 0.0938 | 0.0409 | 94.7 % | IQ4_XS 65%, IQ3_S 14%, Q4_K 8%, Q8_0 7%, IQ3_XXS 4% |
“各张量类型(按大小)”列出每个 ggml 类型占文件字节数的比例(全部是标准的 llama.cpp 类型,因此这些文件可在原版 llama.cpp 中运行)。质量列:量化模型的下一个 token 分布相对于 Q8_0 源文件在留出文本上的平均 KL 散度(越低越好),以及最可能的 token 保持不变的频率(越高越好)。
相同的文本、相同的上下文、相同的分块,由我们使用 llama-perplexity 测量(近乎无损的 Q8_0 源文件 = 参照;Q8_0 参照的 PPL:en: 2.460,dev: 1.928,wiki: 24.848,de: 2.908)。参照量化为:llama.cpp 默认配方、相同的重要性矩阵(我们的)、以相同方式测量。按大小排序。
| 量化 | 来源 | 大小 | KLD en | KLD dev | KLD wiki | KLD de | PPL en | same top token (avg) |
|---|---|---|---|---|---|---|---|---|
Sakura-Kolibri-1-365E-IQ2_XS-19.99GiB.gguf |
本仓库 | 19.99 GiB | 0.0758 | 0.0387 | 0.2285 | 0.1025 | 2.469 | 90.5 % |
| IQ2_XS | llama.cpp 默认配方,相同的重要性矩阵(我们的) | 21.41 GiB | 0.1859 | 0.1113 | 0.4540 | 0.2548 | 2.653 | 84.6 % |
| IQ3_XXS | llama.cpp 默认配方,相同的重要性矩阵(我们的) | 28.12 GiB | 0.0917 | 0.0519 | 0.2667 | 0.1187 | 2.453 | 89.6 % |
Sakura-Kolibri-1-365E-IQ3_XXS-27.45GiB.gguf |
本仓库 | 27.45 GiB | 0.0452 | 0.0266 | 0.1346 | 0.0578 | 2.452 | 93.5 % |
Sakura-Kolibri-1-365E-IQ4_XS-36.31GiB.gguf |
本仓库 | 36.31 GiB | 0.0305 | 0.0156 | 0.0938 | 0.0409 | 2.460 | 94.7 % |
| IQ4_XS | llama.cpp 默认配方,相同的重要性矩阵(我们的) | 38.91 GiB | 0.0566 | 0.0253 | 0.1550 | 0.0616 | 2.514 | 93.2 % |
方法:每个文本取 12 个块,每块 512 个 token;文本为:英文留出文本、开发者文本留出集、英文百科留出文本(未用于任何校准)、德文留出文本(未用于任何校准)。这是在一台机器上的单次测量;相近大小下 KLD 的细小差异并不构成质量排名。
llama-imatrix)在德语和英语文本、代码以及模型自己带思考的聊天回答上计算。llama-quantize 和重要性矩阵各量化一次;每种选择的误差按矩阵估计(按重要性加权),并乘以一个 用真实 KL 散度测得的敏感度系数:每组张量(例如 FFN down 投影、注意力 value 投影、首尾几层)被单独移到较低比特的类型,并将它造成的 KL 散度与其量化误差进行比较。none、low、medium、high)。LICENSE 随附)。llama-quantize 默认配方,配以我们的重要性矩阵。有文件?提交种子。
发布种子Aleph-Alpha/Kolibri-1