Downloads · 30 days
1.4K
24% of all-time downloads
Tdamre/Nanbeige4.2-3B-GGUF
Nanbeige4.2-3B-GGUF is a text generation model from Tdamre. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
Unofficial GGUF conversions of Nanbeige/Nanbeige4.2-3B, pinned to source revision 451ed48c3273ecef7ea8faaa43c31ce529763bb1.
Downloads · 30 days
1.4K
24% of all-time downloads
All-time downloads
6K
Public
Repo size
7 GB
Likes
1
Public
Click a slice to open those files.
.gguf7 GB · 100%
From the Hugging Face model README
Unofficial GGUF conversions of
Nanbeige/Nanbeige4.2-3B,
pinned to source revision
451ed48c3273ecef7ea8faaa43c31ce529763bb1.
Nanbeige4.2-3B is not an ordinary Llama stack. It reuses 22 physical decoder
layers for two loops, applies the shared final RMSNorm at the loop boundary,
and needs 44 logical KV-cache slots. These files therefore use the custom GGUF
architecture name nanbeige and require the included llama.cpp patch.
| File | Size | SHA-256 |
|---|---|---|
Nanbeige4.2-3B-Q4_K_M.gguf | 2,574,807,840 bytes | 99c7bfb88907f7eee0a04c4314f1c46bca391819478d8cb90b3e164f09576489 |
Nanbeige4.2-3B-Q8_0.gguf | 4,434,787,104 bytes | 32b60cd0fb3da4d8a3c01d0ca7d0461818c29c81ffb42f8fc71a94141bd803c6 |
llama.cpp-nanbeige.patch | 10,137 bytes | 1177badb8f8f6228052d2f67a9eabe81f2ce69f3ea0b92cf7b1ea2352204284a |
The source checkpoint contains 4,169,800,704 physical parameters. The Q4_K_M file is about 4.93 bits per weight; Q8_0 is about 8.51 bits per weight.
Apply the patch to the exact tested llama.cpp revision:
git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
git checkout cf512566dc89d7a2bdefd43f6d4b85a1c18e93a7
git apply /path/to/llama.cpp-nanbeige.patch
cmake -B build
cmake --build build --config Release
Then run either quant:
./build/bin/llama-cli \
-m Nanbeige4.2-3B-Q4_K_M.gguf \
-c 4096 -n 256 \
-p "Hello"
Stock llama.cpp builds that do not include Nanbeige support will reject the
nanbeige architecture. The patch adds conversion metadata, tensor loading,
loop-boundary normalization, and 44-layer cache handling; it does not replace
model weights.
Built and tested on Windows with llama.cpp
cf512566dc89d7a2bdefd43f6d4b85a1c18e93a7 and an AMD Ryzen 9 7950X3D.
nanbeige, block count 44, loop count 2.These are CPU smoke/throughput tests, not quality benchmarks. The original model advertises a 262,144-token context, but local validation used a short 512-token context.
The base model is Apache-2.0 licensed. Review the upstream model card for its full terms and intended-use information.