Transformers
GGUF
llama
Not-For-All-Audiences
nsfw
TheBloke commited on
Commit
4b30851
1 Parent(s): a9fc14e

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +265 -0
README.md ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ inference: false
3
+ license: llama2
4
+ model_creator: Undi95
5
+ model_link: https://huggingface.co/Undi95/MLewdBoros-L2-13B
6
+ model_name: MLewdBoros L2 13B
7
+ model_type: llama
8
+ quantized_by: TheBloke
9
+ tags:
10
+ - not-for-all-audiences
11
+ - nsfw
12
+ ---
13
+
14
+ <!-- header start -->
15
+ <!-- 200823 -->
16
+ <div style="width: auto; margin-left: auto; margin-right: auto">
17
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
18
+ </div>
19
+ <div style="display: flex; justify-content: space-between; width: 100%;">
20
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
21
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
22
+ </div>
23
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
24
+ <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>
25
+ </div>
26
+ </div>
27
+ <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>
28
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
29
+ <!-- header end -->
30
+
31
+ # MLewdBoros L2 13B - GGUF
32
+ - Model creator: [Undi95](https://huggingface.co/Undi95)
33
+ - Original model: [MLewdBoros L2 13B](https://huggingface.co/Undi95/MLewdBoros-L2-13B)
34
+
35
+ ## Description
36
+
37
+ This repo contains GGUF format model files for [Undi95's MLewdBoros L2 13B](https://huggingface.co/Undi95/MLewdBoros-L2-13B).
38
+
39
+ <!-- README_GGUF.md-about-gguf start -->
40
+ ### About GGUF
41
+
42
+ GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp. GGUF offers numerous advantages over GGML, such as better tokenisation, and support for special tokens. It is also supports metadata, and is designed to be extensible.
43
+
44
+ Here is an incomplate list of clients and libraries that are known to support GGUF:
45
+
46
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
47
+ * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration.
48
+ * [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling.
49
+ * [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration.
50
+ * [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection.
51
+ * [Faraday.dev](https://faraday.dev/), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration.
52
+ * [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
53
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
54
+ * [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
55
+
56
+ <!-- README_GGUF.md-about-gguf end -->
57
+ <!-- repositories-available start -->
58
+ ## Repositories available
59
+
60
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GPTQ)
61
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF)
62
+ * [Undi95's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Undi95/MLewdBoros-L2-13B)
63
+ <!-- repositories-available end -->
64
+
65
+ <!-- prompt-template start -->
66
+ ## Prompt template: Alpaca
67
+
68
+ ```
69
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
70
+
71
+ ### Instruction:
72
+ {prompt}
73
+
74
+ ### Response:
75
+
76
+ ```
77
+
78
+ <!-- prompt-template end -->
79
+ <!-- compatibility_gguf start -->
80
+ ## Compatibility
81
+
82
+ These quantised GGUFv2 files are compatible with llama.cpp from August 27th onwards, as of commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221)
83
+
84
+ They are also compatible with many third party UIs and libraries - please see the list at the top of this README.
85
+
86
+ ## Explanation of quantisation methods
87
+ <details>
88
+ <summary>Click to see details</summary>
89
+
90
+ The new methods available are:
91
+ * GGML_TYPE_Q2_K - "type-1" 2-bit quantization in super-blocks containing 16 blocks, each block having 16 weight. Block scales and mins are quantized with 4 bits. This ends up effectively using 2.5625 bits per weight (bpw)
92
+ * GGML_TYPE_Q3_K - "type-0" 3-bit quantization in super-blocks containing 16 blocks, each block having 16 weights. Scales are quantized with 6 bits. This end up using 3.4375 bpw.
93
+ * GGML_TYPE_Q4_K - "type-1" 4-bit quantization in super-blocks containing 8 blocks, each block having 32 weights. Scales and mins are quantized with 6 bits. This ends up using 4.5 bpw.
94
+ * GGML_TYPE_Q5_K - "type-1" 5-bit quantization. Same super-block structure as GGML_TYPE_Q4_K resulting in 5.5 bpw
95
+ * GGML_TYPE_Q6_K - "type-0" 6-bit quantization. Super-blocks with 16 blocks, each block having 16 weights. Scales are quantized with 8 bits. This ends up using 6.5625 bpw
96
+
97
+ Refer to the Provided Files table below to see what files use which methods, and how.
98
+ </details>
99
+ <!-- compatibility_gguf end -->
100
+
101
+ <!-- README_GGUF.md-provided-files start -->
102
+ ## Provided files
103
+
104
+ | Name | Quant method | Bits | Size | Max RAM required | Use case |
105
+ | ---- | ---- | ---- | ---- | ---- | ----- |
106
+ | [mlewdboros-l2-13b.Q2_K.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q2_K.gguf) | Q2_K | 2 | 5.43 GB| 7.93 GB | smallest, significant quality loss - not recommended for most purposes |
107
+ | [mlewdboros-l2-13b.Q3_K_S.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q3_K_S.gguf) | Q3_K_S | 3 | 5.66 GB| 8.16 GB | very small, high quality loss |
108
+ | [mlewdboros-l2-13b.Q3_K_M.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q3_K_M.gguf) | Q3_K_M | 3 | 6.34 GB| 8.84 GB | very small, high quality loss |
109
+ | [mlewdboros-l2-13b.Q3_K_L.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q3_K_L.gguf) | Q3_K_L | 3 | 6.93 GB| 9.43 GB | small, substantial quality loss |
110
+ | [mlewdboros-l2-13b.Q4_0.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q4_0.gguf) | Q4_0 | 4 | 7.37 GB| 9.87 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
111
+ | [mlewdboros-l2-13b.Q4_K_S.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q4_K_S.gguf) | Q4_K_S | 4 | 7.41 GB| 9.91 GB | small, greater quality loss |
112
+ | [mlewdboros-l2-13b.Q4_K_M.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q4_K_M.gguf) | Q4_K_M | 4 | 7.87 GB| 10.37 GB | medium, balanced quality - recommended |
113
+ | [mlewdboros-l2-13b.Q5_0.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q5_0.gguf) | Q5_0 | 5 | 8.97 GB| 11.47 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
114
+ | [mlewdboros-l2-13b.Q5_K_S.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q5_K_S.gguf) | Q5_K_S | 5 | 8.97 GB| 11.47 GB | large, low quality loss - recommended |
115
+ | [mlewdboros-l2-13b.Q5_K_M.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q5_K_M.gguf) | Q5_K_M | 5 | 9.23 GB| 11.73 GB | large, very low quality loss - recommended |
116
+ | [mlewdboros-l2-13b.Q6_K.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q6_K.gguf) | Q6_K | 6 | 10.68 GB| 13.18 GB | very large, extremely low quality loss |
117
+ | [mlewdboros-l2-13b.Q8_0.gguf](https://huggingface.co/TheBloke/MLewdBoros-L2-13B-GGUF/blob/main/mlewdboros-l2-13b.Q8_0.gguf) | Q8_0 | 8 | 13.83 GB| 16.33 GB | very large, extremely low quality loss - not recommended |
118
+
119
+ **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.
120
+
121
+
122
+
123
+ <!-- README_GGUF.md-provided-files end -->
124
+
125
+ <!-- README_GGUF.md-how-to-run start -->
126
+ ## Example `llama.cpp` command
127
+
128
+ Make sure you are using `llama.cpp` from commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
129
+
130
+ ```shell
131
+ ./main -ngl 32 -m mlewdboros-l2-13b.q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{prompt}\n\n### Response:"
132
+ ```
133
+
134
+ Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
135
+
136
+ Change `-c 4096` 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.
137
+
138
+ If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
139
+
140
+ 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)
141
+
142
+ ## How to run in `text-generation-webui`
143
+
144
+ Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
145
+
146
+ ## How to run from Python code
147
+
148
+ 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.
149
+
150
+ ### How to load this model from Python using ctransformers
151
+
152
+ #### First install the package
153
+
154
+ ```bash
155
+ # Base ctransformers with no GPU acceleration
156
+ pip install ctransformers>=0.2.24
157
+ # Or with CUDA GPU acceleration
158
+ pip install ctransformers[cuda]>=0.2.24
159
+ # Or with ROCm GPU acceleration
160
+ CT_HIPBLAS=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
161
+ # Or with Metal GPU acceleration for macOS systems
162
+ CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
163
+ ```
164
+
165
+ #### Simple example code to load one of these GGUF models
166
+
167
+ ```python
168
+ from ctransformers import AutoModelForCausalLM
169
+
170
+ # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
171
+ llm = AutoModelForCausalLM.from_pretrained("TheBloke/MLewdBoros-L2-13B-GGUF", model_file="mlewdboros-l2-13b.q4_K_M.gguf", model_type="llama", gpu_layers=50)
172
+
173
+ print(llm("AI is going to"))
174
+ ```
175
+
176
+ ## How to use with LangChain
177
+
178
+ Here's guides on using llama-cpp-python or ctransformers with LangChain:
179
+
180
+ * [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
181
+ * [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
182
+
183
+ <!-- README_GGUF.md-how-to-run end -->
184
+
185
+ <!-- footer start -->
186
+ <!-- 200823 -->
187
+ ## Discord
188
+
189
+ For further support, and discussions on these models and AI in general, join us at:
190
+
191
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
192
+
193
+ ## Thanks, and how to contribute
194
+
195
+ Thanks to the [chirper.ai](https://chirper.ai) team!
196
+
197
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
198
+
199
+ I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
200
+
201
+ If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
202
+
203
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
204
+
205
+ * Patreon: https://patreon.com/TheBlokeAI
206
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
207
+
208
+ **Special thanks to**: Aemon Algiz.
209
+
210
+ **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
211
+
212
+
213
+ Thank you to all my generous patrons and donaters!
214
+
215
+ And thank you again to a16z for their generous grant.
216
+
217
+ <!-- footer end -->
218
+
219
+ <!-- original-model-card start -->
220
+ # Original model card: Undi95's MLewdBoros L2 13B
221
+
222
+
223
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/63ab1241ad514ca8d1430003/DKLTsIPoJSfs8okxVCLiw.png)
224
+
225
+ THIS MODEL IS MADE FOR LEWD
226
+
227
+ SEXUAL, CRUDE AND KINKY CONTENT IN OUTPUT CAN AND WILL HAPPEN. YOU'RE WARNED
228
+
229
+ <!-- description start -->
230
+ ## Description
231
+
232
+ This repo contains fp16 files of MLewdBoros, very hot and lewd model based on ReMM and merged with SpicyBoros 2.2.
233
+
234
+ <!-- description end -->
235
+ <!-- description start -->
236
+ ## Models and loras used
237
+
238
+ - Undi95/ReMM-S-Light (base/private)
239
+ - Undi95/CreativeEngine
240
+ - Brouz/Slerpeno
241
+ - The-Face-Of-Goonery/Huginn-v3-13b
242
+ - zattio770/120-Days-of-LORA-v2-13B
243
+ - PygmalionAI/pygmalion-2-13b
244
+ - Undi95/StoryTelling
245
+ - TokenBender/sakhi_13B_roleplayer_NSFW_chat_adapter
246
+ - nRuaif/Kimiko-v2-13B
247
+ - jondurbin/spicyboros-13b-2.2
248
+
249
+ <!-- description end -->
250
+ <!-- prompt-template start -->
251
+ ## Prompt template: Alpaca
252
+
253
+ ```
254
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
255
+
256
+ ### Instruction:
257
+ {prompt}
258
+
259
+ ### Response:
260
+
261
+ ```
262
+
263
+ Special thanks to Sushi and Shena ♥
264
+
265
+ <!-- original-model-card end -->