Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,114 +1,41 @@
|
|
|
|
1 |
---
|
2 |
-
base_model: mistralai/Mistral-Large-Instruct-2407
|
3 |
-
language:
|
4 |
-
- en
|
5 |
-
- fr
|
6 |
-
- de
|
7 |
-
- es
|
8 |
-
- it
|
9 |
-
- pt
|
10 |
-
- zh
|
11 |
-
- ja
|
12 |
-
- ru
|
13 |
-
- ko
|
14 |
-
license: other
|
15 |
-
license_name: mrl
|
16 |
-
license_link: https://mistral.ai/licenses/MRL-0.1.md
|
17 |
-
pipeline_tag: text-generation
|
18 |
quantized_by: bartowski
|
19 |
-
|
20 |
-
data, please read our <a href="https://mistral.ai/terms/">Privacy Policy</a>.
|
21 |
---
|
|
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3441">b3441</a> for quantization.
|
26 |
-
|
27 |
-
Original model: https://huggingface.co/mistralai/Mistral-Large-Instruct-2407
|
28 |
-
|
29 |
-
All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
|
30 |
-
|
31 |
-
Run them in [LM Studio](https://lmstudio.ai/)
|
32 |
-
|
33 |
-
## Prompt format
|
34 |
-
|
35 |
-
No chat template specified so default is used. This may be incorrect, check original model card for details.
|
36 |
-
|
37 |
-
```
|
38 |
-
<s>[INST] <<SYS>>
|
39 |
-
{system_prompt}
|
40 |
-
<</SYS>>
|
41 |
-
|
42 |
-
{prompt} [/INST] </s>
|
43 |
-
```
|
44 |
-
|
45 |
-
## Download a file (not the whole branch) from below:
|
46 |
-
|
47 |
-
| Filename | Quant type | File Size | Split | Description |
|
48 |
-
| -------- | ---------- | --------- | ----- | ----------- |
|
49 |
-
| [Mistral-Large-Instruct-2407-Q4_K_M.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/tree/main/Mistral-Large-Instruct-2407-Q4_K_M) | Q4_K_M | 73.22GB | true | Good quality, default size for must use cases, *recommended*. |
|
50 |
-
| [Mistral-Large-Instruct-2407-IQ4_XS.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/tree/main/Mistral-Large-Instruct-2407-IQ4_XS) | IQ4_XS | 65.43GB | true | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
51 |
-
| [Mistral-Large-Instruct-2407-Q3_K_M.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/tree/main/Mistral-Large-Instruct-2407-Q3_K_M) | Q3_K_M | 59.10GB | true | Low quality. |
|
52 |
-
| [Mistral-Large-Instruct-2407-IQ3_M.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/tree/main/Mistral-Large-Instruct-2407-IQ3_M) | IQ3_M | 55.28GB | true | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
53 |
-
| [Mistral-Large-Instruct-2407-Q3_K_S.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/tree/main/Mistral-Large-Instruct-2407-Q3_K_S) | Q3_K_S | 52.85GB | true | Low quality, not recommended. |
|
54 |
-
| [Mistral-Large-Instruct-2407-IQ3_XXS.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/blob/main/Mistral-Large-Instruct-2407-IQ3_XXS.gguf) | IQ3_XXS | 47.01GB | false | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
55 |
-
| [Mistral-Large-Instruct-2407-Q2_K.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/blob/main/Mistral-Large-Instruct-2407-Q2_K.gguf) | Q2_K | 45.20GB | false | Very low quality but surprisingly usable. |
|
56 |
-
| [Mistral-Large-Instruct-2407-IQ2_M.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/blob/main/Mistral-Large-Instruct-2407-IQ2_M.gguf) | IQ2_M | 41.62GB | false | Relatively low quality, uses SOTA techniques to be surprisingly usable. |
|
57 |
-
| [Mistral-Large-Instruct-2407-IQ2_XS.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/blob/main/Mistral-Large-Instruct-2407-IQ2_XS.gguf) | IQ2_XS | 36.08GB | false | Low quality, uses SOTA techniques to be usable. |
|
58 |
-
| [Mistral-Large-Instruct-2407-IQ2_XXS.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/blob/main/Mistral-Large-Instruct-2407-IQ2_XXS.gguf) | IQ2_XXS | 32.43GB | false | Very low quality, uses SOTA techniques to be usable. |
|
59 |
-
| [Mistral-Large-Instruct-2407-IQ1_M.gguf](https://huggingface.co/bartowski/Mistral-Large-Instruct-2407-GGUF/blob/main/Mistral-Large-Instruct-2407-IQ1_M.gguf) | IQ1_M | 28.39GB | false | Extremely low quality, *not* recommended. |
|
60 |
-
|
61 |
-
## Credits
|
62 |
|
63 |
-
|
|
|
|
|
64 |
|
65 |
-
|
|
|
66 |
|
67 |
-
##
|
68 |
|
69 |
-
|
|
|
70 |
|
71 |
```
|
72 |
-
|
73 |
```
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
```
|
78 |
-
huggingface-cli download bartowski/Mistral-Large-Instruct-2407-GGUF --include "Mistral-Large-Instruct-2407-Q4_K_M.gguf" --local-dir ./
|
79 |
-
```
|
80 |
-
|
81 |
-
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:
|
82 |
-
|
83 |
-
```
|
84 |
-
huggingface-cli download bartowski/Mistral-Large-Instruct-2407-GGUF --include "Mistral-Large-Instruct-2407-Q8_0.gguf/*" --local-dir Mistral-Large-Instruct-2407-Q8_0
|
85 |
-
```
|
86 |
-
|
87 |
-
You can either specify a new local-dir (Mistral-Large-Instruct-2407-Q8_0) or download them all in place (./)
|
88 |
-
|
89 |
-
## Which file should I choose?
|
90 |
-
|
91 |
-
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
92 |
-
|
93 |
-
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.
|
94 |
-
|
95 |
-
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.
|
96 |
-
|
97 |
-
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.
|
98 |
-
|
99 |
-
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
|
100 |
-
|
101 |
-
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.
|
102 |
|
103 |
-
|
104 |
|
105 |
-
|
106 |
|
107 |
-
|
108 |
|
109 |
-
|
110 |
|
111 |
-
|
112 |
|
113 |
-
|
114 |
|
|
|
|
1 |
+
|
2 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
quantized_by: bartowski
|
4 |
+
pipeline_tag: text-generation
|
|
|
5 |
---
|
6 |
+
## 💫 Community Model> Mistral Large Instruct 2407 by Mistralai
|
7 |
|
8 |
+
*👾 [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)*.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
+
**Model creator:** [mistralai](https://huggingface.co/mistralai)<br>
|
11 |
+
**Original model**: [Mistral-Large-Instruct-2407](https://huggingface.co/mistralai/Mistral-Large-Instruct-2407)<br>
|
12 |
+
**GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` release [b3441](https://github.com/ggerganov/llama.cpp/releases/tag/b3441)<br>
|
13 |
|
14 |
+
## Model Summary:
|
15 |
+
Mistral Large 2 has a 128k context window and supports dozens of languages including French, German, Spanish, Italian, Portuguese, Arabic, Hindi, Russian, Chinese, Japanese, and Korean, along with 80+ coding languages including Python, Java, C, C++, JavaScript, and Bash.
|
16 |
|
17 |
+
## Prompt Template:
|
18 |
|
19 |
+
Choose the `Mistral Instruct` preset in your LM Studio.
|
20 |
+
Under the hood, the model will see a prompt that's formatted like so:
|
21 |
|
22 |
```
|
23 |
+
<s>[INST] {prompt}[/INST] </s>
|
24 |
```
|
25 |
|
26 |
+
## Technical Details
|
27 |
+
Mistral Large 2 features enhanced instruction-following and conversational capabilities. Additionally, a significant effort was also devoted to enhancing the model’s reasoning capabilities and decreasing the model’s tendency to “hallucinate” or generate plausible-sounding but factually incorrect or irrelevant information. This was achieved by fine-tuning the model to be more cautious and discerning in its responses, ensuring that it provides reliable and accurate outputs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
+
Mistral Large 2 is equipped with enhanced function calling and retrieval skills and has undergone training to proficiently execute both parallel and sequential function calls, enabling it to serve as the power engine of complex business applications.
|
30 |
|
31 |
+
Mistral Large 2 was trained on a large proportion of multilingual data. In particular, it excels in English, French, German, Spanish, Italian, Portuguese, Dutch, Russian, Chinese, Japanese, Korean, Arabic, and Hindi. Below are the performance results of Mistral Large 2 on the multilingual MMLU benchmark, compared to the previous Mistral Large, Llama 3.1 models, and to Cohere’s Command R+.
|
32 |
|
33 |
+
## Special thanks
|
34 |
|
35 |
+
🙏 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.
|
36 |
|
37 |
+
🙏 Special thanks to [Kalomaze](https://github.com/kalomaze) for his dataset (linked [here](https://github.com/ggerganov/llama.cpp/discussions/5263)) that was used for calculating the imatrix for the IQ1_M and IQ2_XS quants, which makes them usable even at their tiny size!
|
38 |
|
39 |
+
## Disclaimers
|
40 |
|
41 |
+
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.
|