bartowski commited on
Commit
03e2df2
1 Parent(s): 4041726

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,26 @@ 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
+ EulerMath-Mistral-7B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ EulerMath-Mistral-7B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ EulerMath-Mistral-7B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ EulerMath-Mistral-7B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ EulerMath-Mistral-7B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ EulerMath-Mistral-7B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ EulerMath-Mistral-7B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ EulerMath-Mistral-7B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ EulerMath-Mistral-7B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ EulerMath-Mistral-7B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ EulerMath-Mistral-7B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ EulerMath-Mistral-7B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ EulerMath-Mistral-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ EulerMath-Mistral-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ EulerMath-Mistral-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ EulerMath-Mistral-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ EulerMath-Mistral-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ EulerMath-Mistral-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ EulerMath-Mistral-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ EulerMath-Mistral-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ EulerMath-Mistral-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ EulerMath-Mistral-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ EulerMath-Mistral-7B.imatrix filter=lfs diff=lfs merge=lfs -text
EulerMath-Mistral-7B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18ec03d6e0ca7e7352a47db0347e0b6e200233dd4483cde6bfc4c3f488828129
3
+ size 1754449984
EulerMath-Mistral-7B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b71aebac61cff79d20c9c9b7ab0451c6c4087e4ed6af30003841e1f70cdfdd9
3
+ size 1612105792
EulerMath-Mistral-7B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:802ddb02c78d4b3e02f26440967e30ca5d49e7355144b6f6ef3adb77790bdb34
3
+ size 2500717024
EulerMath-Mistral-7B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86d36f829c2fb4d714158ee459925d85184da0d9de7483f9da9d47751baba640
3
+ size 2310924768
EulerMath-Mistral-7B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aa8a889acb96fcaba8208d5bcc18376340d3c5912155282031f0ad0748300c0
3
+ size 2198259776
EulerMath-Mistral-7B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98224db49de388414e844e211d5085a8687af19d5f790d7ea516cdbe75691374
3
+ size 1991690304
EulerMath-Mistral-7B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b900768fcf23666b2a28675d87368f5106aa58e3c890cb94f9f2b1e8e7f80c9
3
+ size 3284896768
EulerMath-Mistral-7B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b811a6c94307b77fcd0bcc998edf5439fd115063259a2cdc308f78525d7c5e9
3
+ size 3182398464
EulerMath-Mistral-7B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67b1f8e582ff6c44aa324e3fb234399d6d5c0f4d6df2de548fdacaa2b6061644
3
+ size 3018820608
EulerMath-Mistral-7B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f03cab4079bc205f5541ea03d9a938e8e83c083a84d32591bd4361127630c7bd
3
+ size 2827348448
EulerMath-Mistral-7B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80e45da2b61a966fa390953b8afbdd295ec1f0a13dc854d5d66e5db97f66176d
3
+ size 4125699616
EulerMath-Mistral-7B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c55752a68979cb06421c3be170154b835258222172c1d32fb1d4daf66c90c511
3
+ size 3907693984
EulerMath-Mistral-7B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6064f1ff10b1518168893c6088373a2035b5ded6c2675b784a9c45a91e200256
3
+ size 2719246944
EulerMath-Mistral-7B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06f974f2a51947bff14b3088ff374d4dea873d49ae0224a65fe8180e7e93dc4f
3
+ size 3822029824
EulerMath-Mistral-7B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:766c7bb48a4210359d7d24c9f423b65386f002a41098a0ff75fc56404fb9ebc2
3
+ size 3518991360
EulerMath-Mistral-7B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25ff4b371eb2add75d0d2d9eb47d21118507618801336e0ec220b941a593c081
3
+ size 3164572672
EulerMath-Mistral-7B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01103cfeaffc04bcf05ad7f2b06d0e78425d828d5de4eddcd93c0ea00fb6633b
3
+ size 4368444960
EulerMath-Mistral-7B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b32a8f24c8a5ceb76dd7116340e7c6ede2e3b61fc4a10cf3f4642f854ab2a3a
3
+ size 4140379680
EulerMath-Mistral-7B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d54233bda306ed22b296072a0e178816d44ff002a906dd85740ee9bb403d2680
3
+ size 5131415584
EulerMath-Mistral-7B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:416c2942b4e855429a83fcd2b74b54d8e95cda111c8991f9cf75324a5db9e635
3
+ size 4997722144
EulerMath-Mistral-7B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ad8818340bba7ff11f84f772d38f5fe35768cd259f3feb776f81e215018222e
3
+ size 5942071872
EulerMath-Mistral-7B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:721ae34342e4ba58c380763a3fc5afbb3dad0d54248a5f4d95fcdbd2002cfc2a
3
+ size 7695866368
EulerMath-Mistral-7B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bebfbbac9560505096697fae9cebba293b764286d81a05ebf7c8600e16360fd1
3
+ size 4988126
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - math
5
+ - alpaca
6
+ - synthetic data
7
+ - instruct
8
+ - axolotl
9
+ - finetune
10
+ - gpt4
11
+ datasets:
12
+ - TIGER-Lab/MathInstruct
13
+ - microsoft/orca-math-word-problems-200k
14
+ language:
15
+ - en
16
+ base_model: meta-math/MetaMath-Mistral-7B
17
+ quantized_by: bartowski
18
+ pipeline_tag: text-generation
19
+ ---
20
+
21
+ ## Llamacpp Quantizations of EulerMath-Mistral-7B
22
+
23
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2636">b2636</a> for quantization.
24
+
25
+ Original model: https://huggingface.co/Weyaxi/EulerMath-Mistral-7B
26
+
27
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
28
+
29
+ ## Prompt format
30
+
31
+ ```
32
+ ### Instruction: {prompt}
33
+
34
+ ### Response: </s>
35
+ ```
36
+
37
+ ## Download a file (not the whole branch) from below:
38
+
39
+ | Filename | Quant type | File Size | Description |
40
+ | -------- | ---------- | --------- | ----------- |
41
+ | [EulerMath-Mistral-7B-Q8_0.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q8_0.gguf) | Q8_0 | 7.69GB | Extremely high quality, generally unneeded but max available quant. |
42
+ | [EulerMath-Mistral-7B-Q6_K.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q6_K.gguf) | Q6_K | 5.94GB | Very high quality, near perfect, *recommended*. |
43
+ | [EulerMath-Mistral-7B-Q5_K_M.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q5_K_M.gguf) | Q5_K_M | 5.13GB | High quality, *recommended*. |
44
+ | [EulerMath-Mistral-7B-Q5_K_S.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q5_K_S.gguf) | Q5_K_S | 4.99GB | High quality, *recommended*. |
45
+ | [EulerMath-Mistral-7B-Q4_K_M.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q4_K_M.gguf) | Q4_K_M | 4.36GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
46
+ | [EulerMath-Mistral-7B-Q4_K_S.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q4_K_S.gguf) | Q4_K_S | 4.14GB | Slightly lower quality with more space savings, *recommended*. |
47
+ | [EulerMath-Mistral-7B-IQ4_NL.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ4_NL.gguf) | IQ4_NL | 4.12GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
48
+ | [EulerMath-Mistral-7B-IQ4_XS.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ4_XS.gguf) | IQ4_XS | 3.90GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
49
+ | [EulerMath-Mistral-7B-Q3_K_L.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q3_K_L.gguf) | Q3_K_L | 3.82GB | Lower quality but usable, good for low RAM availability. |
50
+ | [EulerMath-Mistral-7B-Q3_K_M.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q3_K_M.gguf) | Q3_K_M | 3.51GB | Even lower quality. |
51
+ | [EulerMath-Mistral-7B-IQ3_M.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ3_M.gguf) | IQ3_M | 3.28GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
52
+ | [EulerMath-Mistral-7B-IQ3_S.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-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. |
53
+ | [EulerMath-Mistral-7B-Q3_K_S.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q3_K_S.gguf) | Q3_K_S | 3.16GB | Low quality, not recommended. |
54
+ | [EulerMath-Mistral-7B-IQ3_XS.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ3_XS.gguf) | IQ3_XS | 3.01GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
55
+ | [EulerMath-Mistral-7B-IQ3_XXS.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ3_XXS.gguf) | IQ3_XXS | 2.82GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
56
+ | [EulerMath-Mistral-7B-Q2_K.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-Q2_K.gguf) | Q2_K | 2.71GB | Very low quality but surprisingly usable. |
57
+ | [EulerMath-Mistral-7B-IQ2_M.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ2_M.gguf) | IQ2_M | 2.50GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
58
+ | [EulerMath-Mistral-7B-IQ2_S.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ2_S.gguf) | IQ2_S | 2.31GB | Very low quality, uses SOTA techniques to be usable. |
59
+ | [EulerMath-Mistral-7B-IQ2_XS.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ2_XS.gguf) | IQ2_XS | 2.19GB | Very low quality, uses SOTA techniques to be usable. |
60
+ | [EulerMath-Mistral-7B-IQ2_XXS.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ2_XXS.gguf) | IQ2_XXS | 1.99GB | Lower quality, uses SOTA techniques to be usable. |
61
+ | [EulerMath-Mistral-7B-IQ1_M.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ1_M.gguf) | IQ1_M | 1.75GB | Extremely low quality, *not* recommended. |
62
+ | [EulerMath-Mistral-7B-IQ1_S.gguf](https://huggingface.co/bartowski/EulerMath-Mistral-7B-GGUF/blob/main/EulerMath-Mistral-7B-IQ1_S.gguf) | IQ1_S | 1.61GB | Extremely low quality, *not* recommended. |
63
+
64
+ ## Which file should I choose?
65
+
66
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
67
+
68
+ 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.
69
+
70
+ 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.
71
+
72
+ 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.
73
+
74
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
75
+
76
+ 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.
77
+
78
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
79
+
80
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
81
+
82
+ 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.
83
+
84
+ 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.
85
+
86
+ 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.
87
+
88
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski