CoolFace
Modelpublic

NANI-Nithin/K2-Horizon-7B-GGUF

sourceHugging Faceapache-2.0updated 23d agoView on Hugging Face
24likes25kdownloads
Model Card

K2-Horizon-7B — GGUF Quantizations

GGUF quantizations of IFM/K2-Horizon-7B, a dense 7B-parameter causal decoder (K2HorizonForCausalLM, model_type: k2_horizon).

Quantized by NANI-Nithin using a custom pipeline built on the MBZUAI-IFM llama.cpp fork (branch model/K2Horizon).


Model Details

PropertyValue
Base modelIFM/K2-Horizon-7B
ArchitectureK2HorizonForCausalLM (k2_horizon)
Parameters~7B (dense decoder, no MoE)
Original dtypeBF16
BF16 GGUF size~18.01 GB
Source GGUFIFM/K2-Horizon-7B-GGUF
llama.cpp forkMBZUAI-IFM/llama.cpp @ model/K2Horizon
Note: These GGUFs carry the k2-horizon architecture token and require the MBZUAI-IFM fork (or upstream llama.cpp once support is merged) to run. Vanilla upstream llama.cpp (as of September 2026) does not support K2HorizonForCausalLM.

Included Files

Standard Quantizations

FileBits/WeightNotes
K2-Horizon-7B-BF16.gguf16 bpwSource quant, full precision
K2-Horizon-7B-Q8_0.gguf8 bpwNear-lossless, recommended reference
K2-Horizon-7B-Q6_K.gguf6 bpwNear-lossless K-quant
K2-Horizon-7B-Q5_K_M.gguf5 bpwBest quality/size in the 5-bit range
K2-Horizon-7B-Q5_K_S.gguf5 bpwSmaller 5-bit variant
K2-Horizon-7B-Q5_1.gguf5 bpwLegacy 5-bit
K2-Horizon-7B-Q5_0.gguf5 bpwLegacy 5-bit
K2-Horizon-7B-Q4_K_M.gguf4 bpwRecommended general use
K2-Horizon-7B-Q4_K_S.gguf4 bpwSmaller 4-bit K-quant
K2-Horizon-7B-Q4_1.gguf4 bpwLegacy 4-bit
K2-Horizon-7B-Q4_0.gguf4 bpwLegacy 4-bit
K2-Horizon-7B-Q3_K_L.gguf3 bpwLarge 3-bit K-quant
K2-Horizon-7B-Q3_K_M.gguf3 bpwMedium 3-bit K-quant
K2-Horizon-7B-Q3_K_S.gguf3 bpwSmall 3-bit K-quant
K2-Horizon-7B-Q2_K.gguf2 bpwAggressive compression
K2-Horizon-7B-Q2_K_S.gguf2 bpwSmaller 2-bit K-quant (imatrix-guided)
K2-Horizon-7B-Q2_0.gguf2.25 bpwGroup-64 2-bit
K2-Horizon-7B-Q1_0.gguf1.125 bpwMaximum compression

IQ (Importance-Matrix) Quantizations

FileBits/Weight
K2-Horizon-7B-IQ4_NL.gguf~4 bpw
K2-Horizon-7B-IQ4_XS.gguf~4 bpw
K2-Horizon-7B-IQ3_M.gguf~3 bpw
K2-Horizon-7B-IQ3_S.gguf~3 bpw
K2-Horizon-7B-IQ3_XS.gguf~3 bpw
K2-Horizon-7B-IQ3_XXS.gguf~3 bpw
K2-Horizon-7B-IQ2_M.gguf~2 bpw
K2-Horizon-7B-IQ2_S.gguf~2 bpw
K2-Horizon-7B-IQ2_XS.gguf~2 bpw
K2-Horizon-7B-IQ2_XXS.gguf~2 bpw
K2-Horizon-7B-IQ1_M.gguf1.75 bpw
K2-Horizon-7B-IQ1_S.gguf1.56 bpw

Quantization Method

  • —Source: IFM's official BF16 GGUF (K2-Horizon-7B-BF16.gguf).
  • —imatrix: Computed from Salesforce/wikitext (wikitext-2-raw-v1, 500 rows) with 12 GPU layers offloaded on an RTX 4060 Laptop (8 GB VRAM) due to the 18 GB model size. Applied to all K-quants below Q6 and all IQ quants.
  • —Fork: MBZUAI-IFM/llama.cpp, branch model/K2Horizon.

Usage

Requires the MBZUAI-IFM llama.cpp fork (model/K2Horizon branch).
bash
git clone -b model/K2Horizon https://github.com/MBZUAI-IFM/llama.cpp
cd llama.cpp && cmake -B build -DGGML_CUDA=ON && cmake --build build --config Release

./build/bin/llama-cli \
  -m K2-Horizon-7B-Q4_K_M.gguf \
  -p "Hello, I am" \
  -n 128 \
  -ngl 35

License

Weights are released under the same license as the original IFM/K2-Horizon-7B model. Please refer to the original repository for full license terms.


Credits