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

Model: bartowski/AMD-OLMo-1B-SFT-DPO-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-06 04:57:12 +08:00
commit f85d519fb2
22 changed files with 233 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
AMD-OLMo-1B-SFT-DPO-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO-f16.gguf filter=lfs diff=lfs merge=lfs -text
AMD-OLMo-1B-SFT-DPO.imatrix filter=lfs diff=lfs merge=lfs -text

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

121
README.md Normal file
View File

@@ -0,0 +1,121 @@
---
base_model: amd/AMD-OLMo-1B-SFT-DPO
datasets:
- allenai/dolma
license: apache-2.0
pipeline_tag: text-generation
quantized_by: bartowski
---
## Llamacpp imatrix Quantizations of AMD-OLMo-1B-SFT-DPO
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3991">b3991</a> for quantization.
Original model: https://huggingface.co/amd/AMD-OLMo-1B-SFT-DPO
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
```
<|system|>
{system_prompt}
<|user|>
{prompt}
<|assistant|>
```
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [AMD-OLMo-1B-SFT-DPO-f16.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-f16.gguf) | f16 | 2.36GB | false | Full F16 weights. |
| [AMD-OLMo-1B-SFT-DPO-Q8_0.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q8_0.gguf) | Q8_0 | 1.25GB | false | Extremely high quality, generally unneeded but max available quant. |
| [AMD-OLMo-1B-SFT-DPO-Q6_K_L.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q6_K_L.gguf) | Q6_K_L | 0.99GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [AMD-OLMo-1B-SFT-DPO-Q6_K.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q6_K.gguf) | Q6_K | 0.97GB | false | Very high quality, near perfect, *recommended*. |
| [AMD-OLMo-1B-SFT-DPO-Q5_K_L.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q5_K_L.gguf) | Q5_K_L | 0.87GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [AMD-OLMo-1B-SFT-DPO-Q5_K_M.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q5_K_M.gguf) | Q5_K_M | 0.85GB | false | High quality, *recommended*. |
| [AMD-OLMo-1B-SFT-DPO-Q5_K_S.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q5_K_S.gguf) | Q5_K_S | 0.82GB | false | High quality, *recommended*. |
| [AMD-OLMo-1B-SFT-DPO-Q4_K_L.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q4_K_L.gguf) | Q4_K_L | 0.76GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [AMD-OLMo-1B-SFT-DPO-Q4_K_M.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q4_K_M.gguf) | Q4_K_M | 0.73GB | false | Good quality, default size for must use cases, *recommended*. |
| [AMD-OLMo-1B-SFT-DPO-Q4_K_S.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q4_K_S.gguf) | Q4_K_S | 0.70GB | false | Slightly lower quality with more space savings, *recommended*. |
| [AMD-OLMo-1B-SFT-DPO-Q4_0_8_8.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q4_0_8_8.gguf) | Q4_0_8_8 | 0.69GB | false | Optimized for ARM inference. Requires 'sve' support (see link below). *Don't use on Mac or Windows*. |
| [AMD-OLMo-1B-SFT-DPO-Q4_0_4_8.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q4_0_4_8.gguf) | Q4_0_4_8 | 0.69GB | false | Optimized for ARM inference. Requires 'i8mm' support (see link below). *Don't use on Mac or Windows*. |
| [AMD-OLMo-1B-SFT-DPO-Q4_0_4_4.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q4_0_4_4.gguf) | Q4_0_4_4 | 0.69GB | false | Optimized for ARM inference. Should work well on all ARM chips, pick this if you're unsure. *Don't use on Mac or Windows*. |
| [AMD-OLMo-1B-SFT-DPO-Q4_0.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q4_0.gguf) | Q4_0 | 0.69GB | false | Legacy format, generally not worth using over similarly sized formats |
| [AMD-OLMo-1B-SFT-DPO-Q3_K_XL.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q3_K_XL.gguf) | Q3_K_XL | 0.68GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [AMD-OLMo-1B-SFT-DPO-IQ4_XS.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-IQ4_XS.gguf) | IQ4_XS | 0.66GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [AMD-OLMo-1B-SFT-DPO-Q3_K_L.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-Q3_K_L.gguf) | Q3_K_L | 0.65GB | false | Lower quality but usable, good for low RAM availability. |
| [AMD-OLMo-1B-SFT-DPO-IQ3_M.gguf](https://huggingface.co/bartowski/AMD-OLMo-1B-SFT-DPO-GGUF/blob/main/AMD-OLMo-1B-SFT-DPO-IQ3_M.gguf) | IQ3_M | 0.57GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
## 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/AMD-OLMo-1B-SFT-DPO-GGUF --include "AMD-OLMo-1B-SFT-DPO-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/AMD-OLMo-1B-SFT-DPO-GGUF --include "AMD-OLMo-1B-SFT-DPO-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (AMD-OLMo-1B-SFT-DPO-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}