TheBloke commited on
Commit
5b24365
1 Parent(s): f82662d

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +382 -0
README.md ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Undi95/Xwin-MLewd-13B-V0.2
3
+ inference: false
4
+ license: cc-by-nc-4.0
5
+ model_creator: Undi
6
+ model_name: Xwin MLewd 13B v0.2
7
+ model_type: llama
8
+ prompt_template: 'Below is an instruction that describes a task. Write a response
9
+ that appropriately completes the request.
10
+
11
+
12
+ ### Instruction:
13
+
14
+ {prompt}
15
+
16
+
17
+ ### Response:
18
+
19
+ '
20
+ quantized_by: TheBloke
21
+ tags:
22
+ - not-for-all-audiences
23
+ - nsfw
24
+ ---
25
+
26
+ <!-- header start -->
27
+ <!-- 200823 -->
28
+ <div style="width: auto; margin-left: auto; margin-right: auto">
29
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
30
+ </div>
31
+ <div style="display: flex; justify-content: space-between; width: 100%;">
32
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
33
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
34
+ </div>
35
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
36
+ <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>
37
+ </div>
38
+ </div>
39
+ <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>
40
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
41
+ <!-- header end -->
42
+
43
+ # Xwin MLewd 13B v0.2 - GGUF
44
+ - Model creator: [Undi](https://huggingface.co/Undi95)
45
+ - Original model: [Xwin MLewd 13B v0.2](https://huggingface.co/Undi95/Xwin-MLewd-13B-V0.2)
46
+
47
+ <!-- description start -->
48
+ ## Description
49
+
50
+ This repo contains GGUF format model files for [Undi's Xwin MLewd 13B v0.2](https://huggingface.co/Undi95/Xwin-MLewd-13B-V0.2).
51
+
52
+ <!-- description end -->
53
+ <!-- README_GGUF.md-about-gguf start -->
54
+ ### About GGUF
55
+
56
+ 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.
57
+
58
+ Here is an incomplate list of clients and libraries that are known to support GGUF:
59
+
60
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
61
+ * [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.
62
+ * [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.
63
+ * [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration.
64
+ * [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.
65
+ * [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.
66
+ * [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
67
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
68
+ * [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
69
+
70
+ <!-- README_GGUF.md-about-gguf end -->
71
+ <!-- repositories-available start -->
72
+ ## Repositories available
73
+
74
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-AWQ)
75
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GPTQ)
76
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF)
77
+ * [Undi's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Undi95/Xwin-MLewd-13B-V0.2)
78
+ <!-- repositories-available end -->
79
+
80
+ <!-- prompt-template start -->
81
+ ## Prompt template: Alpaca
82
+
83
+ ```
84
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
85
+
86
+ ### Instruction:
87
+ {prompt}
88
+
89
+ ### Response:
90
+
91
+ ```
92
+
93
+ <!-- prompt-template end -->
94
+ <!-- licensing start -->
95
+ ## Licensing
96
+
97
+ The creator of the source model has listed its license as `cc-by-nc-4.0`, and this quantization has therefore used that same license.
98
+
99
+ As this model is based on Llama 2, it is also subject to the Meta Llama 2 license terms, and the license files for that are additionally included. It should therefore be considered as being claimed to be licensed under both licenses. I contacted Hugging Face for clarification on dual licensing but they do not yet have an official position. Should this change, or should Meta provide any feedback on this situation, I will update this section accordingly.
100
+
101
+ In the meantime, any questions regarding licensing, and in particular how these two licenses might interact, should be directed to the original model repository: [Undi's Xwin MLewd 13B v0.2](https://huggingface.co/Undi95/Xwin-MLewd-13B-V0.2).
102
+ <!-- licensing end -->
103
+ <!-- compatibility_gguf start -->
104
+ ## Compatibility
105
+
106
+ These quantised GGUFv2 files are compatible with llama.cpp from August 27th onwards, as of commit [d0cee0d](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221)
107
+
108
+ They are also compatible with many third party UIs and libraries - please see the list at the top of this README.
109
+
110
+ ## Explanation of quantisation methods
111
+ <details>
112
+ <summary>Click to see details</summary>
113
+
114
+ The new methods available are:
115
+ * 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)
116
+ * 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.
117
+ * 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.
118
+ * GGML_TYPE_Q5_K - "type-1" 5-bit quantization. Same super-block structure as GGML_TYPE_Q4_K resulting in 5.5 bpw
119
+ * 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
120
+
121
+ Refer to the Provided Files table below to see what files use which methods, and how.
122
+ </details>
123
+ <!-- compatibility_gguf end -->
124
+
125
+ <!-- README_GGUF.md-provided-files start -->
126
+ ## Provided files
127
+
128
+ | Name | Quant method | Bits | Size | Max RAM required | Use case |
129
+ | ---- | ---- | ---- | ---- | ---- | ----- |
130
+ | [xwin-mlewd-13b-v0.2.Q2_K.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q2_K.gguf) | Q2_K | 2 | 5.43 GB| 7.93 GB | smallest, significant quality loss - not recommended for most purposes |
131
+ | [xwin-mlewd-13b-v0.2.Q3_K_S.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q3_K_S.gguf) | Q3_K_S | 3 | 5.66 GB| 8.16 GB | very small, high quality loss |
132
+ | [xwin-mlewd-13b-v0.2.Q3_K_M.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q3_K_M.gguf) | Q3_K_M | 3 | 6.34 GB| 8.84 GB | very small, high quality loss |
133
+ | [xwin-mlewd-13b-v0.2.Q3_K_L.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q3_K_L.gguf) | Q3_K_L | 3 | 6.93 GB| 9.43 GB | small, substantial quality loss |
134
+ | [xwin-mlewd-13b-v0.2.Q4_0.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q4_0.gguf) | Q4_0 | 4 | 7.37 GB| 9.87 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
135
+ | [xwin-mlewd-13b-v0.2.Q4_K_S.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q4_K_S.gguf) | Q4_K_S | 4 | 7.41 GB| 9.91 GB | small, greater quality loss |
136
+ | [xwin-mlewd-13b-v0.2.Q4_K_M.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q4_K_M.gguf) | Q4_K_M | 4 | 7.87 GB| 10.37 GB | medium, balanced quality - recommended |
137
+ | [xwin-mlewd-13b-v0.2.Q5_0.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q5_0.gguf) | Q5_0 | 5 | 8.97 GB| 11.47 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
138
+ | [xwin-mlewd-13b-v0.2.Q5_K_S.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q5_K_S.gguf) | Q5_K_S | 5 | 8.97 GB| 11.47 GB | large, low quality loss - recommended |
139
+ | [xwin-mlewd-13b-v0.2.Q5_K_M.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q5_K_M.gguf) | Q5_K_M | 5 | 9.23 GB| 11.73 GB | large, very low quality loss - recommended |
140
+ | [xwin-mlewd-13b-v0.2.Q6_K.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q6_K.gguf) | Q6_K | 6 | 10.68 GB| 13.18 GB | very large, extremely low quality loss |
141
+ | [xwin-mlewd-13b-v0.2.Q8_0.gguf](https://huggingface.co/TheBloke/Xwin-MLewd-13B-v0.2-GGUF/blob/main/xwin-mlewd-13b-v0.2.Q8_0.gguf) | Q8_0 | 8 | 13.83 GB| 16.33 GB | very large, extremely low quality loss - not recommended |
142
+
143
+ **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.
144
+
145
+
146
+
147
+ <!-- README_GGUF.md-provided-files end -->
148
+
149
+ <!-- README_GGUF.md-how-to-download start -->
150
+ ## How to download GGUF files
151
+
152
+ **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.
153
+
154
+ The following clients/libraries will automatically download models for you, providing a list of available models to choose from:
155
+ - LM Studio
156
+ - LoLLMS Web UI
157
+ - Faraday.dev
158
+
159
+ ### In `text-generation-webui`
160
+
161
+ Under Download Model, you can enter the model repo: TheBloke/Xwin-MLewd-13B-v0.2-GGUF and below it, a specific filename to download, such as: xwin-mlewd-13b-v0.2.Q4_K_M.gguf.
162
+
163
+ Then click Download.
164
+
165
+ ### On the command line, including multiple files at once
166
+
167
+ I recommend using the `huggingface-hub` Python library:
168
+
169
+ ```shell
170
+ pip3 install huggingface-hub
171
+ ```
172
+
173
+ Then you can download any individual model file to the current directory, at high speed, with a command like this:
174
+
175
+ ```shell
176
+ huggingface-cli download TheBloke/Xwin-MLewd-13B-v0.2-GGUF xwin-mlewd-13b-v0.2.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
177
+ ```
178
+
179
+ <details>
180
+ <summary>More advanced huggingface-cli download usage</summary>
181
+
182
+ You can also download multiple files at once with a pattern:
183
+
184
+ ```shell
185
+ huggingface-cli download TheBloke/Xwin-MLewd-13B-v0.2-GGUF --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'
186
+ ```
187
+
188
+ 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).
189
+
190
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
191
+
192
+ ```shell
193
+ pip3 install hf_transfer
194
+ ```
195
+
196
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
197
+
198
+ ```shell
199
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/Xwin-MLewd-13B-v0.2-GGUF xwin-mlewd-13b-v0.2.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
200
+ ```
201
+
202
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
203
+ </details>
204
+ <!-- README_GGUF.md-how-to-download end -->
205
+
206
+ <!-- README_GGUF.md-how-to-run start -->
207
+ ## Example `llama.cpp` command
208
+
209
+ Make sure you are using `llama.cpp` from commit [d0cee0d](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
210
+
211
+ ```shell
212
+ ./main -ngl 32 -m xwin-mlewd-13b-v0.2.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:"
213
+ ```
214
+
215
+ Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
216
+
217
+ 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.
218
+
219
+ If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
220
+
221
+ 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)
222
+
223
+ ## How to run in `text-generation-webui`
224
+
225
+ Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
226
+
227
+ ## How to run from Python code
228
+
229
+ 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.
230
+
231
+ ### How to load this model in Python code, using ctransformers
232
+
233
+ #### First install the package
234
+
235
+ Run one of the following commands, according to your system:
236
+
237
+ ```shell
238
+ # Base ctransformers with no GPU acceleration
239
+ pip install ctransformers
240
+ # Or with CUDA GPU acceleration
241
+ pip install ctransformers[cuda]
242
+ # Or with AMD ROCm GPU acceleration (Linux only)
243
+ CT_HIPBLAS=1 pip install ctransformers --no-binary ctransformers
244
+ # Or with Metal GPU acceleration for macOS systems only
245
+ CT_METAL=1 pip install ctransformers --no-binary ctransformers
246
+ ```
247
+
248
+ #### Simple ctransformers example code
249
+
250
+ ```python
251
+ from ctransformers import AutoModelForCausalLM
252
+
253
+ # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
254
+ llm = AutoModelForCausalLM.from_pretrained("TheBloke/Xwin-MLewd-13B-v0.2-GGUF", model_file="xwin-mlewd-13b-v0.2.Q4_K_M.gguf", model_type="llama", gpu_layers=50)
255
+
256
+ print(llm("AI is going to"))
257
+ ```
258
+
259
+ ## How to use with LangChain
260
+
261
+ Here are guides on using llama-cpp-python and ctransformers with LangChain:
262
+
263
+ * [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
264
+ * [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
265
+
266
+ <!-- README_GGUF.md-how-to-run end -->
267
+
268
+ <!-- footer start -->
269
+ <!-- 200823 -->
270
+ ## Discord
271
+
272
+ For further support, and discussions on these models and AI in general, join us at:
273
+
274
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
275
+
276
+ ## Thanks, and how to contribute
277
+
278
+ Thanks to the [chirper.ai](https://chirper.ai) team!
279
+
280
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
281
+
282
+ 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.
283
+
284
+ 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.
285
+
286
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
287
+
288
+ * Patreon: https://patreon.com/TheBlokeAI
289
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
290
+
291
+ **Special thanks to**: Aemon Algiz.
292
+
293
+ **Patreon special mentions**: Pierre Kircher, Stanislav Ovsiannikov, Michael Levine, Eugene Pentland, Andrey, 준교 김, Randy H, Fred von Graf, Artur Olbinski, Caitlyn Gatomon, terasurfer, Jeff Scroggin, James Bentley, Vadim, Gabriel Puliatti, Harry Royden McLaughlin, Sean Connelly, Dan Guido, Edmond Seymore, Alicia Loh, subjectnull, AzureBlack, Manuel Alberto Morcote, Thomas Belote, Lone Striker, Chris Smitley, Vitor Caleffi, Johann-Peter Hartmann, Clay Pascal, biorpg, Brandon Frisco, sidney chen, transmissions 11, Pedro Madruga, jinyuan sun, Ajan Kanaga, Emad Mostaque, Trenton Dambrowitz, Jonathan Leane, Iucharbius, usrbinkat, vamX, George Stoitzev, Luke Pendergrass, theTransient, Olakabola, Swaroop Kallakuri, Cap'n Zoog, Brandon Phillips, Michael Dempsey, Nikolai Manek, danny, Matthew Berman, Gabriel Tamborski, alfie_i, Raymond Fosdick, Tom X Nguyen, Raven Klaugh, LangChain4j, Magnesian, Illia Dulskyi, David Ziegler, Mano Prime, Luis Javier Navarrete Lozano, Erik Bjäreholt, 阿明, Nathan Dryer, Alex, Rainer Wilmers, zynix, TL, Joseph William Delisle, John Villwock, Nathan LeClaire, Willem Michiel, Joguhyik, GodLy, OG, Alps Aficionado, Jeffrey Morgan, ReadyPlayerEmma, Tiffany J. Kim, Sebastain Graf, Spencer Kim, Michael Davis, webtim, Talal Aujan, knownsqashed, John Detwiler, Imad Khwaja, Deo Leter, Jerry Meng, Elijah Stavena, Rooh Singh, Pieter, SuperWojo, Alexandros Triantafyllidis, Stephen Murray, Ai Maven, ya boyyy, Enrico Ros, Ken Nordquist, Deep Realms, Nicholas, Spiking Neurons AB, Elle, Will Dee, Jack West, RoA, Luke @flexchar, Viktor Bowallius, Derek Yates, Subspace Studios, jjj, Toran Billups, Asp the Wyvern, Fen Risland, Ilya, NimbleBox.ai, Chadd, Nitin Borwankar, Emre, Mandus, Leonard Tan, Kalila, K, Trailburnt, S_X, Cory Kujawski
294
+
295
+
296
+ Thank you to all my generous patrons and donaters!
297
+
298
+ And thank you again to a16z for their generous grant.
299
+
300
+ <!-- footer end -->
301
+
302
+ <!-- original-model-card start -->
303
+ # Original model card: Undi's Xwin MLewd 13B v0.2
304
+
305
+
306
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/63ab1241ad514ca8d1430003/VjlbZcxzuvMjwOjnYddRK.png)
307
+
308
+ THIS MODEL IS MADE FOR LEWD
309
+
310
+ SEXUAL, CRUDE AND KINKY CONTENT IN OUTPUT CAN AND WILL HAPPEN. YOU'RE WARNED
311
+
312
+ This is MLewd merged with [Xwin-LM/Xwin-LM-13B-V0.2](https://huggingface.co/Xwin-LM/Xwin-LM-13B-V0.2)
313
+
314
+ <!-- description start -->
315
+ ## Description
316
+
317
+ This repo contains fp16 files of Xwin-MLewd-13B-V0.2, very hot and lewd model based on Xwin 0.2 13B.
318
+
319
+ <!-- description end -->
320
+ <!-- description start -->
321
+ ## Models and loras used
322
+
323
+ - Undi95/ReMM-S-Light (base/private)
324
+ - Undi95/CreativeEngine
325
+ - Brouz/Slerpeno
326
+ - The-Face-Of-Goonery/Huginn-v3-13b
327
+ - zattio770/120-Days-of-LORA-v2-13B
328
+ - PygmalionAI/pygmalion-2-13b
329
+ - Undi95/StoryTelling
330
+ - TokenBender/sakhi_13B_roleplayer_NSFW_chat_adapter
331
+ - nRuaif/Kimiko-v2-13B
332
+ - The-Face-Of-Goonery/Huginn-13b-FP16
333
+ - lemonilia/LimaRP-Llama2-13B-v3-EXPERIMENT
334
+ - Xwin-LM/Xwin-LM-13B-V0.2
335
+
336
+ <!-- description end -->
337
+ <!-- prompt-template start -->
338
+ ## Prompt template: Alpaca
339
+
340
+ ```
341
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
342
+
343
+ ### Instruction:
344
+ {prompt}
345
+
346
+ ### Response:
347
+
348
+ ```
349
+ ## The secret sauce
350
+
351
+ ```
352
+ slices:
353
+ - sources:
354
+ - model: Xwin-LM/Xwin-LM-13B-V0.2
355
+ layer_range: [0, 40]
356
+ - model: Undi95/MLewd-v2.4-13B
357
+ layer_range: [0, 40]
358
+ merge_method: slerp
359
+ base_model: Xwin-LM/Xwin-LM-13B-V0.2
360
+ parameters:
361
+ t:
362
+ - filter: lm_head
363
+ value: [0.55]
364
+ - filter: embed_tokens
365
+ value: [0.7]
366
+ - filter: self_attn
367
+ value: [0.65, 0.35]
368
+ - filter: mlp
369
+ value: [0.35, 0.65]
370
+ - filter: layernorm
371
+ value: [0.4, 0.6]
372
+ - filter: modelnorm
373
+ value: [0.6]
374
+ - value: 0.5 # fallback for rest of tensors
375
+ dtype: float16
376
+ ```
377
+
378
+ Special thanks to Sushi and Shena ♥
379
+
380
+ If you want to support me, you can [here](https://ko-fi.com/undiai).
381
+
382
+ <!-- original-model-card end -->