Update README.md
Browse files
README.md
CHANGED
@@ -2,95 +2,48 @@
|
|
2 |
license: apache-2.0
|
3 |
quantized_by: bartowski
|
4 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
---
|
|
|
6 |
|
7 |
-
|
8 |
|
9 |
-
|
|
|
|
|
10 |
|
11 |
-
|
|
|
12 |
|
13 |
-
|
14 |
|
15 |
-
|
16 |
|
17 |
-
|
18 |
-
<s>[INST] {prompt} [/INST]</s>
|
19 |
-
```
|
20 |
-
|
21 |
-
Note that this model does not support a System prompt.
|
22 |
-
|
23 |
-
## Download a file (not the whole branch) from below:
|
24 |
-
|
25 |
-
| Filename | Quant type | File Size | Description |
|
26 |
-
| -------- | ---------- | --------- | ----------- |
|
27 |
-
| [Mistral-7B-Instruct-v0.3-Q8_0.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q8_0.gguf) | Q8_0 | 7.70GB | Extremely high quality, generally unneeded but max available quant. |
|
28 |
-
| [Mistral-7B-Instruct-v0.3-Q6_K.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q6_K.gguf) | Q6_K | 5.94GB | Very high quality, near perfect, *recommended*. |
|
29 |
-
| [Mistral-7B-Instruct-v0.3-Q5_K_M.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q5_K_M.gguf) | Q5_K_M | 5.13GB | High quality, *recommended*. |
|
30 |
-
| [Mistral-7B-Instruct-v0.3-Q5_K_S.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q5_K_S.gguf) | Q5_K_S | 5.00GB | High quality, *recommended*. |
|
31 |
-
| [Mistral-7B-Instruct-v0.3-Q4_K_M.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q4_K_M.gguf) | Q4_K_M | 4.37GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
|
32 |
-
| [Mistral-7B-Instruct-v0.3-Q4_K_S.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q4_K_S.gguf) | Q4_K_S | 4.14GB | Slightly lower quality with more space savings, *recommended*. |
|
33 |
-
| [Mistral-7B-Instruct-v0.3-IQ4_NL.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ4_NL.gguf) | IQ4_NL | 4.13GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
|
34 |
-
| [Mistral-7B-Instruct-v0.3-IQ4_XS.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ4_XS.gguf) | IQ4_XS | 3.91GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
35 |
-
| [Mistral-7B-Instruct-v0.3-Q3_K_L.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q3_K_L.gguf) | Q3_K_L | 3.82GB | Lower quality but usable, good for low RAM availability. |
|
36 |
-
| [Mistral-7B-Instruct-v0.3-Q3_K_M.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q3_K_M.gguf) | Q3_K_M | 3.52GB | Even lower quality. |
|
37 |
-
| [Mistral-7B-Instruct-v0.3-IQ3_M.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ3_M.gguf) | IQ3_M | 3.28GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
38 |
-
| [Mistral-7B-Instruct-v0.3-IQ3_S.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ3_S.gguf) | IQ3_S | 3.18GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
|
39 |
-
| [Mistral-7B-Instruct-v0.3-Q3_K_S.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q3_K_S.gguf) | Q3_K_S | 3.16GB | Low quality, not recommended. |
|
40 |
-
| [Mistral-7B-Instruct-v0.3-IQ3_XS.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ3_XS.gguf) | IQ3_XS | 3.02GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
|
41 |
-
| [Mistral-7B-Instruct-v0.3-IQ3_XXS.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ3_XXS.gguf) | IQ3_XXS | 2.83GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
42 |
-
| [Mistral-7B-Instruct-v0.3-Q2_K.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-Q2_K.gguf) | Q2_K | 2.72GB | Very low quality but surprisingly usable. |
|
43 |
-
| [Mistral-7B-Instruct-v0.3-IQ2_M.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ2_M.gguf) | IQ2_M | 2.50GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
|
44 |
-
| [Mistral-7B-Instruct-v0.3-IQ2_S.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ2_S.gguf) | IQ2_S | 2.31GB | Very low quality, uses SOTA techniques to be usable. |
|
45 |
-
| [Mistral-7B-Instruct-v0.3-IQ2_XS.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ2_XS.gguf) | IQ2_XS | 2.20GB | Very low quality, uses SOTA techniques to be usable. |
|
46 |
-
| [Mistral-7B-Instruct-v0.3-IQ2_XXS.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ2_XXS.gguf) | IQ2_XXS | 1.99GB | Lower quality, uses SOTA techniques to be usable. |
|
47 |
-
| [Mistral-7B-Instruct-v0.3-IQ1_M.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ1_M.gguf) | IQ1_M | 1.75GB | Extremely low quality, *not* recommended. |
|
48 |
-
| [Mistral-7B-Instruct-v0.3-IQ1_S.gguf](https://huggingface.co/bartowski/Mistral-7B-Instruct-v0.3-GGUF/blob/main/Mistral-7B-Instruct-v0.3-IQ1_S.gguf) | IQ1_S | 1.61GB | Extremely low quality, *not* recommended. |
|
49 |
-
|
50 |
-
## Downloading using huggingface-cli
|
51 |
-
|
52 |
-
First, make sure you have hugginface-cli installed:
|
53 |
-
|
54 |
-
```
|
55 |
-
pip install -U "huggingface_hub[cli]"
|
56 |
-
```
|
57 |
-
|
58 |
-
Then, you can target the specific file you want:
|
59 |
|
60 |
```
|
61 |
-
|
62 |
-
```
|
63 |
-
|
64 |
-
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:
|
65 |
-
|
66 |
-
```
|
67 |
-
huggingface-cli download bartowski/Mistral-7B-Instruct-v0.3-GGUF --include "Mistral-7B-Instruct-v0.3-Q8_0.gguf/*" --local-dir Mistral-7B-Instruct-v0.3-Q8_0
|
68 |
```
|
69 |
|
70 |
-
|
71 |
-
|
72 |
-
## Which file should I choose?
|
73 |
-
|
74 |
-
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
75 |
-
|
76 |
-
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.
|
77 |
-
|
78 |
-
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.
|
79 |
-
|
80 |
-
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.
|
81 |
-
|
82 |
-
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
|
83 |
-
|
84 |
-
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.
|
85 |
|
86 |
-
|
87 |
|
88 |
-
|
89 |
|
90 |
-
|
91 |
|
92 |
-
|
93 |
|
94 |
-
|
95 |
|
96 |
-
|
|
|
2 |
license: apache-2.0
|
3 |
quantized_by: bartowski
|
4 |
pipeline_tag: text-generation
|
5 |
+
lm_studio:
|
6 |
+
param_count: 7b
|
7 |
+
use_case: general
|
8 |
+
release_date: 22-05-2024
|
9 |
+
model_creator: mistralai
|
10 |
+
prompt_template: Mistral Instruct
|
11 |
+
system_prompt: none
|
12 |
+
base_model: mistral
|
13 |
+
original_repo: mistralai/Mistral-7B-Instruct-v0.3
|
14 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.3
|
15 |
---
|
16 |
+
## ๐ซ Community Model> Mistral 7B Instruct v0.3 by Mistral AI
|
17 |
|
18 |
+
*๐พ [LM Studio](https://lmstudio.ai) Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on [Discord](https://discord.gg/aPQfnNkxGC)*.
|
19 |
|
20 |
+
**Model creator:** [Mistral AI](https://huggingface.co/mistralai)<br>
|
21 |
+
**Original model**: [Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3)<br>
|
22 |
+
**GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` release [b2965](https://github.com/ggerganov/llama.cpp/releases/tag/b2965)<br>
|
23 |
|
24 |
+
## Model Summary:
|
25 |
+
Coming
|
26 |
|
27 |
+
## Prompt template:
|
28 |
|
29 |
+
Choose the `Mistral Instruct` preset in your LM Studio.
|
30 |
|
31 |
+
Under the hood, the model will see a prompt that's formatted like so:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
```
|
34 |
+
<s>[INST] {prompt} [/INST]</s>
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
```
|
36 |
|
37 |
+
## Technical Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
+
Coming
|
40 |
|
41 |
+
## Special thanks
|
42 |
|
43 |
+
๐ Special thanks to [Georgi Gerganov](https://github.com/ggerganov) and the whole team working on [llama.cpp](https://github.com/ggerganov/llama.cpp/) for making all of this possible.
|
44 |
|
45 |
+
๐ Special thanks to [Kalomaze](https://github.com/kalomaze), [Dampf](https://github.com/Dampfinchen) and [turboderp](https://github.com/turboderp/) for their work on the dataset (linked [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)) that was used for calculating the imatrix for all sizes.
|
46 |
|
47 |
+
## Disclaimers
|
48 |
|
49 |
+
LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Community Model is the sole responsibility of the person or entity who originated such Model. LM Studio may not monitor or control the Community Models and cannot, and does not, take responsibility for any such Model. LM Studio disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Community Models. LM Studio further disclaims any warranty that the Community Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Community Models, your downloading of any Community Model, or use of any other Community Model provided by or through LM Studio.
|