VOOZH about

URL: https://huggingface.co/bartowski/YuLan-Mini-GGUF

⇱ bartowski/YuLan-Mini-GGUF · Hugging Face


Llamacpp imatrix Quantizations of YuLan-Mini

Using llama.cpp release b4381 for quantization.

Original model: https://huggingface.co/yulan-team/YuLan-Mini

All quants made using imatrix option with dataset from here

Run them in LM Studio

Prompt format

<s> 

 <|start_header_id|> system<|end_header_id|> 

{system_prompt}<|eot_id|> 

 <|start_header_id|> user<|end_header_id|> 

{prompt}<|eot_id|> 

 <|start_header_id|> assistant<|end_header_id|>

Download a file (not the whole branch) from below:

Filename Quant type File Size Split Description
YuLan-Mini-f32.gguf f32 9.70GB false Full F32 weights.
YuLan-Mini-f16.gguf f16 4.85GB false Full F16 weights.
YuLan-Mini-Q8_0.gguf Q8_0 2.58GB false Extremely high quality, generally unneeded but max available quant.
YuLan-Mini-Q6_K_L.gguf Q6_K_L 2.58GB false Uses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
YuLan-Mini-Q6_K.gguf Q6_K 2.58GB false Very high quality, near perfect, recommended.
YuLan-Mini-Q5_K_L.gguf Q5_K_L 2.03GB false Uses Q8_0 for embed and output weights. High quality, recommended.
YuLan-Mini-Q5_K_M.gguf Q5_K_M 1.97GB false High quality, recommended.
YuLan-Mini-Q4_K_L.gguf Q4_K_L 1.92GB false Uses Q8_0 for embed and output weights. Good quality, recommended.
YuLan-Mini-Q5_K_S.gguf Q5_K_S 1.88GB false High quality, recommended.
YuLan-Mini-Q4_K_M.gguf Q4_K_M 1.85GB false Good quality, default size for most use cases, recommended.
YuLan-Mini-Q4_K_S.gguf Q4_K_S 1.75GB false Slightly lower quality with more space savings, recommended.
YuLan-Mini-Q3_K_XL.gguf Q3_K_XL 1.70GB false Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
YuLan-Mini-Q3_K_L.gguf Q3_K_L 1.61GB false Lower quality but usable, good for low RAM availability.
YuLan-Mini-Q4_1.gguf Q4_1 1.60GB false Legacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon.
YuLan-Mini-Q3_K_M.gguf Q3_K_M 1.56GB false Low quality.
YuLan-Mini-Q2_K_L.gguf Q2_K_L 1.56GB false Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
YuLan-Mini-IQ3_M.gguf IQ3_M 1.50GB false Medium-low quality, new method with decent performance comparable to Q3_K_M.
YuLan-Mini-Q4_0.gguf Q4_0 1.47GB false Legacy format, offers online repacking for ARM and AVX CPU inference.
YuLan-Mini-IQ4_NL.gguf IQ4_NL 1.47GB false Similar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
YuLan-Mini-IQ4_XS.gguf IQ4_XS 1.47GB false Decent quality, smaller than Q4_K_S with similar performance, recommended.
YuLan-Mini-IQ3_XS.gguf IQ3_XS 1.47GB false Lower quality, new method with decent performance, slightly better than Q3_K_S.
YuLan-Mini-Q2_K.gguf Q2_K 1.47GB false Very low quality but surprisingly usable.
YuLan-Mini-IQ2_M.gguf IQ2_M 1.47GB false Relatively low quality, uses SOTA techniques to be surprisingly usable.
YuLan-Mini-Q3_K_S.gguf Q3_K_S 1.46GB false Low quality, not recommended.

Embed/output weights

Some of these quants (Q3_K_XL, Q4_K_L etc) are the standard quantization method with the embeddings and output weights quantized to Q8_0 instead of what they would normally default to.

Downloading using huggingface-cli

ARM/AVX information

Previously, you would download Q4_0_4_4/4_8/8_8, and these would have their weights interleaved in memory in order to improve performance on ARM and AVX machines by loading up more data in one pass.

Now, however, there is something called "online repacking" for weights. details in this PR. If you use Q4_0 and your hardware would benefit from repacking weights, it will do it automatically on the fly.

As of llama.cpp build b4282 you will not be able to run the Q4_0_X_X files and will instead need to use Q4_0.

Additionally, if you want to get slightly better quality for , you can use IQ4_NL thanks to this PR which will also repack the weights for ARM, though only the 4_4 for now. The loading time may be slower but it will result in an overall speed incrase.

Which file should I choose?

Credits

Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset.

Thank you ZeroWw for the inspiration to experiment with embed/output.

Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

Downloads last month
911
GGUF
Model size
2B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

32-bit

Model tree for bartowski/YuLan-Mini-GGUF

Quantized
(13)
this model

Datasets used to train bartowski/YuLan-Mini-GGUF