ADIJASA johnrachwanpruna commited on
Commit
1d80ef3
·
0 Parent(s):

Duplicate from PrunaAI/cognitivecomputations-dolphin-2.9.1-llama-3-8b-GGUF-smashed

Browse files
.gitattributes ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz 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
+ dolphin-2.9.1-llama-3-8b.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
37
+ dolphin-2.9.1-llama-3-8b.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ dolphin-2.9.1-llama-3-8b.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ dolphin-2.9.1-llama-3-8b.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ dolphin-2.9.1-llama-3-8b.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ dolphin-2.9.1-llama-3-8b.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
42
+ dolphin-2.9.1-llama-3-8b.Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
43
+ dolphin-2.9.1-llama-3-8b.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ dolphin-2.9.1-llama-3-8b.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
45
+ dolphin-2.9.1-llama-3-8b.Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
46
+ dolphin-2.9.1-llama-3-8b.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
47
+ dolphin-2.9.1-llama-3-8b.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
48
+ dolphin-2.9.1-llama-3-8b.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
49
+ dolphin-2.9.1-llama-3-8b.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ thumbnail: https://assets-global.website-files.com/646b351987a8d8ce158d1940/64ec9e96b4334c0e1ac41504_Logo%20with%20white%20text.svg
3
+ metrics:
4
+ - memory_disk
5
+ - memory_inference
6
+ - inference_latency
7
+ - inference_throughput
8
+ - inference_CO2_emissions
9
+ - inference_energy_consumption
10
+ tags:
11
+ - pruna-ai
12
+ ---
13
+ <!-- header start -->
14
+ <!-- 200823 -->
15
+ <div style="width: auto; margin-left: auto; margin-right: auto">
16
+ <a href="https://www.pruna.ai/" target="_blank" rel="noopener noreferrer">
17
+ <img src="https://i.imgur.com/eDAlcgk.png" alt="PrunaAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
18
+ </a>
19
+ </div>
20
+ <!-- header end -->
21
+
22
+ [![GitHub](https://img.shields.io/badge/GitHub-PrunaAI-9334E9?style=plastic&logo=github&logoColor=white)](https://github.com/PrunaAI/pruna) &nbsp;
23
+ [![Twitter/X](https://img.shields.io/badge/Twitter%2FX-@PrunaAI-9334E9?style=plastic&logo=x&logoColor=white)](https://twitter.com/PrunaAI) &nbsp;
24
+ [![LinkedIn](https://img.shields.io/badge/LinkedIn-PrunaAI-9334E9?style=plastic&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/pruna-ai) &nbsp;
25
+ [![Discord](https://img.shields.io/badge/Discord-Join%20us-9334E9?style=plastic&logo=discord&logoColor=white)](https://discord.com/invite/JFQmtFKCjd) &nbsp;
26
+ [![P-Models](https://img.shields.io/badge/Performance%20Models-Try%20them%20now-9334E9?style=plastic&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MTEiIGhlaWdodD0iNDc3IiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMjMuNzAzIDMwMC41MzJjLTEuODQyLS42NzQtNC4xNDItMS4wNTctNS43MDMtMi4wMjktMTIuNTU4LTcuODQ2LTguODM3LTI1LjE3MiA1LjI1NS0yOC4zNjFhLjY2LjY2IDAgMCAwIC4zNDgtLjIwMS42LjYgMCAwIDAgLjE1Ni0uMzZxNi40OS04MS45ODYgNjguNTc3LTEzNC42MjlhLjM0LjM0IDAgMCAwIC4wOTItLjEyNS4zMy4zMyAwIDAgMC0uMDI2LS4zLjMzLjMzIDAgMCAwLS4xMTItLjEwOGMtNC4xMTUtMi40OTctOC42NC00Ljc1LTEyLjM1My03LjQ0M2ExOTAgMTkwIDAgMCAxLTE4Ljc5NC0xNS41MjJjLTIuOTM2LTIuNzY4LTMuNzAzLTUuODkxLjU4LTcuNzdhLjUuNSAwIDAgMCAuMjgtLjYwOEM1MyA3NS45NSA0OC40MTcgNDguNTk5IDQ1LjUxOCAxOS42NXEtLjM5My0zLjg1Mi0uMjcxLTYuMzJhLjc1Ljc1IDAgMCAxIC4xMzQtLjQuNy43IDAgMCAxIC4zMjQtLjI1NXEyLjEwNC0uODQyIDUuODQ0LTEuNDMxYzU4LjExNC05Lj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xNy4xMTgtMS45MjYgMjEuMzgzLTIuNjAzLjc3LS4xMjMgMS4zODUtLjE5OSAxLjg3OC0uMjM3LS4zNCAxMy44NDMtMTIuODkzIDI3LjcxLTI3Ljg2OCAyNy43MS0xNS4xNzIgMC0yNy44NzYtMTMuODM1LTI3Ljg3Ni0yOC44MTEgMC0uMzU3LjAyOS0uNTk2LjA1Ny0uNzQ0WiIvPjwvc3ZnPg==)](https://dashboard.pruna.ai/login?utm_source=huggingface&utm_medium=org_card&utm_campaign=hf_traffic)
27
+
28
+ ## This repo contains GGUF versions of the cognitivecomputations/dolphin-2.9.1-llama-3-8b model.
29
+
30
+ # Simply make AI models cheaper, smaller, faster, and greener!
31
+
32
+ - Give a thumbs up if you like this model!
33
+ - Contact us and tell us which model to compress next [here](https://www.pruna.ai/contact).
34
+ - Request access to easily compress your *own* AI models [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).
35
+ - Read the documentations to know more [here](https://pruna-ai-pruna.readthedocs-hosted.com/en/latest/)
36
+ - Join Pruna AI community on Discord [here](https://discord.com/invite/vb6SmA3hxu) to share feedback/suggestions or get help.
37
+
38
+ **Frequently Asked Questions**
39
+ - ***How does the compression work?*** The model is compressed with GGUF.
40
+ - ***How does the model quality change?*** The quality of the model output might vary compared to the base model.
41
+ - ***What is the model format?*** We use GGUF format.
42
+ - ***What calibration data has been used?*** If needed by the compression method, we used WikiText as the calibration data.
43
+ - ***How to compress my own models?*** You can request premium access to more compression methods and tech support for your specific use-cases [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).
44
+
45
+ # Downloading and running the models
46
+
47
+ You can download the individual files from the Files & versions section. Here is a list of the different versions we provide. For more info checkout [this chart](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9) and [this guide](https://www.reddit.com/r/LocalLLaMA/comments/1ba55rj/overview_of_gguf_quantization_methods/):
48
+
49
+ | Quant type | Description |
50
+ |------------|--------------------------------------------------------------------------------------------|
51
+ | Q5_K_M | High quality, recommended. |
52
+ | Q5_K_S | High quality, recommended. |
53
+ | Q4_K_M | Good quality, uses about 4.83 bits per weight, recommended. |
54
+ | Q4_K_S | Slightly lower quality with more space savings, recommended. |
55
+ | IQ4_NL | Decent quality, slightly smaller than Q4_K_S with similar performance, recommended. |
56
+ | IQ4_XS | Decent quality, smaller than Q4_K_S with similar performance, recommended. |
57
+ | Q3_K_L | Lower quality but usable, good for low RAM availability. |
58
+ | Q3_K_M | Even lower quality. |
59
+ | IQ3_M | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
60
+ | IQ3_S | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
61
+ | Q3_K_S | Low quality, not recommended. |
62
+ | IQ3_XS | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
63
+ | Q2_K | Very low quality but surprisingly usable. |
64
+
65
+
66
+ ## How to download GGUF files ?
67
+
68
+ **Note for manual downloaders:** You almost never want to clone the entire repo! Multiple different quantisation formats are provided, and most users only want to pick and download a single file.
69
+
70
+ The following clients/libraries will automatically download models for you, providing a list of available models to choose from:
71
+
72
+ * LM Studio
73
+ * LoLLMS Web UI
74
+ * Faraday.dev
75
+
76
+ - **Option A** - Downloading in `text-generation-webui`:
77
+ - **Step 1**: Under Download Model, you can enter the model repo: PrunaAI/dolphin-2.9.1-llama-3-8b-GGUF-smashed and below it, a specific filename to download, such as: phi-2.IQ3_M.gguf.
78
+ - **Step 2**: Then click Download.
79
+
80
+ - **Option B** - Downloading on the command line (including multiple files at once):
81
+ - **Step 1**: We recommend using the `huggingface-hub` Python library:
82
+ ```shell
83
+ pip3 install huggingface-hub
84
+ ```
85
+ - **Step 2**: Then you can download any individual model file to the current directory, at high speed, with a command like this:
86
+ ```shell
87
+ huggingface-cli download PrunaAI/dolphin-2.9.1-llama-3-8b-GGUF-smashed dolphin-2.9.1-llama-3-8b.IQ3_M.gguf --local-dir . --local-dir-use-symlinks False
88
+ ```
89
+ <details>
90
+ <summary>More advanced huggingface-cli download usage (click to read)</summary>
91
+ Alternatively, you can also download multiple files at once with a pattern:
92
+
93
+ ```shell
94
+ huggingface-cli download PrunaAI/dolphin-2.9.1-llama-3-8b-GGUF-smashed --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'
95
+ ```
96
+
97
+ For more documentation on downloading with `huggingface-cli`, please see: [HF -> Hub Python Library -> Download files -> Download from the CLI](https://huggingface.co/docs/huggingface_hub/guides/download#download-from-the-cli).
98
+
99
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
100
+
101
+ ```shell
102
+ pip3 install hf_transfer
103
+ ```
104
+
105
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
106
+
107
+ ```shell
108
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download PrunaAI/dolphin-2.9.1-llama-3-8b-GGUF-smashed dolphin-2.9.1-llama-3-8b.IQ3_M.gguf --local-dir . --local-dir-use-symlinks False
109
+ ```
110
+
111
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
112
+ </details>
113
+ <!-- README_GGUF.md-how-to-download end -->
114
+
115
+ <!-- README_GGUF.md-how-to-run start -->
116
+
117
+ ## How to run model in GGUF format?
118
+ - **Option A** - Introductory example with `llama.cpp` command
119
+
120
+ Make sure you are using `llama.cpp` from commit [d0cee0d](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
121
+
122
+ ```shell
123
+ ./main -ngl 35 -m dolphin-2.9.1-llama-3-8b.IQ3_M.gguf --color -c 32768 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "<s>[INST] {prompt\} [/INST]"
124
+ ```
125
+
126
+ Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
127
+
128
+ Change `-c 32768` to the desired sequence length. For extended sequence models - eg 8K, 16K, 32K - the necessary RoPE scaling parameters are read from the GGUF file and set by llama.cpp automatically. Note that longer sequence lengths require much more resources, so you may need to reduce this value.
129
+
130
+ If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
131
+
132
+ For other parameters and how to use them, please refer to [the llama.cpp documentation](https://github.com/ggerganov/llama.cpp/blob/master/examples/main/README.md)
133
+
134
+ - **Option B** - Running in `text-generation-webui`
135
+
136
+ Further instructions can be found in the text-generation-webui documentation, here: [text-generation-webui/docs/04 ‐ Model Tab.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/04%20-%20Model%20Tab.md#llamacpp).
137
+
138
+ - **Option C** - Running from Python code
139
+
140
+ You can use GGUF models from Python using the [llama-cpp-python](https://github.com/abetlen/llama-cpp-python) or [ctransformers](https://github.com/marella/ctransformers) libraries. Note that at the time of writing (Nov 27th 2023), ctransformers has not been updated for some time and is not compatible with some recent models. Therefore I recommend you use llama-cpp-python.
141
+
142
+ ### How to load this model in Python code, using llama-cpp-python
143
+
144
+ For full documentation, please see: [llama-cpp-python docs](https://abetlen.github.io/llama-cpp-python/).
145
+
146
+ #### First install the package
147
+
148
+ Run one of the following commands, according to your system:
149
+
150
+ ```shell
151
+ # Base ctransformers with no GPU acceleration
152
+ pip install llama-cpp-python
153
+ # With NVidia CUDA acceleration
154
+ CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
155
+ # Or with OpenBLAS acceleration
156
+ CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
157
+ # Or with CLBLast acceleration
158
+ CMAKE_ARGS="-DLLAMA_CLBLAST=on" pip install llama-cpp-python
159
+ # Or with AMD ROCm GPU acceleration (Linux only)
160
+ CMAKE_ARGS="-DLLAMA_HIPBLAS=on" pip install llama-cpp-python
161
+ # Or with Metal GPU acceleration for macOS systems only
162
+ CMAKE_ARGS="-DLLAMA_METAL=on" pip install llama-cpp-python
163
+
164
+ # In windows, to set the variables CMAKE_ARGS in PowerShell, follow this format; eg for NVidia CUDA:
165
+ $env:CMAKE_ARGS = "-DLLAMA_OPENBLAS=on"
166
+ pip install llama-cpp-python
167
+ ```
168
+
169
+ #### Simple llama-cpp-python example code
170
+
171
+ ```python
172
+ from llama_cpp import Llama
173
+
174
+ # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
175
+ llm = Llama(
176
+ model_path="./dolphin-2.9.1-llama-3-8b.IQ3_M.gguf", # Download the model file first
177
+ n_ctx=32768, # The max sequence length to use - note that longer sequence lengths require much more resources
178
+ n_threads=8, # The number of CPU threads to use, tailor to your system and the resulting performance
179
+ n_gpu_layers=35 # The number of layers to offload to GPU, if you have GPU acceleration available
180
+ )
181
+
182
+ # Simple inference example
183
+ output = llm(
184
+ "<s>[INST] {prompt} [/INST]", # Prompt
185
+ max_tokens=512, # Generate up to 512 tokens
186
+ stop=["</s>"], # Example stop token - not necessarily correct for this specific model! Please check before using.
187
+ echo=True # Whether to echo the prompt
188
+ )
189
+
190
+ # Chat Completion API
191
+
192
+ llm = Llama(model_path="./dolphin-2.9.1-llama-3-8b.IQ3_M.gguf", chat_format="llama-2") # Set chat_format according to the model you are using
193
+ llm.create_chat_completion(
194
+ messages = [
195
+ {"role": "system", "content": "You are a story writing assistant."},
196
+ {
197
+ "role": "user",
198
+ "content": "Write a story about llamas."
199
+ }
200
+ ]
201
+ )
202
+ ```
203
+
204
+ - **Option D** - Running with LangChain
205
+
206
+ Here are guides on using llama-cpp-python and ctransformers with LangChain:
207
+
208
+ * [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
209
+ * [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
210
+
211
+ ## Configurations
212
+
213
+ The configuration info are in `smash_config.json`.
214
+
215
+ ## Credits & License
216
+
217
+ The license of the smashed model follows the license of the original model. Please check the license of the original model before using this model which provided the base model. The license of the `pruna-engine` is [here](https://pypi.org/project/pruna-engine/) on Pypi.
218
+
219
+ ## Want to compress other models?
220
+
221
+ - Compress your own models with [Pruna](https://github.com/PrunaAI/pruna) and give us a ⭐️ to bring you many more algos!
222
+ - Read the documentation to know more [here](https://docs.pruna.ai/)
223
+ - Stay up to date with the latest AI efficiency research on our [blog](https://www.pruna.ai/blog/), explore our [materials collection](https://github.com/PrunaAI/awesome-ai-efficiency), or dive into our [courses](https://github.com/PrunaAI/courses).
224
+ ## ✨ Test our endpoints
225
+
226
+ Want to use our optimized models right away? Try them via our API for fast, easy access to Pruna-powered inference.
227
+
228
+ <style>
229
+ .model-button {
230
+ display: inline-flex;
231
+ flex-direction: row;
232
+ justify-content: center;
233
+ align-items: center;
234
+ gap: 8px;
235
+
236
+ padding: 8px 20px;
237
+ border: none;
238
+ border-radius: 8px;
239
+
240
+ background: #9334e9;
241
+ color: #ffffff;
242
+
243
+ font-size: 14px;
244
+ font-weight: 400;
245
+ line-height: 1;
246
+ text-decoration: none;
247
+ white-space: nowrap;
248
+ cursor: pointer;
249
+
250
+ box-sizing: border-box;
251
+ overflow: visible;
252
+ opacity: 1;
253
+ }
254
+ </style>
255
+
256
+ <a href="https://dashboard.pruna.ai/login?utm_source=huggingface&utm_medium=model_card&utm_campaign=hf_traffic" class="model-button">Try our models</a>
dolphin-2.9.1-llama-3-8b.Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fac21b29cbeea5702126daa7e879a55dc838119fb142ce5f84adc9816713235
3
+ size 3179140544
dolphin-2.9.1-llama-3-8b.Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2380522167e48ad3a8024657a701b8d5b9c43e42ed16b983d6ffd1089dd36eb
3
+ size 4321966336
dolphin-2.9.1-llama-3-8b.Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:800d9d0ef83c479745bca7c906ec055ee65866b3405cffe751567a832b396608
3
+ size 4018927872
dolphin-2.9.1-llama-3-8b.Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20373a0e8c6cd494fd7d9f127c12aeb3c853786ee50404ba671f6349a7e27960
3
+ size 3664509184
dolphin-2.9.1-llama-3-8b.Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77a1562d86529beb12381bdb3d7cc8713faf39c69dc76dbf5c00709932c0c64a
3
+ size 4661222720
dolphin-2.9.1-llama-3-8b.Q4_1.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:059d5bb21f990de42c418833e50e55a722ad1d2aad1c6e6eac5cc81362832b40
3
+ size 5130264384
dolphin-2.9.1-llama-3-8b.Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5449a66c02064315227e236dbcad3bd3833d4bd117f883901529c0a9a512e195
3
+ size 4920745280
dolphin-2.9.1-llama-3-8b.Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb45d854e1f01c07a8b0a0325ff625995b9070709771afd9049fff9f012bb7ce
3
+ size 4692680000
dolphin-2.9.1-llama-3-8b.Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33164f36b04a685ec22ad1890cf7e9ea150c068713952b2c34a94b6830611a98
3
+ size 5599306048
dolphin-2.9.1-llama-3-8b.Q5_1.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ae7cc396d5383d00c748ad0a829a9b8fd1f86fbd07bef7aa9183057b1cc03fe
3
+ size 6068347712
dolphin-2.9.1-llama-3-8b.Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9378f4e5998de34df90d40417256ace75fed45d86e4af22c0ad13bd675be45d5
3
+ size 5732999488
dolphin-2.9.1-llama-3-8b.Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0002295ef1fddfa14ad4c63689aaecafc2d0f3b0b5f363d2d28cedc7c7ac6987
3
+ size 5599306048
dolphin-2.9.1-llama-3-8b.Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3652a9b97912eec552e57e9f1e994450101043d5aabe681f83e85b85f938b92b
3
+ size 6596019584
dolphin-2.9.1-llama-3-8b.Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47b8597235cb02b5dd75ea314aef6bcda987f119d8edebb42af369a7ae8167a3
3
+ size 8540787968
dolphin-2.9.1-llama-3-8b.fp16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5cdf6b38d08afdf6dc841511b7303814eb8da981147439a1288e719f5dc9f1f
3
+ size 16068923616