legraphista commited on
Commit
d2a88a9
β€’
1 Parent(s): 3636f9f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +165 -0
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: cognitivecomputations/dolphin-2.9.1-llama-3-70b
3
+ datasets:
4
+ - cognitivecomputations/Dolphin-2.9
5
+ - teknium/OpenHermes-2.5
6
+ - m-a-p/CodeFeedback-Filtered-Instruction
7
+ - cognitivecomputations/dolphin-coder
8
+ - cognitivecomputations/samantha-data
9
+ - microsoft/orca-math-word-problems-200k
10
+ - Locutusque/function-calling-chatml
11
+ - internlm/Agent-FLAN
12
+ inference: false
13
+ library_name: gguf
14
+ license: llama3
15
+ model-index:
16
+ - name: out
17
+ results: []
18
+ pipeline_tag: text-generation
19
+ quantized_by: legraphista
20
+ tags:
21
+ - quantized
22
+ - GGUF
23
+ - imatrix
24
+ - quantization
25
+ - imat
26
+ - imatrix
27
+ - static
28
+ ---
29
+
30
+ # dolphin-2.9.1-llama-3-70b-IMat-GGUF
31
+ _Llama.cpp imatrix quantization of cognitivecomputations/dolphin-2.9.1-llama-3-70b_
32
+
33
+ Original Model: [cognitivecomputations/dolphin-2.9.1-llama-3-70b](https://huggingface.co/cognitivecomputations/dolphin-2.9.1-llama-3-70b)
34
+ Original dtype: `BF16` (`bfloat16`)
35
+ Quantized by: llama.cpp [b3003](https://github.com/ggerganov/llama.cpp/releases/tag/b3003)
36
+ IMatrix dataset: [here](https://gist.githubusercontent.com/legraphista/d6d93f1a254bcfc58e0af3777eaec41e/raw/d380e7002cea4a51c33fffd47db851942754e7cc/imatrix.calibration.medium.raw)
37
+
38
+ - [dolphin-2.9.1-llama-3-70b-IMat-GGUF](#dolphin-2-9-1-llama-3-70b-imat-gguf)
39
+ - [Files](#files)
40
+ - [IMatrix](#imatrix)
41
+ - [Common Quants](#common-quants)
42
+ - [All Quants](#all-quants)
43
+ - [Downloading using huggingface-cli](#downloading-using-huggingface-cli)
44
+ - [Inference](#inference)
45
+ - [Simple chat template](#simple-chat-template)
46
+ - [Chat template with system prompt](#chat-template-with-system-prompt)
47
+ - [Llama.cpp](#llama-cpp)
48
+ - [FAQ](#faq)
49
+ - [Why is the IMatrix not applied everywhere?](#why-is-the-imatrix-not-applied-everywhere)
50
+ - [How do I merge a split GGUF?](#how-do-i-merge-a-split-gguf)
51
+
52
+ ---
53
+
54
+ ## Files
55
+
56
+ ### IMatrix
57
+ Status: ⏳ Processing
58
+ Link: [here](https://huggingface.co/legraphista/dolphin-2.9.1-llama-3-70b-IMat-GGUF/blob/main/imatrix.dat)
59
+
60
+ ### Common Quants
61
+ | Filename | Quant type | File Size | Status | Uses IMatrix | Is Split |
62
+ | -------- | ---------- | --------- | ------ | ------------ | -------- |
63
+ | dolphin-2.9.1-llama-3-70b.Q8_0 | Q8_0 | - | ⏳ Processing | βšͺ Static | -
64
+ | dolphin-2.9.1-llama-3-70b.Q6_K | Q6_K | - | ⏳ Processing | βšͺ Static | -
65
+ | dolphin-2.9.1-llama-3-70b.Q4_K | Q4_K | - | ⏳ Processing | 🟒 IMatrix | -
66
+ | dolphin-2.9.1-llama-3-70b.Q3_K | Q3_K | - | ⏳ Processing | 🟒 IMatrix | -
67
+ | dolphin-2.9.1-llama-3-70b.Q2_K | Q2_K | - | ⏳ Processing | 🟒 IMatrix | -
68
+
69
+
70
+ ### All Quants
71
+ | Filename | Quant type | File Size | Status | Uses IMatrix | Is Split |
72
+ | -------- | ---------- | --------- | ------ | ------------ | -------- |
73
+ | dolphin-2.9.1-llama-3-70b.FP16 | F16 | - | ⏳ Processing | βšͺ Static | -
74
+ | dolphin-2.9.1-llama-3-70b.BF16 | BF16 | - | ⏳ Processing | βšͺ Static | -
75
+ | dolphin-2.9.1-llama-3-70b.Q5_K | Q5_K | - | ⏳ Processing | βšͺ Static | -
76
+ | dolphin-2.9.1-llama-3-70b.Q5_K_S | Q5_K_S | - | ⏳ Processing | βšͺ Static | -
77
+ | dolphin-2.9.1-llama-3-70b.Q4_K_S | Q4_K_S | - | ⏳ Processing | 🟒 IMatrix | -
78
+ | dolphin-2.9.1-llama-3-70b.Q3_K_L | Q3_K_L | - | ⏳ Processing | 🟒 IMatrix | -
79
+ | dolphin-2.9.1-llama-3-70b.Q3_K_S | Q3_K_S | - | ⏳ Processing | 🟒 IMatrix | -
80
+ | dolphin-2.9.1-llama-3-70b.Q2_K_S | Q2_K_S | - | ⏳ Processing | 🟒 IMatrix | -
81
+ | dolphin-2.9.1-llama-3-70b.IQ4_NL | IQ4_NL | - | ⏳ Processing | 🟒 IMatrix | -
82
+ | dolphin-2.9.1-llama-3-70b.IQ4_XS | IQ4_XS | - | ⏳ Processing | 🟒 IMatrix | -
83
+ | dolphin-2.9.1-llama-3-70b.IQ3_M | IQ3_M | - | ⏳ Processing | 🟒 IMatrix | -
84
+ | dolphin-2.9.1-llama-3-70b.IQ3_S | IQ3_S | - | ⏳ Processing | 🟒 IMatrix | -
85
+ | dolphin-2.9.1-llama-3-70b.IQ3_XS | IQ3_XS | - | ⏳ Processing | 🟒 IMatrix | -
86
+ | dolphin-2.9.1-llama-3-70b.IQ3_XXS | IQ3_XXS | - | ⏳ Processing | 🟒 IMatrix | -
87
+ | dolphin-2.9.1-llama-3-70b.IQ2_M | IQ2_M | - | ⏳ Processing | 🟒 IMatrix | -
88
+ | dolphin-2.9.1-llama-3-70b.IQ2_S | IQ2_S | - | ⏳ Processing | 🟒 IMatrix | -
89
+ | dolphin-2.9.1-llama-3-70b.IQ2_XS | IQ2_XS | - | ⏳ Processing | 🟒 IMatrix | -
90
+ | dolphin-2.9.1-llama-3-70b.IQ2_XXS | IQ2_XXS | - | ⏳ Processing | 🟒 IMatrix | -
91
+ | dolphin-2.9.1-llama-3-70b.IQ1_M | IQ1_M | - | ⏳ Processing | 🟒 IMatrix | -
92
+ | dolphin-2.9.1-llama-3-70b.IQ1_S | IQ1_S | - | ⏳ Processing | 🟒 IMatrix | -
93
+
94
+
95
+ ## Downloading using huggingface-cli
96
+ If you do not have hugginface-cli installed:
97
+ ```
98
+ pip install -U "huggingface_hub[cli]"
99
+ ```
100
+ Download the specific file you want:
101
+ ```
102
+ huggingface-cli download legraphista/dolphin-2.9.1-llama-3-70b-IMat-GGUF --include "dolphin-2.9.1-llama-3-70b.Q8_0.gguf" --local-dir ./
103
+ ```
104
+ If the model file is big, it has been split into multiple files. In order to download them all to a local folder, run:
105
+ ```
106
+ huggingface-cli download legraphista/dolphin-2.9.1-llama-3-70b-IMat-GGUF --include "dolphin-2.9.1-llama-3-70b.Q8_0/*" --local-dir dolphin-2.9.1-llama-3-70b.Q8_0
107
+ # see FAQ for merging GGUF's
108
+ ```
109
+
110
+ ---
111
+
112
+ ## Inference
113
+
114
+ ### Simple chat template
115
+ ```
116
+ <|im_start|>user
117
+ Can you provide ways to eat combinations of bananas and dragonfruits?<|im_end|>
118
+ <|im_start|>assistant
119
+ Sure! Here are some ways to eat bananas and dragonfruits together:
120
+ 1. Banana and dragonfruit smoothie: Blend bananas and dragonfruits together with some milk and honey.
121
+ 2. Banana and dragonfruit salad: Mix sliced bananas and dragonfruits together with some lemon juice and honey.<|im_end|>
122
+ <|im_start|>user
123
+ What about solving an 2x + 3 = 7 equation?<|im_end|>
124
+
125
+ ```
126
+
127
+ ### Chat template with system prompt
128
+ ```
129
+ <|im_start|>system
130
+ You are a helpful AI.<|im_end|>
131
+ <|im_start|>user
132
+ Can you provide ways to eat combinations of bananas and dragonfruits?<|im_end|>
133
+ <|im_start|>assistant
134
+ Sure! Here are some ways to eat bananas and dragonfruits together:
135
+ 1. Banana and dragonfruit smoothie: Blend bananas and dragonfruits together with some milk and honey.
136
+ 2. Banana and dragonfruit salad: Mix sliced bananas and dragonfruits together with some lemon juice and honey.<|im_end|>
137
+ <|im_start|>user
138
+ What about solving an 2x + 3 = 7 equation?<|im_end|>
139
+
140
+ ```
141
+
142
+ ### Llama.cpp
143
+ ```
144
+ llama.cpp/main -m dolphin-2.9.1-llama-3-70b.Q8_0.gguf --color -i -p "prompt here (according to the chat template)"
145
+ ```
146
+
147
+ ---
148
+
149
+ ## FAQ
150
+
151
+ ### Why is the IMatrix not applied everywhere?
152
+ 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).
153
+
154
+ ### How do I merge a split GGUF?
155
+ 1. Make sure you have `gguf-split` available
156
+ - To get hold of `gguf-split`, navigate to https://github.com/ggerganov/llama.cpp/releases
157
+ - Download the appropriate zip for your system from the latest release
158
+ - Unzip the archive and you should be able to find `gguf-split`
159
+ 2. Locate your GGUF chunks folder (ex: `dolphin-2.9.1-llama-3-70b.Q8_0`)
160
+ 3. Run `gguf-split --merge dolphin-2.9.1-llama-3-70b.Q8_0/dolphin-2.9.1-llama-3-70b.Q8_0-00001-of-XXXXX.gguf dolphin-2.9.1-llama-3-70b.Q8_0.gguf`
161
+ - Make sure to point `gguf-split` to the first chunk of the split.
162
+
163
+ ---
164
+
165
+ Got a suggestion? Ping me [@legraphista](https://x.com/legraphista)!