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

Model: bartowski/emma-500-llama2-7b-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-25 18:58:13 +08:00
commit c8f18c63fe
28 changed files with 257 additions and 0 deletions

60
.gitattributes vendored Normal file
View File

@@ -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
emma-500-llama2-7b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b-f16.gguf filter=lfs diff=lfs merge=lfs -text
emma-500-llama2-7b.imatrix filter=lfs diff=lfs merge=lfs -text

121
README.md Normal file
View File

@@ -0,0 +1,121 @@
---
base_model: MaLA-LM/emma-500-llama2-7b
datasets:
- MaLA-LM/mala-monolingual-split
license: llama2
pipeline_tag: text-generation
quantized_by: bartowski
---
## Llamacpp imatrix Quantizations of emma-500-llama2-7b
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3841">b3841</a> for quantization.
Original model: https://huggingface.co/MaLA-LM/emma-500-llama2-7b
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
No prompt format found, check original model page
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [emma-500-llama2-7b-f16.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-f16.gguf) | f16 | 13.48GB | false | Full F16 weights. |
| [emma-500-llama2-7b-Q8_0.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q8_0.gguf) | Q8_0 | 7.16GB | false | Extremely high quality, generally unneeded but max available quant. |
| [emma-500-llama2-7b-Q6_K_L.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q6_K_L.gguf) | Q6_K_L | 5.59GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [emma-500-llama2-7b-Q6_K.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q6_K.gguf) | Q6_K | 5.53GB | false | Very high quality, near perfect, *recommended*. |
| [emma-500-llama2-7b-Q5_K_L.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q5_K_L.gguf) | Q5_K_L | 4.86GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [emma-500-llama2-7b-Q5_K_M.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q5_K_M.gguf) | Q5_K_M | 4.78GB | false | High quality, *recommended*. |
| [emma-500-llama2-7b-Q5_K_S.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q5_K_S.gguf) | Q5_K_S | 4.65GB | false | High quality, *recommended*. |
| [emma-500-llama2-7b-Q4_K_L.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q4_K_L.gguf) | Q4_K_L | 4.18GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [emma-500-llama2-7b-Q4_K_M.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q4_K_M.gguf) | Q4_K_M | 4.08GB | false | Good quality, default size for must use cases, *recommended*. |
| [emma-500-llama2-7b-Q4_K_S.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q4_K_S.gguf) | Q4_K_S | 3.86GB | false | Slightly lower quality with more space savings, *recommended*. |
| [emma-500-llama2-7b-Q4_0.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q4_0.gguf) | Q4_0 | 3.84GB | false | Legacy format, generally not worth using over similarly sized formats |
| [emma-500-llama2-7b-Q4_0_8_8.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q4_0_8_8.gguf) | Q4_0_8_8 | 3.83GB | false | Optimized for ARM inference. Requires 'sve' support (see link below). |
| [emma-500-llama2-7b-Q4_0_4_8.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q4_0_4_8.gguf) | Q4_0_4_8 | 3.83GB | false | Optimized for ARM inference. Requires 'i8mm' support (see link below). |
| [emma-500-llama2-7b-Q4_0_4_4.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q4_0_4_4.gguf) | Q4_0_4_4 | 3.83GB | false | Optimized for ARM inference. Should work well on all ARM chips, pick this if you're unsure. |
| [emma-500-llama2-7b-Q3_K_XL.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q3_K_XL.gguf) | Q3_K_XL | 3.71GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [emma-500-llama2-7b-IQ4_XS.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-IQ4_XS.gguf) | IQ4_XS | 3.62GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [emma-500-llama2-7b-Q3_K_L.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q3_K_L.gguf) | Q3_K_L | 3.60GB | false | Lower quality but usable, good for low RAM availability. |
| [emma-500-llama2-7b-Q3_K_M.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q3_K_M.gguf) | Q3_K_M | 3.30GB | false | Low quality. |
| [emma-500-llama2-7b-IQ3_M.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-IQ3_M.gguf) | IQ3_M | 3.11GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [emma-500-llama2-7b-Q3_K_S.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q3_K_S.gguf) | Q3_K_S | 2.95GB | false | Low quality, not recommended. |
| [emma-500-llama2-7b-IQ3_XS.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-IQ3_XS.gguf) | IQ3_XS | 2.80GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [emma-500-llama2-7b-Q2_K_L.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q2_K_L.gguf) | Q2_K_L | 2.66GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
| [emma-500-llama2-7b-Q2_K.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-Q2_K.gguf) | Q2_K | 2.53GB | false | Very low quality but surprisingly usable. |
| [emma-500-llama2-7b-IQ2_M.gguf](https://huggingface.co/bartowski/emma-500-llama2-7b-GGUF/blob/main/emma-500-llama2-7b-IQ2_M.gguf) | IQ2_M | 2.36GB | 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/emma-500-llama2-7b-GGUF --include "emma-500-llama2-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/emma-500-llama2-7b-GGUF --include "emma-500-llama2-7b-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (emma-500-llama2-7b-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

1
configuration.json Normal file
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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