commit 43dd342be2971017bc3bceb69ddb8fbf1322ad96 Author: ModelHub XC Date: Sun Jul 19 01:42:06 2026 +0800 初始化项目,由ModelHub XC社区提供模型 Model: bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF Source: Original Platform diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..55c38c8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,60 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct.imatrix filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +Qwen2.5-Coder-1.5B-Instruct-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/Qwen2.5-Coder-1.5B-Instruct-IQ2_M.gguf b/Qwen2.5-Coder-1.5B-Instruct-IQ2_M.gguf new file mode 100644 index 0000000..c39f32f --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-IQ2_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b00b44724cb877ee442a190bec473eb7c50c5837ecf19fdd9fc3f0f48d94c39 +size 601055008 diff --git a/Qwen2.5-Coder-1.5B-Instruct-IQ3_M.gguf b/Qwen2.5-Coder-1.5B-Instruct-IQ3_M.gguf new file mode 100644 index 0000000..d6954eb --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-IQ3_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82b606bd2b265e55640f5d349ca85a5e50de26199863255a4db4c523d6746695 +size 776664352 diff --git a/Qwen2.5-Coder-1.5B-Instruct-IQ3_XS.gguf b/Qwen2.5-Coder-1.5B-Instruct-IQ3_XS.gguf new file mode 100644 index 0000000..8dce752 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-IQ3_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ebc644352f2832e3904b7d6d014fe659d89b98f19a95f83a33ee2a71bcff8b9 +size 731699488 diff --git a/Qwen2.5-Coder-1.5B-Instruct-IQ4_XS.gguf b/Qwen2.5-Coder-1.5B-Instruct-IQ4_XS.gguf new file mode 100644 index 0000000..edcead4 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-IQ4_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aef1c721b1624ccce701144d6908f01ac24cd17e33dc70a47ab37a3417458750 +size 895732000 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q2_K.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q2_K.gguf new file mode 100644 index 0000000..513f24b --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2fb79a783a0ee3fc7175b750c94649cc942bf98e8fd35587812be8b191b5c23 +size 676305184 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q2_K_L.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q2_K_L.gguf new file mode 100644 index 0000000..ba23328 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q2_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a902f0f276565aee489ddd05e990a9782979db9231be0dca1a9622a664fb3599 +size 732825376 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q3_K_L.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q3_K_L.gguf new file mode 100644 index 0000000..2e68989 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5a9350364e8b231c11475f43c3039326a86c0ee890deaaf2b5a055d1c90cbd3 +size 880163104 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q3_K_M.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q3_K_M.gguf new file mode 100644 index 0000000..6331ae8 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0136801c84c9bb39f2e028a069f6b02a0a284073363550cea1a2ae5f2900c4d3 +size 824178976 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q3_K_S.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q3_K_S.gguf new file mode 100644 index 0000000..cf33acf --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:523c3c957766904bee736932cb088b9d837d850b21d6d0236c5feb091b29e16c +size 760944928 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q3_K_XL.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q3_K_XL.gguf new file mode 100644 index 0000000..204ed7d --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q3_K_XL.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54447a739273760e38c7c259777ecec3438132d1202084973279d6376b792ad7 +size 936683296 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q4_0.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q4_0.gguf new file mode 100644 index 0000000..58ca4d1 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q4_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1165e56fbe4751906354a065e0d1d84e7db0352750929d6fe508fd0565f650a4 +size 937535776 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_4.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_4.gguf new file mode 100644 index 0000000..a613f02 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_4.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9fc4b8bf100f57e1d509018e8b46d74c101a7119aa66ef7a1f651f9cbc2eb0c +size 934955296 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_8.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_8.gguf new file mode 100644 index 0000000..fc7a1cd --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_8.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdaec13743cef4a7266434c4dddeeb4f494b25afc102123af175000451f8b5bb +size 934955296 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q4_0_8_8.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q4_0_8_8.gguf new file mode 100644 index 0000000..094d826 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q4_0_8_8.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0320973b1d9504b769c1f2c58b4575f56edf4f8a338c0df14c490e24cc71b3a3 +size 934955296 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q4_K_L.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q4_K_L.gguf new file mode 100644 index 0000000..1753818 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q4_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38570009ab3f6d528ce1accd73f5c810ded5d4645d2ddff9cc55da307b23060b +size 1042568992 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q4_K_M.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q4_K_M.gguf new file mode 100644 index 0000000..3c33d1b --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f530705d447660a4336c329981af164b471b60b974b1d808d57e8ec9fe23b239 +size 986048800 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q4_K_S.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q4_K_S.gguf new file mode 100644 index 0000000..33f7618 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f04c69412530990b8f2de076b3413d6fdcc9ea8627388976112f7cb180034463 +size 940312864 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q5_K_L.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q5_K_L.gguf new file mode 100644 index 0000000..630daec --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q5_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c77f2f4a7ad20606fdca8adb744692c9bdca8a634229d48efac71fc5d7c4524 +size 1181570848 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q5_K_M.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q5_K_M.gguf new file mode 100644 index 0000000..815220a --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92440df3785a3caadbe744ee7d2cb1cb86dfe1c81140c8856739e1bd3561c8a9 +size 1125050656 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q5_K_S.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q5_K_S.gguf new file mode 100644 index 0000000..99f3887 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bcbdef60580032108cd87ef7d3fe2d9c637d6336d3ca0a5cdb85a6c76267d0f +size 1098729760 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q6_K.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q6_K.gguf new file mode 100644 index 0000000..b6b70fc --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0960eab56b5a4dc03745ba3efeec69efce182f596bcef720720bf97983e10a22 +size 1272740128 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q6_K_L.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q6_K_L.gguf new file mode 100644 index 0000000..fff910b --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q6_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:645de3c9b3fef6afaf42d4dcc106f491d28e5e91d7b35c5930e6a735bafae146 +size 1329260320 diff --git a/Qwen2.5-Coder-1.5B-Instruct-Q8_0.gguf b/Qwen2.5-Coder-1.5B-Instruct-Q8_0.gguf new file mode 100644 index 0000000..a48084b --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:717ed8f7110e9ffc8a0e1a607ec131aa9ee3a8d69d5a6e11b5e15ed7b0f6af4c +size 1646573344 diff --git a/Qwen2.5-Coder-1.5B-Instruct-f16.gguf b/Qwen2.5-Coder-1.5B-Instruct-f16.gguf new file mode 100644 index 0000000..4371bc3 --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct-f16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b10310f9b1ab63bd14b9710e84516e7b18b522079fd0c96812f948f9f817e68d +size 3093669376 diff --git a/Qwen2.5-Coder-1.5B-Instruct.imatrix b/Qwen2.5-Coder-1.5B-Instruct.imatrix new file mode 100644 index 0000000..b79accd --- /dev/null +++ b/Qwen2.5-Coder-1.5B-Instruct.imatrix @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:131358aa2e0e574edac0177c109ca1002e54b1986ddded1d396968e40ac27f2f +size 2042214 diff --git a/README.md b/README.md new file mode 100644 index 0000000..ea3c085 --- /dev/null +++ b/README.md @@ -0,0 +1,139 @@ +--- +base_model: Qwen/Qwen2.5-Coder-1.5B-Instruct +language: +- en +library_name: transformers +license: apache-2.0 +license_link: https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct/blob/main/LICENSE +pipeline_tag: text-generation +tags: +- code +- codeqwen +- chat +- qwen +- qwen-coder +quantized_by: bartowski +--- + +## Llamacpp imatrix Quantizations of Qwen2.5-Coder-1.5B-Instruct + +Using llama.cpp release b3772 for quantization. + +Original model: https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct + +All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8) + +Run them in [LM Studio](https://lmstudio.ai/) + +## Prompt format + +``` +<|im_start|>system +{system_prompt}<|im_end|> +<|im_start|>user +{prompt}<|im_end|> +<|im_start|>assistant +``` + +## What's new: + +Update tokenizer + +## Download a file (not the whole branch) from below: + +| Filename | Quant type | File Size | Split | Description | +| -------- | ---------- | --------- | ----- | ----------- | +| [Qwen2.5-Coder-1.5B-Instruct-f16.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-f16.gguf) | f16 | 3.09GB | false | Full F16 weights. | +| [Qwen2.5-Coder-1.5B-Instruct-Q8_0.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q8_0.gguf) | Q8_0 | 1.65GB | false | Extremely high quality, generally unneeded but max available quant. | +| [Qwen2.5-Coder-1.5B-Instruct-Q6_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q6_K_L.gguf) | Q6_K_L | 1.33GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. | +| [Qwen2.5-Coder-1.5B-Instruct-Q6_K.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q6_K.gguf) | Q6_K | 1.27GB | false | Very high quality, near perfect, *recommended*. | +| [Qwen2.5-Coder-1.5B-Instruct-Q5_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q5_K_L.gguf) | Q5_K_L | 1.18GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. | +| [Qwen2.5-Coder-1.5B-Instruct-Q5_K_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q5_K_M.gguf) | Q5_K_M | 1.13GB | false | High quality, *recommended*. | +| [Qwen2.5-Coder-1.5B-Instruct-Q5_K_S.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q5_K_S.gguf) | Q5_K_S | 1.10GB | false | High quality, *recommended*. | +| [Qwen2.5-Coder-1.5B-Instruct-Q4_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q4_K_L.gguf) | Q4_K_L | 1.04GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. | +| [Qwen2.5-Coder-1.5B-Instruct-Q4_K_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q4_K_M.gguf) | Q4_K_M | 0.99GB | false | Good quality, default size for must use cases, *recommended*. | +| [Qwen2.5-Coder-1.5B-Instruct-Q4_K_S.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q4_K_S.gguf) | Q4_K_S | 0.94GB | false | Slightly lower quality with more space savings, *recommended*. | +| [Qwen2.5-Coder-1.5B-Instruct-Q4_0.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q4_0.gguf) | Q4_0 | 0.94GB | false | Legacy format, generally not worth using over similarly sized formats | +| [Qwen2.5-Coder-1.5B-Instruct-Q3_K_XL.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q3_K_XL.gguf) | Q3_K_XL | 0.94GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. | +| [Qwen2.5-Coder-1.5B-Instruct-Q4_0_8_8.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q4_0_8_8.gguf) | Q4_0_8_8 | 0.93GB | false | Optimized for ARM inference. Requires 'sve' support (see link below). | +| [Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_8.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_8.gguf) | Q4_0_4_8 | 0.93GB | false | Optimized for ARM inference. Requires 'i8mm' support (see link below). | +| [Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_4.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q4_0_4_4.gguf) | Q4_0_4_4 | 0.93GB | false | Optimized for ARM inference. Should work well on all ARM chips, pick this if you're unsure. | +| [Qwen2.5-Coder-1.5B-Instruct-IQ4_XS.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-IQ4_XS.gguf) | IQ4_XS | 0.90GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. | +| [Qwen2.5-Coder-1.5B-Instruct-Q3_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q3_K_L.gguf) | Q3_K_L | 0.88GB | false | Lower quality but usable, good for low RAM availability. | +| [Qwen2.5-Coder-1.5B-Instruct-Q3_K_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q3_K_M.gguf) | Q3_K_M | 0.82GB | false | Low quality. | +| [Qwen2.5-Coder-1.5B-Instruct-IQ3_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-IQ3_M.gguf) | IQ3_M | 0.78GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. | +| [Qwen2.5-Coder-1.5B-Instruct-Q3_K_S.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q3_K_S.gguf) | Q3_K_S | 0.76GB | false | Low quality, not recommended. | +| [Qwen2.5-Coder-1.5B-Instruct-IQ3_XS.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-IQ3_XS.gguf) | IQ3_XS | 0.73GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. | +| [Qwen2.5-Coder-1.5B-Instruct-Q2_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q2_K_L.gguf) | Q2_K_L | 0.73GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. | +| [Qwen2.5-Coder-1.5B-Instruct-Q2_K.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-Q2_K.gguf) | Q2_K | 0.68GB | false | Very low quality but surprisingly usable. | +| [Qwen2.5-Coder-1.5B-Instruct-IQ2_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Coder-1.5B-Instruct-IQ2_M.gguf) | IQ2_M | 0.60GB | false | Relatively low quality, uses SOTA techniques to be surprisingly usable. | + +## 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. + +Some say that this improves the quality, others don't notice any difference. If you use these models PLEASE COMMENT with your findings. I would like feedback that these are actually used and useful so I don't keep uploading quants no one is using. + +Thanks! + +## Downloading using huggingface-cli + +First, make sure you have hugginface-cli installed: + +``` +pip install -U "huggingface_hub[cli]" +``` + +Then, you can target the specific file you want: + +``` +huggingface-cli download bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF --include "Qwen2.5-Coder-1.5B-Instruct-Q4_K_M.gguf" --local-dir ./ +``` + +If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run: + +``` +huggingface-cli download bartowski/Qwen2.5-Coder-1.5B-Instruct-GGUF --include "Qwen2.5-Coder-1.5B-Instruct-Q8_0/*" --local-dir ./ +``` + +You can either specify a new local-dir (Qwen2.5-Coder-1.5B-Instruct-Q8_0) or download them all in place (./) + +## Q4_0_X_X + +These are *NOT* for Metal (Apple) offloading, only ARM chips. + +If you're using an ARM chip, the Q4_0_X_X quants will have a substantial speedup. Check out Q4_0_4_4 speed comparisons [on the original pull request](https://github.com/ggerganov/llama.cpp/pull/5780#pullrequestreview-21657544660) + +To check which one would work best for your ARM chip, you can check [AArch64 SoC features](https://gpages.juszkiewicz.com.pl/arm-socs-table/arm-socs.html) (thanks EloyOn!). + +## Which file should I choose? + +A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9) + +The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have. + +If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM. + +If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total. + +Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'. + +If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M. + +If you want to get more into the weeds, you can check out this extremely useful feature chart: + +[llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix) + +But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size. + +These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide. + +The I-quants are *not* compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm. + +## 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 diff --git a/configuration.json b/configuration.json new file mode 100644 index 0000000..bbeeda1 --- /dev/null +++ b/configuration.json @@ -0,0 +1 @@ +{"framework": "pytorch", "task": "text-generation", "allow_remote": true} \ No newline at end of file