Text Generation
Transformers
GGUF
Inference Endpoints
bartowski commited on
Commit
ddb8edd
1 Parent(s): 1f16cd0

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,25 @@ 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
+ Smaug-Llama-3-70B-Instruct-32K-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Smaug-Llama-3-70B-Instruct-32K-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Smaug-Llama-3-70B-Instruct-32K-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Smaug-Llama-3-70B-Instruct-32K-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Smaug-Llama-3-70B-Instruct-32K-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Smaug-Llama-3-70B-Instruct-32K-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Smaug-Llama-3-70B-Instruct-32K-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Smaug-Llama-3-70B-Instruct-32K-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Smaug-Llama-3-70B-Instruct-32K-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Smaug-Llama-3-70B-Instruct-32K-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Smaug-Llama-3-70B-Instruct-32K-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Smaug-Llama-3-70B-Instruct-32K-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Smaug-Llama-3-70B-Instruct-32K-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Smaug-Llama-3-70B-Instruct-32K-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Smaug-Llama-3-70B-Instruct-32K-Q5_K_L.gguf/Smaug-Llama-3-70B-Instruct-32K-Q5_K_L-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Smaug-Llama-3-70B-Instruct-32K-Q5_K_L.gguf/Smaug-Llama-3-70B-Instruct-32K-Q5_K_L-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Smaug-Llama-3-70B-Instruct-32K-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Smaug-Llama-3-70B-Instruct-32K-Q6_K.gguf/Smaug-Llama-3-70B-Instruct-32K-Q6_K-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Smaug-Llama-3-70B-Instruct-32K-Q6_K.gguf/Smaug-Llama-3-70B-Instruct-32K-Q6_K-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
55
+ Smaug-Llama-3-70B-Instruct-32K-Q8_0.gguf/Smaug-Llama-3-70B-Instruct-32K-Q8_0-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
56
+ Smaug-Llama-3-70B-Instruct-32K-Q8_0.gguf/Smaug-Llama-3-70B-Instruct-32K-Q8_0-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
57
+ Smaug-Llama-3-70B-Instruct-32K.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: llama3
4
+ datasets:
5
+ - aqua_rat
6
+ - microsoft/orca-math-word-problems-200k
7
+ - m-a-p/CodeFeedback-Filtered-Instruction
8
+ quantized_by: bartowski
9
+ pipeline_tag: text-generation
10
+ ---
11
+
12
+ ## Llamacpp imatrix Quantizations of Smaug-Llama-3-70B-Instruct-32K
13
+
14
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3197">b3197</a> for quantization.
15
+
16
+ Original model: https://huggingface.co/abacusai/Smaug-Llama-3-70B-Instruct-32K
17
+
18
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
19
+
20
+ ## Prompt format
21
+
22
+ ```
23
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
24
+
25
+ {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
26
+
27
+ {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
28
+
29
+
30
+ ```
31
+
32
+ ## Download a file (not the whole branch) from below:
33
+
34
+ | Filename | Quant type | File Size | Description |
35
+ | -------- | ---------- | --------- | ----------- |
36
+ | [Smaug-Llama-3-70B-Instruct-32K-Q8_0.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/tree/main/Smaug-Llama-3-70B-Instruct-32K-Q8_0.gguf) | Q8_0 | 74.97GB | Extremely high quality, generally unneeded but max available quant. |
37
+ | [Smaug-Llama-3-70B-Instruct-32K-Q6_K.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/tree/main/Smaug-Llama-3-70B-Instruct-32K-Q6_K.gguf) | Q6_K | 57.88GB | Very high quality, near perfect, *recommended*. |
38
+ | [Smaug-Llama-3-70B-Instruct-32K-Q5_K_L.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/tree/main/Smaug-Llama-3-70B-Instruct-32K-Q5_K_L.gguf) | Q5_K_L | 52.56GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. High quality, *recommended*. |
39
+ | [Smaug-Llama-3-70B-Instruct-32K-Q5_K_M.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-Q5_K_M.gguf) | Q5_K_M | 49.94GB | High quality, *recommended*. |
40
+ | [Smaug-Llama-3-70B-Instruct-32K-Q4_K_L.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-Q4_K_L.gguf) | Q4_K_L | 45.27GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Good quality, uses about 4.83 bits per weight, *recommended*. |
41
+ | [Smaug-Llama-3-70B-Instruct-32K-Q4_K_M.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-Q4_K_M.gguf) | Q4_K_M | 42.52GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
42
+ | [Smaug-Llama-3-70B-Instruct-32K-IQ4_XS.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-IQ4_XS.gguf) | IQ4_XS | 37.90GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
43
+ | [Smaug-Llama-3-70B-Instruct-32K-Q3_K_M.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-Q3_K_M.gguf) | Q3_K_M | 34.26GB | Even lower quality. |
44
+ | [Smaug-Llama-3-70B-Instruct-32K-IQ3_M.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-IQ3_M.gguf) | IQ3_M | 31.93GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
45
+ | [Smaug-Llama-3-70B-Instruct-32K-Q3_K_S.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-Q3_K_S.gguf) | Q3_K_S | 30.91GB | Low quality, not recommended. |
46
+ | [Smaug-Llama-3-70B-Instruct-32K-IQ3_XXS.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-IQ3_XXS.gguf) | IQ3_XXS | 27.46GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
47
+ | [Smaug-Llama-3-70B-Instruct-32K-Q2_K.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-Q2_K.gguf) | Q2_K | 26.37GB | Very low quality but surprisingly usable. |
48
+ | [Smaug-Llama-3-70B-Instruct-32K-IQ2_M.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-IQ2_M.gguf) | IQ2_M | 24.11GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
49
+ | [Smaug-Llama-3-70B-Instruct-32K-IQ2_XS.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-IQ2_XS.gguf) | IQ2_XS | 21.14GB | Lower quality, uses SOTA techniques to be usable. |
50
+ | [Smaug-Llama-3-70B-Instruct-32K-IQ2_XXS.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-IQ2_XXS.gguf) | IQ2_XXS | 19.09GB | Lower quality, uses SOTA techniques to be usable. |
51
+ | [Smaug-Llama-3-70B-Instruct-32K-IQ1_M.gguf](https://huggingface.co/bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF/blob/main/Smaug-Llama-3-70B-Instruct-32K-IQ1_M.gguf) | IQ1_M | 16.75GB | Extremely low quality, *not* recommended. |
52
+
53
+ ## Downloading using huggingface-cli
54
+
55
+ First, make sure you have hugginface-cli installed:
56
+
57
+ ```
58
+ pip install -U "huggingface_hub[cli]"
59
+ ```
60
+
61
+ Then, you can target the specific file you want:
62
+
63
+ ```
64
+ huggingface-cli download bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF --include "Smaug-Llama-3-70B-Instruct-32K-Q4_K_M.gguf" --local-dir ./
65
+ ```
66
+
67
+ 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:
68
+
69
+ ```
70
+ huggingface-cli download bartowski/Smaug-Llama-3-70B-Instruct-32K-GGUF --include "Smaug-Llama-3-70B-Instruct-32K-Q8_0.gguf/*" --local-dir Smaug-Llama-3-70B-Instruct-32K-Q8_0
71
+ ```
72
+
73
+ You can either specify a new local-dir (Smaug-Llama-3-70B-Instruct-32K-Q8_0) or download them all in place (./)
74
+
75
+ ## Which file should I choose?
76
+
77
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
78
+
79
+ 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.
80
+
81
+ 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.
82
+
83
+ 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.
84
+
85
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
86
+
87
+ 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.
88
+
89
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
90
+
91
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
92
+
93
+ 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.
94
+
95
+ 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.
96
+
97
+ 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.
98
+
99
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
Smaug-Llama-3-70B-Instruct-32K-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee8dd70584d4f4aea6359beff758655364af9055a7b8b131d6bb6ade154eb4e1
3
+ size 16751196000
Smaug-Llama-3-70B-Instruct-32K-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9701bdba34c035e7cc4e6be1da8464b0ae798362b712965c33641c7083259b8
3
+ size 24119293792
Smaug-Llama-3-70B-Instruct-32K-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:421face4311a868dcd553a329c1410043c26f498cec714c2e702d4000c5efeea
3
+ size 21142108000
Smaug-Llama-3-70B-Instruct-32K-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7210cdcd1b6a4b3ff33dca03de3000cd2dc85ec5b62fff65e68565b8e7d4ec53
3
+ size 19097384800
Smaug-Llama-3-70B-Instruct-32K-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a89d4e582a7bdf009648cfc0e1bedc00fab941e51823ed02b813c8a1a6c3e406
3
+ size 31937034080
Smaug-Llama-3-70B-Instruct-32K-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60da1342d2fad1a05161edd76895d8044358e87fa650d5038e53ebcb9c254d5a
3
+ size 27469494112
Smaug-Llama-3-70B-Instruct-32K-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0624b297460d6016157ac4bd3e1bfc78eeda493c2db8935ff8ac846580f28a7
3
+ size 37902661472
Smaug-Llama-3-70B-Instruct-32K-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2918045123d19b2df084ebaf99d8cbd27917e5172ca5d183d0cad43f4b066cf7
3
+ size 26375108448
Smaug-Llama-3-70B-Instruct-32K-Q2_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:099f300cf7f2f195855c87035da8612c260aea79952e482945818697bbd61768
3
+ size 29371168608
Smaug-Llama-3-70B-Instruct-32K-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d42c23e00f5bc89e5d9d6db7ecb3fbb2fb256c8beab3d4003a08483b4200589a
3
+ size 34267494240
Smaug-Llama-3-70B-Instruct-32K-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2da188abbf1a1ce2d58ef7c24802637111ae6493c35078ef1a7c32bdf965b533
3
+ size 30912051040
Smaug-Llama-3-70B-Instruct-32K-Q3_K_XL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c036dbf65ce760b35612d128e975058769ee0c0361dbb42b18137caa2dafb12
3
+ size 40029943648
Smaug-Llama-3-70B-Instruct-32K-Q4_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d798bbafd46ad3df5ef53551c2c27f6833300312f5b3c2e94c097f6c9841e36d
3
+ size 45270202208
Smaug-Llama-3-70B-Instruct-32K-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfcfd8f4bfa1aa6738c338cd75047e25c449e64fb3b827380796fa6f79816ee7
3
+ size 42520393568
Smaug-Llama-3-70B-Instruct-32K-Q5_K_L.gguf/Smaug-Llama-3-70B-Instruct-32K-Q5_K_L-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5ac42b193caaafe87054f03329e6928e76d46be253e027000b2862857b9f4bd
3
+ size 39993594656
Smaug-Llama-3-70B-Instruct-32K-Q5_K_L.gguf/Smaug-Llama-3-70B-Instruct-32K-Q5_K_L-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7779a9ff5f997623b725941c090ad9917978fcc44f3961897a49b76f436ab449
3
+ size 12574696736
Smaug-Llama-3-70B-Instruct-32K-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dc955296e854c22a5f78bd4d5d7af044202af1b4754fa205afa25ebce62e258
3
+ size 49949816672
Smaug-Llama-3-70B-Instruct-32K-Q6_K.gguf/Smaug-Llama-3-70B-Instruct-32K-Q6_K-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6350ac49593b6ac964ed1f3c249f42b0f8642f923dec7dc5225b1e1eff2544f8
3
+ size 39862698848
Smaug-Llama-3-70B-Instruct-32K-Q6_K.gguf/Smaug-Llama-3-70B-Instruct-32K-Q6_K-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c9dae1508d0e2bb9b09716e0f8b11d493e56088c5bd94f6a7593e409901ab26
3
+ size 18025444544
Smaug-Llama-3-70B-Instruct-32K-Q8_0.gguf/Smaug-Llama-3-70B-Instruct-32K-Q8_0-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef2635ce9ef641f31e80e05d08bb5e91ce0da49772b15da706ee5f27722265ec
3
+ size 39808935968
Smaug-Llama-3-70B-Instruct-32K-Q8_0.gguf/Smaug-Llama-3-70B-Instruct-32K-Q8_0-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5415b2f11f6247807204606b977460ea4fc914b2358acd91b821685e5575602c
3
+ size 35166113792
Smaug-Llama-3-70B-Instruct-32K.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c6b3517c75fd31eb59149df2a7618daa8fe9f172f430b08ad112667b18d5c98
3
+ size 24922299