Instructions to use tensorblock/Mistral-7B-Instruct-DPO-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/Mistral-7B-Instruct-DPO-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/Mistral-7B-Instruct-DPO-GGUF with Ollama:
ollama run hf.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/Mistral-7B-Instruct-DPO-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/Mistral-7B-Instruct-DPO-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/Mistral-7B-Instruct-DPO-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/Mistral-7B-Instruct-DPO-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Mistral-7B-Instruct-DPO-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K
- Lemonade
How to use tensorblock/Mistral-7B-Instruct-DPO-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Mistral-7B-Instruct-DPO-GGUF:Q2_K
Run and chat with the model
lemonade run user.Mistral-7B-Instruct-DPO-GGUF-Q2_K
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Mistral-7B-Instruct-DPO-Q2_K.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q3_K_L.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q3_K_M.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q3_K_S.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q4_0.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q4_K_M.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q4_K_S.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q5_0.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q5_K_M.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q5_K_S.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q6_K.gguf +3 -0
- Mistral-7B-Instruct-DPO-Q8_0.gguf +3 -0
- README.md +71 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Mistral-7B-Instruct-DPO-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Mistral-7B-Instruct-DPO-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Mistral-7B-Instruct-DPO-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Mistral-7B-Instruct-DPO-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Mistral-7B-Instruct-DPO-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Mistral-7B-Instruct-DPO-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Mistral-7B-Instruct-DPO-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Mistral-7B-Instruct-DPO-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Mistral-7B-Instruct-DPO-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Mistral-7B-Instruct-DPO-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Mistral-7B-Instruct-DPO-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Mistral-7B-Instruct-DPO-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Mistral-7B-Instruct-DPO-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74c97f6428eef9cfaff45c23013b3580aecfb24963806f4c8e98706af3658fdf
|
| 3 |
+
size 2719242912
|
Mistral-7B-Instruct-DPO-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd3af4a59027d43b2774956d7fb0dcec51141705d8d304d41949290db4b00e83
|
| 3 |
+
size 3822025376
|
Mistral-7B-Instruct-DPO-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d289d7d221f81afeb605614c525f9c427d653dc7d1c21786bdf340c08f9d1667
|
| 3 |
+
size 3518986912
|
Mistral-7B-Instruct-DPO-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49e4a4675fe2a85d272ccfb3ca7454581b3db5ca5803089ca7b8b9af5084d6f5
|
| 3 |
+
size 3164568224
|
Mistral-7B-Instruct-DPO-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:280ccf97ef716a2b0deb3d9f3ff92ad7a1951bce083cbd1627329c7dbfa15c29
|
| 3 |
+
size 4108917408
|
Mistral-7B-Instruct-DPO-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d94317d6e54102e578e43c6045ebd7cd29b8ba96bb860d1dceae5844874537d1
|
| 3 |
+
size 4368439968
|
Mistral-7B-Instruct-DPO-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:280efc4935f6a24ed877ef6675104e418f264d4a6b8534f3ff385949081d8973
|
| 3 |
+
size 4140374688
|
Mistral-7B-Instruct-DPO-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:729a30f99003f560e4292fffda328ca8ac6a9b8e0485dda78e6fba9d1316bb1b
|
| 3 |
+
size 4997716640
|
Mistral-7B-Instruct-DPO-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d0e300d10c8c46e7bdb13c3027aaa52b8345698bf32190a3416ee64ef2269b5
|
| 3 |
+
size 5131410080
|
Mistral-7B-Instruct-DPO-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4306e7fb34b056fa10a1783df1d28d540ce4bc5eba752ed856d8fc90a844104e
|
| 3 |
+
size 4997716640
|
Mistral-7B-Instruct-DPO-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba4e5ec87a0d93ba04d388988300415a26897e1644921484afa09b9680e83cfd
|
| 3 |
+
size 5942065824
|
Mistral-7B-Instruct-DPO-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a499e23594048612a0870701607e478efc6b6191ef5ddc861511e196788fb106
|
| 3 |
+
size 7695858336
|
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: princeton-nlp/Mistral-7B-Instruct-DPO
|
| 3 |
+
tags:
|
| 4 |
+
- TensorBlock
|
| 5 |
+
- GGUF
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 9 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 10 |
+
</div>
|
| 11 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 12 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 13 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 14 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
| 15 |
+
</p>
|
| 16 |
+
</div>
|
| 17 |
+
</div>
|
| 18 |
+
|
| 19 |
+
## princeton-nlp/Mistral-7B-Instruct-DPO - GGUF
|
| 20 |
+
|
| 21 |
+
This repo contains GGUF format model files for [princeton-nlp/Mistral-7B-Instruct-DPO](https://huggingface.co/princeton-nlp/Mistral-7B-Instruct-DPO).
|
| 22 |
+
|
| 23 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
| 24 |
+
|
| 25 |
+
## Prompt template
|
| 26 |
+
|
| 27 |
+
```
|
| 28 |
+
[INST] {system_prompt}
|
| 29 |
+
|
| 30 |
+
{prompt} [/INST]
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## Model file specification
|
| 34 |
+
|
| 35 |
+
| Filename | Quant type | File Size | Description |
|
| 36 |
+
| -------- | ---------- | --------- | ----------- |
|
| 37 |
+
| [Mistral-7B-Instruct-DPO-Q2_K.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q2_K.gguf) | Q2_K | 2.532 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 38 |
+
| [Mistral-7B-Instruct-DPO-Q3_K_S.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q3_K_S.gguf) | Q3_K_S | 2.947 GB | very small, high quality loss |
|
| 39 |
+
| [Mistral-7B-Instruct-DPO-Q3_K_M.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q3_K_M.gguf) | Q3_K_M | 3.277 GB | very small, high quality loss |
|
| 40 |
+
| [Mistral-7B-Instruct-DPO-Q3_K_L.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q3_K_L.gguf) | Q3_K_L | 3.560 GB | small, substantial quality loss |
|
| 41 |
+
| [Mistral-7B-Instruct-DPO-Q4_0.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q4_0.gguf) | Q4_0 | 3.827 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 42 |
+
| [Mistral-7B-Instruct-DPO-Q4_K_S.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q4_K_S.gguf) | Q4_K_S | 3.856 GB | small, greater quality loss |
|
| 43 |
+
| [Mistral-7B-Instruct-DPO-Q4_K_M.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q4_K_M.gguf) | Q4_K_M | 4.068 GB | medium, balanced quality - recommended |
|
| 44 |
+
| [Mistral-7B-Instruct-DPO-Q5_0.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q5_0.gguf) | Q5_0 | 4.654 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 45 |
+
| [Mistral-7B-Instruct-DPO-Q5_K_S.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q5_K_S.gguf) | Q5_K_S | 4.654 GB | large, low quality loss - recommended |
|
| 46 |
+
| [Mistral-7B-Instruct-DPO-Q5_K_M.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q5_K_M.gguf) | Q5_K_M | 4.779 GB | large, very low quality loss - recommended |
|
| 47 |
+
| [Mistral-7B-Instruct-DPO-Q6_K.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q6_K.gguf) | Q6_K | 5.534 GB | very large, extremely low quality loss |
|
| 48 |
+
| [Mistral-7B-Instruct-DPO-Q8_0.gguf](https://huggingface.co/tensorblock/Mistral-7B-Instruct-DPO-GGUF/tree/main/Mistral-7B-Instruct-DPO-Q8_0.gguf) | Q8_0 | 7.167 GB | very large, extremely low quality loss - not recommended |
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
## Downloading instruction
|
| 52 |
+
|
| 53 |
+
### Command line
|
| 54 |
+
|
| 55 |
+
Firstly, install Huggingface Client
|
| 56 |
+
|
| 57 |
+
```shell
|
| 58 |
+
pip install -U "huggingface_hub[cli]"
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
Then, downoad the individual model file the a local directory
|
| 62 |
+
|
| 63 |
+
```shell
|
| 64 |
+
huggingface-cli download tensorblock/Mistral-7B-Instruct-DPO-GGUF --include "Mistral-7B-Instruct-DPO-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 68 |
+
|
| 69 |
+
```shell
|
| 70 |
+
huggingface-cli download tensorblock/Mistral-7B-Instruct-DPO-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 71 |
+
```
|