TheBloke commited on
Commit
ad07a47
1 Parent(s): e95d6fe

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +76 -62
README.md CHANGED
@@ -1,62 +1,80 @@
1
  ---
2
  inference: false
3
- license: other
 
 
 
4
  model_type: llama
 
5
  ---
6
 
7
  <!-- header start -->
8
- <div style="width: 100%;">
9
- <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
 
10
  </div>
11
  <div style="display: flex; justify-content: space-between; width: 100%;">
12
  <div style="display: flex; flex-direction: column; align-items: flex-start;">
13
- <p><a href="https://discord.gg/theblokeai">Chat & support: my new Discord server</a></p>
14
  </div>
15
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
16
- <p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
17
  </div>
18
  </div>
 
 
19
  <!-- header end -->
20
 
21
- # Tap-M's Luna AI Llama2 Uncensored GGML
 
 
22
 
23
- These files are GGML format model files for [Tap-M's Luna AI Llama2 Uncensored](https://huggingface.co/Tap-M/Luna-AI-Llama2-Uncensored).
 
 
 
 
 
 
 
 
 
24
 
25
  GGML files are for CPU + GPU inference using [llama.cpp](https://github.com/ggerganov/llama.cpp) and libraries and UIs which support this format, such as:
26
- * [KoboldCpp](https://github.com/LostRuins/koboldcpp), a powerful GGML web UI with full GPU acceleration out of the box. Especially good for story telling.
27
- * [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with GPU acceleration via the c_transformers backend.
28
- * [LM Studio](https://lmstudio.ai/), a fully featured local GUI. Supports full GPU accel on macOS. Also supports Windows, without GPU accel.
29
- * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most popular web UI. Requires extra steps to enable GPU accel via llama.cpp backend.
30
- * [ctransformers](https://github.com/marella/ctransformers), a Python library with LangChain support and OpenAI-compatible AI server.
31
- * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with OpenAI-compatible API server.
32
 
33
  Many thanks to William Beauchamp from [Chai](https://chai-research.com/) for providing the hardware used to make and upload these files!
34
 
35
  ## Repositories available
36
 
37
  * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GPTQ)
38
- * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML)
39
- * [Original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Tap-M/Luna-AI-Llama2-Uncensored)
 
40
 
41
  ## Prompt template: User-Assistant
42
 
43
  ```
44
  USER: {prompt}
45
  ASSISTANT:
 
46
  ```
47
 
48
  <!-- compatibility_ggml start -->
49
  ## Compatibility
50
 
51
- ### Original llama.cpp quant methods: `q4_0, q4_1, q5_0, q5_1, q8_0`
52
 
53
- These are guaranteed to be compatible with any UIs, tools and libraries released since late May. They may be phased out soon, as they are largely superseded by the new k-quant methods.
54
 
55
- ### New k-quant methods: `q2_K, q3_K_S, q3_K_M, q3_K_L, q4_K_S, q4_K_M, q5_K_S, q6_K`
56
 
57
- These new quantisation methods are compatible with llama.cpp as of June 6th, commit `2d43387`.
58
-
59
- They are now also compatible with recent releases of text-generation-webui, KoboldCpp, llama-cpp-python, ctransformers, rustformers and most others. For compatibility with other tools and libraries, please check their documentation.
60
 
61
  ## Explanation of the new k-quant methods
62
  <details>
@@ -75,43 +93,51 @@ Refer to the Provided Files table below to see what files use which methods, and
75
  <!-- compatibility_ggml end -->
76
 
77
  ## Provided files
 
78
  | Name | Quant method | Bits | Size | Max RAM required | Use case |
79
  | ---- | ---- | ---- | ---- | ---- | ----- |
80
- | luna-ai-llama2-uncensored.ggmlv3.q2_K.bin | q2_K | 2 | 2.87 GB| 5.37 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.vw and feed_forward.w2 tensors, GGML_TYPE_Q2_K for the other tensors. |
81
- | luna-ai-llama2-uncensored.ggmlv3.q3_K_L.bin | q3_K_L | 3 | 3.60 GB| 6.10 GB | New k-quant method. Uses GGML_TYPE_Q5_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
82
- | luna-ai-llama2-uncensored.ggmlv3.q3_K_M.bin | q3_K_M | 3 | 3.28 GB| 5.78 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
83
- | luna-ai-llama2-uncensored.ggmlv3.q3_K_S.bin | q3_K_S | 3 | 2.95 GB| 5.45 GB | New k-quant method. Uses GGML_TYPE_Q3_K for all tensors |
84
- | luna-ai-llama2-uncensored.ggmlv3.q4_0.bin | q4_0 | 4 | 3.79 GB| 6.29 GB | Original quant method, 4-bit. |
85
- | luna-ai-llama2-uncensored.ggmlv3.q4_1.bin | q4_1 | 4 | 4.21 GB| 6.71 GB | Original quant method, 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
86
- | luna-ai-llama2-uncensored.ggmlv3.q4_K_M.bin | q4_K_M | 4 | 4.08 GB| 6.58 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q4_K |
87
- | luna-ai-llama2-uncensored.ggmlv3.q4_K_S.bin | q4_K_S | 4 | 3.83 GB| 6.33 GB | New k-quant method. Uses GGML_TYPE_Q4_K for all tensors |
88
- | luna-ai-llama2-uncensored.ggmlv3.q5_0.bin | q5_0 | 5 | 4.63 GB| 7.13 GB | Original quant method, 5-bit. Higher accuracy, higher resource usage and slower inference. |
89
- | luna-ai-llama2-uncensored.ggmlv3.q5_1.bin | q5_1 | 5 | 5.06 GB| 7.56 GB | Original quant method, 5-bit. Even higher accuracy, resource usage and slower inference. |
90
- | luna-ai-llama2-uncensored.ggmlv3.q5_K_M.bin | q5_K_M | 5 | 4.78 GB| 7.28 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q5_K |
91
- | luna-ai-llama2-uncensored.ggmlv3.q5_K_S.bin | q5_K_S | 5 | 4.65 GB| 7.15 GB | New k-quant method. Uses GGML_TYPE_Q5_K for all tensors |
92
- | luna-ai-llama2-uncensored.ggmlv3.q6_K.bin | q6_K | 6 | 5.53 GB| 8.03 GB | New k-quant method. Uses GGML_TYPE_Q8_K for all tensors - 6-bit quantization |
93
- | luna-ai-llama2-uncensored.ggmlv3.q8_0.bin | q8_0 | 8 | 7.16 GB| 9.66 GB | Original quant method, 8-bit. Almost indistinguishable from float16. High resource use and slow. Not recommended for most users. |
94
 
95
  **Note**: the above RAM figures assume no GPU offloading. If layers are offloaded to the GPU, this will reduce RAM usage and use VRAM instead.
96
 
97
  ## How to run in `llama.cpp`
98
 
99
- I use the following command line; adjust for your tastes and needs:
 
 
100
 
101
  ```
102
- ./main -t 10 -ngl 32 -m luna-ai-llama2-uncensored.ggmlv3.q4_0.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### Instruction: Write a story about llamas\n### Response:"
103
  ```
104
  Change `-t 10` to the number of physical CPU cores you have. For example if your system has 8 cores/16 threads, use `-t 8`.
105
 
106
  Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
107
 
 
 
108
  If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
109
 
 
 
110
  ## How to run in `text-generation-webui`
111
 
112
- Further instructions here: [text-generation-webui/docs/llama.cpp-models.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp-models.md).
113
 
114
  <!-- footer start -->
 
115
  ## Discord
116
 
117
  For further support, and discussions on these models and AI in general, join us at:
@@ -131,12 +157,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
131
  * Patreon: https://patreon.com/TheBlokeAI
132
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
133
 
134
- **Special thanks to**: Luke from CarbonQuill, Aemon Algiz.
 
 
135
 
136
- **Patreon special mentions**: Space Cruiser, Nikolai Manek, Sam, Chris McCloskey, Rishabh Srivastava, Kalila, Spiking Neurons AB, Khalefa Al-Ahmad, WelcomeToTheClub, Chadd, Lone Striker, Viktor Bowallius, Edmond Seymore, Ai Maven, Chris Smitley, Dave, Alexandros Triantafyllidis, Luke @flexchar, Elle, ya boyyy, Talal Aujan, Alex , Jonathan Leane, Deep Realms, Randy H, subjectnull, Preetika Verma, Joseph William Delisle, Michael Levine, chris gileta, K, Oscar Rangel, LangChain4j, Trenton Dambrowitz, Eugene Pentland, Johann-Peter Hartmann, Femi Adebogun, Illia Dulskyi, senxiiz, Daniel P. Andersen, Sean Connelly, Artur Olbinski, RoA, Mano Prime, Derek Yates, Raven Klaugh, David Flickinger, Willem Michiel, Pieter, Willian Hasse, vamX, Luke Pendergrass, webtim, Ghost , Rainer Wilmers, Nathan LeClaire, Will Dee, Cory Kujawski, John Detwiler, Fred von Graf, biorpg, Iucharbius , Imad Khwaja, Pierre Kircher, terasurfer , Asp the Wyvern, John Villwock, theTransient, zynix , Gabriel Tamborski, Fen Risland, Gabriel Puliatti, Matthew Berman, Pyrater, SuperWojo, Stephen Murray, Karl Bernard, Ajan Kanaga, Greatston Gnanesh, Junyu Yang.
137
 
138
  Thank you to all my generous patrons and donaters!
139
 
 
 
140
  <!-- footer end -->
141
 
142
  # Original model card: Tap-M's Luna AI Llama2 Uncensored
@@ -147,15 +176,16 @@ Thank you to all my generous patrons and donaters!
147
  <h2>Model Description</h2>
148
  <p>“Luna AI Llama2 Uncensored” is a Llama2 based Chat model <br />fine-tuned on over 40,000 long form chat discussions <br />
149
  This model was fine-tuned by Tap, the creator of Luna AI. <br />
150
- The result is an enhanced Llama2 7b model that rivals ChatGPT in performance <br />across a variety of tasks.</p>
151
- <p>This model stands out for its long responses, low hallucination rate, and absence of censorship mechanisms. <br /></p>
152
-
153
  <h2>Model Training</h2>
154
  <p>The fine-tuning process was performed on an 8x a100 80GB machine.
155
- <br />The model was trained almost entirely on synthetic outputs.
156
- <br />This includes data from diverse sources which we included to create our custom dataset, it includes multiple rounds of chats between Human & AI.
157
  </p>
158
 
 
 
 
 
159
  <h2>Prompt Format</h2>
160
  <p>The model follows the Vicuna 1.1/ OpenChat format:</p>
161
 
@@ -166,10 +196,6 @@ ASSISTANT: Of course! Friends are always here for each other. What do you like t
166
 
167
  ```
168
 
169
-
170
- <h2>Future Plans</h2>
171
- <p>The model is currently being uploaded in FP16 format, <br />and there are plans to convert the model to GGML and GPTQ 4bit quantizations.</p>
172
-
173
  <h2>Benchmark Results</h2>
174
 
175
  ||||||
@@ -177,22 +203,10 @@ ASSISTANT: Of course! Friends are always here for each other. What do you like t
177
  |Task|Version| Metric |Value |Stderr|
178
  |arc_challenge|0|acc_norm|0.5512|0.0146|
179
  |hellaswag|0||||
180
- |mmlu|0||||
181
  |truthfulqa_mc|1|mc2|0.4716|0.0155|
182
  |Average|-|-|0.5114|0.0150|
183
 
184
- <h2>Ethical considerations</h2>
185
- <p>The data used to train the model is collected from various sources, mostly from the Web. <br />
186
- As such, it contains offensive, harmful and biased content. <br />We thus expect the model to exhibit such biases from the training data.</p>
187
-
188
- <h2>Human life</h2>
189
- <p>The model is not intended to inform decisions about matters central to human life, <br />and should not be used in such a way.</p>
190
-
191
- <h2>Risks and harms</h2>
192
- <p>Risks and harms of large language models include the generation of harmful, offensive or biased content. <br />
193
- These models are often prone to generating incorrect information, sometimes referred to as hallucinations.
194
- <br /> We do not expect our model to be an exception in this regard.</p>
195
-
196
  </div>
197
 
198
 
 
1
  ---
2
  inference: false
3
+ license: llama2
4
+ model_creator: Tap
5
+ model_link: https://huggingface.co/Tap-M/Luna-AI-Llama2-Uncensored
6
+ model_name: Luna AI Llama2 Uncensored
7
  model_type: llama
8
+ quantized_by: TheBloke
9
  ---
10
 
11
  <!-- header start -->
12
+ <!-- 200823 -->
13
+ <div style="width: auto; margin-left: auto; margin-right: auto">
14
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
15
  </div>
16
  <div style="display: flex; justify-content: space-between; width: 100%;">
17
  <div style="display: flex; flex-direction: column; align-items: flex-start;">
18
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
19
  </div>
20
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
21
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
22
  </div>
23
  </div>
24
+ <div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div>
25
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
26
  <!-- header end -->
27
 
28
+ # Luna AI Llama2 Uncensored - GGML
29
+ - Model creator: [Tap](https://huggingface.co/Tap-M)
30
+ - Original model: [Luna AI Llama2 Uncensored](https://huggingface.co/Tap-M/Luna-AI-Llama2-Uncensored)
31
 
32
+ ## Description
33
+
34
+ This repo contains GGML format model files for [Tap-M's Luna AI Llama2 Uncensored](https://huggingface.co/Tap-M/Luna-AI-Llama2-Uncensored).
35
+
36
+ ### Important note regarding GGML files.
37
+
38
+ The GGML format has now been superseded by GGUF. As of August 21st 2023, [llama.cpp](https://github.com/ggerganov/llama.cpp) no longer supports GGML models. Third party clients and libraries are expected to still support it for a time, but many may also drop support.
39
+
40
+ Please use the GGUF models instead.
41
+ ### About GGML
42
 
43
  GGML files are for CPU + GPU inference using [llama.cpp](https://github.com/ggerganov/llama.cpp) and libraries and UIs which support this format, such as:
44
+ * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most popular web UI. Supports NVidia CUDA GPU acceleration.
45
+ * [KoboldCpp](https://github.com/LostRuins/koboldcpp), a powerful GGML web UI with GPU acceleration on all platforms (CUDA and OpenCL). Especially good for story telling.
46
+ * [LM Studio](https://lmstudio.ai/), a fully featured local GUI with GPU acceleration on both Windows (NVidia and AMD), and macOS.
47
+ * [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with CUDA GPU acceleration via the c_transformers backend.
48
+ * [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
49
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
50
 
51
  Many thanks to William Beauchamp from [Chai](https://chai-research.com/) for providing the hardware used to make and upload these files!
52
 
53
  ## Repositories available
54
 
55
  * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GPTQ)
56
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGUF)
57
+ * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference (deprecated)](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML)
58
+ * [Tap's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Tap-M/Luna-AI-Llama2-Uncensored)
59
 
60
  ## Prompt template: User-Assistant
61
 
62
  ```
63
  USER: {prompt}
64
  ASSISTANT:
65
+
66
  ```
67
 
68
  <!-- compatibility_ggml start -->
69
  ## Compatibility
70
 
71
+ These quantised GGML files are compatible with llama.cpp between June 6th (commit `2d43387`) and August 21st 2023.
72
 
73
+ For support with latest llama.cpp, please use GGUF files instead.
74
 
75
+ The final llama.cpp commit with support for GGML was: [dadbed99e65252d79f81101a392d0d6497b86caa](https://github.com/ggerganov/llama.cpp/commit/dadbed99e65252d79f81101a392d0d6497b86caa)
76
 
77
+ As of August 23rd 2023 they are still compatible with all UIs, libraries and utilities which use GGML. This may change in the future.
 
 
78
 
79
  ## Explanation of the new k-quant methods
80
  <details>
 
93
  <!-- compatibility_ggml end -->
94
 
95
  ## Provided files
96
+
97
  | Name | Quant method | Bits | Size | Max RAM required | Use case |
98
  | ---- | ---- | ---- | ---- | ---- | ----- |
99
+ | [luna-ai-llama2-uncensored.ggmlv3.q2_K.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q2_K.bin) | q2_K | 2 | 2.87 GB| 5.37 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.vw and feed_forward.w2 tensors, GGML_TYPE_Q2_K for the other tensors. |
100
+ | [luna-ai-llama2-uncensored.ggmlv3.q3_K_S.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q3_K_S.bin) | q3_K_S | 3 | 2.95 GB| 5.45 GB | New k-quant method. Uses GGML_TYPE_Q3_K for all tensors |
101
+ | [luna-ai-llama2-uncensored.ggmlv3.q3_K_M.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q3_K_M.bin) | q3_K_M | 3 | 3.28 GB| 5.78 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
102
+ | [luna-ai-llama2-uncensored.ggmlv3.q3_K_L.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q3_K_L.bin) | q3_K_L | 3 | 3.60 GB| 6.10 GB | New k-quant method. Uses GGML_TYPE_Q5_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
103
+ | [luna-ai-llama2-uncensored.ggmlv3.q4_0.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q4_0.bin) | q4_0 | 4 | 3.79 GB| 6.29 GB | Original quant method, 4-bit. |
104
+ | [luna-ai-llama2-uncensored.ggmlv3.q4_K_S.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q4_K_S.bin) | q4_K_S | 4 | 3.83 GB| 6.33 GB | New k-quant method. Uses GGML_TYPE_Q4_K for all tensors |
105
+ | [luna-ai-llama2-uncensored.ggmlv3.q4_K_M.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q4_K_M.bin) | q4_K_M | 4 | 4.08 GB| 6.58 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q4_K |
106
+ | [luna-ai-llama2-uncensored.ggmlv3.q4_1.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q4_1.bin) | q4_1 | 4 | 4.21 GB| 6.71 GB | Original quant method, 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
107
+ | [luna-ai-llama2-uncensored.ggmlv3.q5_0.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q5_0.bin) | q5_0 | 5 | 4.63 GB| 7.13 GB | Original quant method, 5-bit. Higher accuracy, higher resource usage and slower inference. |
108
+ | [luna-ai-llama2-uncensored.ggmlv3.q5_K_S.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q5_K_S.bin) | q5_K_S | 5 | 4.65 GB| 7.15 GB | New k-quant method. Uses GGML_TYPE_Q5_K for all tensors |
109
+ | [luna-ai-llama2-uncensored.ggmlv3.q5_K_M.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q5_K_M.bin) | q5_K_M | 5 | 4.78 GB| 7.28 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q5_K |
110
+ | [luna-ai-llama2-uncensored.ggmlv3.q5_1.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q5_1.bin) | q5_1 | 5 | 5.06 GB| 7.56 GB | Original quant method, 5-bit. Even higher accuracy, resource usage and slower inference. |
111
+ | [luna-ai-llama2-uncensored.ggmlv3.q6_K.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q6_K.bin) | q6_K | 6 | 5.53 GB| 8.03 GB | New k-quant method. Uses GGML_TYPE_Q8_K for all tensors - 6-bit quantization |
112
+ | [luna-ai-llama2-uncensored.ggmlv3.q8_0.bin](https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/blob/main/luna-ai-llama2-uncensored.ggmlv3.q8_0.bin) | q8_0 | 8 | 7.16 GB| 9.66 GB | Original quant method, 8-bit. Almost indistinguishable from float16. High resource use and slow. Not recommended for most users. |
113
 
114
  **Note**: the above RAM figures assume no GPU offloading. If layers are offloaded to the GPU, this will reduce RAM usage and use VRAM instead.
115
 
116
  ## How to run in `llama.cpp`
117
 
118
+ Make sure you are using `llama.cpp` from commit [dadbed99e65252d79f81101a392d0d6497b86caa](https://github.com/ggerganov/llama.cpp/commit/dadbed99e65252d79f81101a392d0d6497b86caa) or earlier.
119
+
120
+ For compatibility with latest llama.cpp, please use GGUF files instead.
121
 
122
  ```
123
+ ./main -t 10 -ngl 32 -m luna-ai-llama2-uncensored.ggmlv3.q4_K_M.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "USER: Write a story about llamas\nASSISTANT:"
124
  ```
125
  Change `-t 10` to the number of physical CPU cores you have. For example if your system has 8 cores/16 threads, use `-t 8`.
126
 
127
  Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
128
 
129
+ Change `-c 2048` to the desired sequence length for this model. For example, `-c 4096` for a Llama 2 model. For models that use RoPE, add `--rope-freq-base 10000 --rope-freq-scale 0.5` for doubled context, or `--rope-freq-base 10000 --rope-freq-scale 0.25` for 4x context.
130
+
131
  If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
132
 
133
+ 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)
134
+
135
  ## How to run in `text-generation-webui`
136
 
137
+ Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
138
 
139
  <!-- footer start -->
140
+ <!-- 200823 -->
141
  ## Discord
142
 
143
  For further support, and discussions on these models and AI in general, join us at:
 
157
  * Patreon: https://patreon.com/TheBlokeAI
158
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
159
 
160
+ **Special thanks to**: Aemon Algiz.
161
+
162
+ **Patreon special mentions**: Russ Johnson, J, alfie_i, Alex, NimbleBox.ai, Chadd, Mandus, Nikolai Manek, Ken Nordquist, ya boyyy, Illia Dulskyi, Viktor Bowallius, vamX, Iucharbius, zynix, Magnesian, Clay Pascal, Pierre Kircher, Enrico Ros, Tony Hughes, Elle, Andrey, knownsqashed, Deep Realms, Jerry Meng, Lone Striker, Derek Yates, Pyrater, Mesiah Bishop, James Bentley, Femi Adebogun, Brandon Frisco, SuperWojo, Alps Aficionado, Michael Dempsey, Vitor Caleffi, Will Dee, Edmond Seymore, usrbinkat, LangChain4j, Kacper Wikieł, Luke Pendergrass, John Detwiler, theTransient, Nathan LeClaire, Tiffany J. Kim, biorpg, Eugene Pentland, Stanislav Ovsiannikov, Fred von Graf, terasurfer, Kalila, Dan Guido, Nitin Borwankar, 阿明, Ai Maven, John Villwock, Gabriel Puliatti, Stephen Murray, Asp the Wyvern, danny, Chris Smitley, ReadyPlayerEmma, S_X, Daniel P. Andersen, Olakabola, Jeffrey Morgan, Imad Khwaja, Caitlyn Gatomon, webtim, Alicia Loh, Trenton Dambrowitz, Swaroop Kallakuri, Erik Bjäreholt, Leonard Tan, Spiking Neurons AB, Luke @flexchar, Ajan Kanaga, Thomas Belote, Deo Leter, RoA, Willem Michiel, transmissions 11, subjectnull, Matthew Berman, Joseph William Delisle, David Ziegler, Michael Davis, Johann-Peter Hartmann, Talal Aujan, senxiiz, Artur Olbinski, Rainer Wilmers, Spencer Kim, Fen Risland, Cap'n Zoog, Rishabh Srivastava, Michael Levine, Geoffrey Montalvo, Sean Connelly, Alexandros Triantafyllidis, Pieter, Gabriel Tamborski, Sam, Subspace Studios, Junyu Yang, Pedro Madruga, Vadim, Cory Kujawski, K, Raven Klaugh, Randy H, Mano Prime, Sebastain Graf, Space Cruiser
163
 
 
164
 
165
  Thank you to all my generous patrons and donaters!
166
 
167
+ And thank you again to a16z for their generous grant.
168
+
169
  <!-- footer end -->
170
 
171
  # Original model card: Tap-M's Luna AI Llama2 Uncensored
 
176
  <h2>Model Description</h2>
177
  <p>“Luna AI Llama2 Uncensored” is a Llama2 based Chat model <br />fine-tuned on over 40,000 long form chat discussions <br />
178
  This model was fine-tuned by Tap, the creator of Luna AI. <br />
179
+
 
 
180
  <h2>Model Training</h2>
181
  <p>The fine-tuning process was performed on an 8x a100 80GB machine.
182
+ <br />The model was trained on synthetic outputs which include multiple rounds of chats between Human & AI.
 
183
  </p>
184
 
185
+ <a rel="noopener nofollow" href="https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GPTQ">4bit GPTQ Version provided by @TheBloke - for GPU inference</a><br />
186
+ <a rel="noopener nofollow" href="https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML">GGML Version provided by @TheBloke - For CPU inference</a>
187
+
188
+
189
  <h2>Prompt Format</h2>
190
  <p>The model follows the Vicuna 1.1/ OpenChat format:</p>
191
 
 
196
 
197
  ```
198
 
 
 
 
 
199
  <h2>Benchmark Results</h2>
200
 
201
  ||||||
 
203
  |Task|Version| Metric |Value |Stderr|
204
  |arc_challenge|0|acc_norm|0.5512|0.0146|
205
  |hellaswag|0||||
206
+ |mmlu|1|acc_norm|0.46521|0.036|
207
  |truthfulqa_mc|1|mc2|0.4716|0.0155|
208
  |Average|-|-|0.5114|0.0150|
209
 
 
 
 
 
 
 
 
 
 
 
 
 
210
  </div>
211
 
212