legraphista commited on
Commit
0e13ff0
β€’
1 Parent(s): 8d281bc

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +149 -0
README.md ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-Large-Instruct-2407
3
+ extra_gated_description: If you want to learn more about how we process your personal
4
+ data, please read our <a href="https://mistral.ai/terms/">Privacy Policy</a>.
5
+ inference: false
6
+ language:
7
+ - en
8
+ - fr
9
+ - de
10
+ - es
11
+ - it
12
+ - pt
13
+ - zh
14
+ - ja
15
+ - ru
16
+ - ko
17
+ library_name: gguf
18
+ license: other
19
+ license_link: https://mistral.ai/licenses/MRL-0.1.md
20
+ license_name: mrl
21
+ pipeline_tag: text-generation
22
+ quantized_by: legraphista
23
+ tags:
24
+ - quantized
25
+ - GGUF
26
+ - quantization
27
+ - imat
28
+ - imatrix
29
+ - static
30
+ - 16bit
31
+ - 8bit
32
+ - 6bit
33
+ - 5bit
34
+ - 4bit
35
+ - 3bit
36
+ - 2bit
37
+ - 1bit
38
+ ---
39
+
40
+ # Mistral-Large-Instruct-2407-IMat-GGUF
41
+ _Llama.cpp imatrix quantization of mistralai/Mistral-Large-Instruct-2407_
42
+
43
+ Original Model: [mistralai/Mistral-Large-Instruct-2407](https://huggingface.co/mistralai/Mistral-Large-Instruct-2407)
44
+ Original dtype: `BF16` (`bfloat16`)
45
+ Quantized by: llama.cpp [b3452](https://github.com/ggerganov/llama.cpp/releases/tag/b3452)
46
+ IMatrix dataset: [here](https://gist.githubusercontent.com/bartowski1182/eb213dccb3571f863da82e99418f81e8/raw/b2869d80f5c16fd7082594248e80144677736635/calibration_datav3.txt)
47
+
48
+ - [Files](#files)
49
+ - [IMatrix](#imatrix)
50
+ - [Common Quants](#common-quants)
51
+ - [All Quants](#all-quants)
52
+ - [Downloading using huggingface-cli](#downloading-using-huggingface-cli)
53
+ - [Inference](#inference)
54
+ - [Llama.cpp](#llama-cpp)
55
+ - [FAQ](#faq)
56
+ - [Why is the IMatrix not applied everywhere?](#why-is-the-imatrix-not-applied-everywhere)
57
+ - [How do I merge a split GGUF?](#how-do-i-merge-a-split-gguf)
58
+
59
+ ---
60
+
61
+ ## Files
62
+
63
+ ### IMatrix
64
+ Status: ⏳ Processing
65
+ Link: [here](https://huggingface.co/legraphista/Mistral-Large-Instruct-2407-IMat-GGUF/blob/main/imatrix.dat)
66
+
67
+ ### Common Quants
68
+ | Filename | Quant type | File Size | Status | Uses IMatrix | Is Split |
69
+ | -------- | ---------- | --------- | ------ | ------------ | -------- |
70
+ | Mistral-Large-Instruct-2407.Q8_0 | Q8_0 | - | ⏳ Processing | βšͺ Static | -
71
+ | Mistral-Large-Instruct-2407.Q6_K | Q6_K | - | ⏳ Processing | βšͺ Static | -
72
+ | Mistral-Large-Instruct-2407.Q4_K | Q4_K | - | ⏳ Processing | 🟒 IMatrix | -
73
+ | Mistral-Large-Instruct-2407.Q3_K | Q3_K | - | ⏳ Processing | 🟒 IMatrix | -
74
+ | Mistral-Large-Instruct-2407.Q2_K | Q2_K | - | ⏳ Processing | 🟒 IMatrix | -
75
+
76
+
77
+ ### All Quants
78
+ | Filename | Quant type | File Size | Status | Uses IMatrix | Is Split |
79
+ | -------- | ---------- | --------- | ------ | ------------ | -------- |
80
+ | Mistral-Large-Instruct-2407.BF16 | BF16 | - | ⏳ Processing | βšͺ Static | -
81
+ | Mistral-Large-Instruct-2407.FP16 | F16 | - | ⏳ Processing | βšͺ Static | -
82
+ | Mistral-Large-Instruct-2407.Q8_0 | Q8_0 | - | ⏳ Processing | βšͺ Static | -
83
+ | Mistral-Large-Instruct-2407.Q6_K | Q6_K | - | ⏳ Processing | βšͺ Static | -
84
+ | Mistral-Large-Instruct-2407.Q5_K | Q5_K | - | ⏳ Processing | βšͺ Static | -
85
+ | Mistral-Large-Instruct-2407.Q5_K_S | Q5_K_S | - | ⏳ Processing | βšͺ Static | -
86
+ | Mistral-Large-Instruct-2407.Q4_K | Q4_K | - | ⏳ Processing | 🟒 IMatrix | -
87
+ | Mistral-Large-Instruct-2407.Q4_K_S | Q4_K_S | - | ⏳ Processing | 🟒 IMatrix | -
88
+ | Mistral-Large-Instruct-2407.IQ4_NL | IQ4_NL | - | ⏳ Processing | 🟒 IMatrix | -
89
+ | Mistral-Large-Instruct-2407.IQ4_XS | IQ4_XS | - | ⏳ Processing | 🟒 IMatrix | -
90
+ | Mistral-Large-Instruct-2407.Q3_K | Q3_K | - | ⏳ Processing | 🟒 IMatrix | -
91
+ | Mistral-Large-Instruct-2407.Q3_K_L | Q3_K_L | - | ⏳ Processing | 🟒 IMatrix | -
92
+ | Mistral-Large-Instruct-2407.Q3_K_S | Q3_K_S | - | ⏳ Processing | 🟒 IMatrix | -
93
+ | Mistral-Large-Instruct-2407.IQ3_M | IQ3_M | - | ⏳ Processing | 🟒 IMatrix | -
94
+ | Mistral-Large-Instruct-2407.IQ3_S | IQ3_S | - | ⏳ Processing | 🟒 IMatrix | -
95
+ | Mistral-Large-Instruct-2407.IQ3_XS | IQ3_XS | - | ⏳ Processing | 🟒 IMatrix | -
96
+ | Mistral-Large-Instruct-2407.IQ3_XXS | IQ3_XXS | - | ⏳ Processing | 🟒 IMatrix | -
97
+ | Mistral-Large-Instruct-2407.Q2_K | Q2_K | - | ⏳ Processing | 🟒 IMatrix | -
98
+ | Mistral-Large-Instruct-2407.Q2_K_S | Q2_K_S | - | ⏳ Processing | 🟒 IMatrix | -
99
+ | Mistral-Large-Instruct-2407.IQ2_M | IQ2_M | - | ⏳ Processing | 🟒 IMatrix | -
100
+ | Mistral-Large-Instruct-2407.IQ2_S | IQ2_S | - | ⏳ Processing | 🟒 IMatrix | -
101
+ | Mistral-Large-Instruct-2407.IQ2_XS | IQ2_XS | - | ⏳ Processing | 🟒 IMatrix | -
102
+ | Mistral-Large-Instruct-2407.IQ2_XXS | IQ2_XXS | - | ⏳ Processing | 🟒 IMatrix | -
103
+ | Mistral-Large-Instruct-2407.IQ1_M | IQ1_M | - | ⏳ Processing | 🟒 IMatrix | -
104
+ | Mistral-Large-Instruct-2407.IQ1_S | IQ1_S | - | ⏳ Processing | 🟒 IMatrix | -
105
+
106
+
107
+ ## Downloading using huggingface-cli
108
+ If you do not have hugginface-cli installed:
109
+ ```
110
+ pip install -U "huggingface_hub[cli]"
111
+ ```
112
+ Download the specific file you want:
113
+ ```
114
+ huggingface-cli download legraphista/Mistral-Large-Instruct-2407-IMat-GGUF --include "Mistral-Large-Instruct-2407.Q8_0.gguf" --local-dir ./
115
+ ```
116
+ If the model file is big, it has been split into multiple files. In order to download them all to a local folder, run:
117
+ ```
118
+ huggingface-cli download legraphista/Mistral-Large-Instruct-2407-IMat-GGUF --include "Mistral-Large-Instruct-2407.Q8_0/*" --local-dir ./
119
+ # see FAQ for merging GGUF's
120
+ ```
121
+
122
+ ---
123
+
124
+ ## Inference
125
+
126
+ ### Llama.cpp
127
+ ```
128
+ llama.cpp/main -m Mistral-Large-Instruct-2407.Q8_0.gguf --color -i -p "prompt here"
129
+ ```
130
+
131
+ ---
132
+
133
+ ## FAQ
134
+
135
+ ### Why is the IMatrix not applied everywhere?
136
+ According to [this investigation](https://www.reddit.com/r/LocalLLaMA/comments/1993iro/ggufs_quants_can_punch_above_their_weights_now/), it appears that lower quantizations are the only ones that benefit from the imatrix input (as per hellaswag results).
137
+
138
+ ### How do I merge a split GGUF?
139
+ 1. Make sure you have `gguf-split` available
140
+ - To get hold of `gguf-split`, navigate to https://github.com/ggerganov/llama.cpp/releases
141
+ - Download the appropriate zip for your system from the latest release
142
+ - Unzip the archive and you should be able to find `gguf-split`
143
+ 2. Locate your GGUF chunks folder (ex: `Mistral-Large-Instruct-2407.Q8_0`)
144
+ 3. Run `gguf-split --merge Mistral-Large-Instruct-2407.Q8_0/Mistral-Large-Instruct-2407.Q8_0-00001-of-XXXXX.gguf Mistral-Large-Instruct-2407.Q8_0.gguf`
145
+ - Make sure to point `gguf-split` to the first chunk of the split.
146
+
147
+ ---
148
+
149
+ Got a suggestion? Ping me [@legraphista](https://x.com/legraphista)!