初始化项目,由ModelHub XC社区提供模型

Model: bartowski/AlchemistCoder-L-7B-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-02 16:20:18 +08:00
commit f27ced44cf
22 changed files with 205 additions and 0 deletions

54
.gitattributes vendored Normal file
View File

@@ -0,0 +1,54 @@
*.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
AlchemistCoder-L-7B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B-f32.gguf filter=lfs diff=lfs merge=lfs -text
AlchemistCoder-L-7B.imatrix filter=lfs diff=lfs merge=lfs -text

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e648467818cd3f04370086094919576fd620c5696a082649bdeef96ac1b66346
size 2359750816

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22dd83ac782f4837b82644d102dc232fc6aa60d4a5f7989d87fc9338a79a7802
size 2196566176

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:992f99f9d2113b3c722ae98f4fca0545bbd2cf487b6b79633233b9d7e861aa25
size 2034913440

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33cc641e04f7e12d5812721966df1111f848453a2632ce94360509fd854cd299
size 3114864800

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d842aa12d169553ee19e726fe006ae38e43effdb668f41802fe464e642257656
size 2796523680

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a86b27f217d9727eff2f50aae83c9cc9f99f6d3d145f5a75e2f28bed9d2a1948
size 2585391264

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc24251eddd5cc94f9fe081b9797a137415c18518e4dbfe6fa35968b986147ec
size 3619336352

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:296bab39b94c3b95da9cd7d3df61579761fe3439dc06719ced60f3826b06ae97
size 2532864160

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68a27fd8457ae8b2eae8eb3fc31d2dea310e08a05aa2a2ad48629d1d7332689e
size 3597111456

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e24fc67f52f680e0d6db10328c0665e22dd17cbae9443d7c82d00453d551ebfb
size 3298005152

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d40df7afae7674b338195185d82592691f360bcf3c1f19ca5826f566dad84670
size 2948305056

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23beed9b49245f8beecb99d740a36b32e1f01dbe5db15a15950754d06e94b075
size 4081004704

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b7e399cef83bbd9e933356e29c5d49adb099edd6e52110c834663a428218823
size 3856740512

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44bae87dfeff51ea39c72401b4acaddc16e68d78e740851e88157dbb1558a66c
size 4783157408

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:630b31ec7e7ca2fa515653d61eeee258d3bbc4d9b46a15abd3366509db774534
size 4651692192

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:666647b0af8b3fa03de960bbb906b9e2243fe6d329251050b076e8abd7ce877d
size 5529194656

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c0f6657818009ee3bec283ee246893a3863ac4ea2f004cec76d0e817c7a0d156
size 7161090208

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ac7775a86e9f2e768d8e9f3b6ce3b7d563a86dacf2259fb9638a375141af1de
size 26954403712

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd9aaaf639f9af4c23f3c927647bd74ba7528e595c75f96388898c946c0ff4a5
size 4562187

93
README.md Normal file
View File

@@ -0,0 +1,93 @@
---
license: apache-2.0
tags:
- code generation
quantized_by: bartowski
pipeline_tag: text-generation
---
## Llamacpp imatrix Quantizations of AlchemistCoder-L-7B
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3024">b3024</a> for quantization.
Original model: https://huggingface.co/internlm/AlchemistCoder-L-7B
All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
## Prompt format
No chat template specified so default is used. This may be incorrect, check original model card for details.
```
<s> [INST] <<SYS>>
{system_prompt}
<</SYS>>
{prompt} [/INST] </s>
```
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Description |
| -------- | ---------- | --------- | ----------- |
| [AlchemistCoder-L-7B-Q8_0.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q8_0.gguf) | Q8_0 | 7.16GB | Extremely high quality, generally unneeded but max available quant. |
| [AlchemistCoder-L-7B-Q6_K.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q6_K.gguf) | Q6_K | 5.53GB | High quality, *recommended*. |
| [AlchemistCoder-L-7B-Q5_K_M.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q5_K_M.gguf) | Q5_K_M | 4.78GB | High quality, *recommended*. |
| [AlchemistCoder-L-7B-Q5_K_S.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q5_K_S.gguf) | Q5_K_S | 4.65GB | High quality, *recommended*. |
| [AlchemistCoder-L-7B-Q4_K_M.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q4_K_M.gguf) | Q4_K_M | 4.08GB | High quality, *recommended*. |
| [AlchemistCoder-L-7B-Q4_K_S.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q4_K_S.gguf) | Q4_K_S | 3.86GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
| [AlchemistCoder-L-7B-IQ4_XS.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-IQ4_XS.gguf) | IQ4_XS | 3.61GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [AlchemistCoder-L-7B-Q3_K_L.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q3_K_M.gguf) | Q3_K_M | 3.29GB | Even lower quality. |
| [AlchemistCoder-L-7B-Q3_K_M.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q3_K_M.gguf) | Q3_K_M | 3.29GB | Even lower quality. |
| [AlchemistCoder-L-7B-IQ3_M.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-IQ3_M.gguf) | IQ3_M | 3.11GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [AlchemistCoder-L-7B-Q3_K_S.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q3_K_S.gguf) | Q3_K_S | 2.94GB | Low quality, not recommended. |
| [AlchemistCoder-L-7B-IQ3_XXS.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-IQ3_XXS.gguf) | IQ3_XXS | 2.58GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
| [AlchemistCoder-L-7B-Q2_K.gguf](https://huggingface.co/bartowski/AlchemistCoder-L-7B-GGUF/blob/main/AlchemistCoder-L-7B-Q2_K.gguf) | Q2_K | 2.53GB | Very low quality but surprisingly usable. |
## 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/AlchemistCoder-L-7B-GGUF --include "AlchemistCoder-L-7B-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/AlchemistCoder-L-7B-GGUF --include "AlchemistCoder-L-7B-Q8_0.gguf/*" --local-dir AlchemistCoder-L-7B-Q8_0
```
You can either specify a new local-dir (AlchemistCoder-L-7B-Q8_0) or download them all in place (./)
## 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.
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

1
configuration.json Normal file
View File

@@ -0,0 +1 @@
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}