TheBloke commited on
Commit
aa02010
1 Parent(s): 26ead99

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +366 -0
README.md ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: maywell/PiVoT-MoE
3
+ inference: false
4
+ license: cc-by-nc-4.0
5
+ model_creator: Jeonghwan Park
6
+ model_name: Pivot MoE
7
+ model_type: mixtral
8
+ prompt_template: '{system_message}
9
+
10
+
11
+ ### Instruction:
12
+
13
+ {prompt}
14
+
15
+
16
+ ### Response:
17
+
18
+ '
19
+ quantized_by: TheBloke
20
+ ---
21
+ <!-- markdownlint-disable MD041 -->
22
+
23
+ <!-- header start -->
24
+ <!-- 200823 -->
25
+ <div style="width: auto; margin-left: auto; margin-right: auto">
26
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
27
+ </div>
28
+ <div style="display: flex; justify-content: space-between; width: 100%;">
29
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
30
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
31
+ </div>
32
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
33
+ <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>
34
+ </div>
35
+ </div>
36
+ <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>
37
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
38
+ <!-- header end -->
39
+
40
+ # Pivot MoE - GPTQ
41
+ - Model creator: [Jeonghwan Park](https://huggingface.co/maywell)
42
+ - Original model: [Pivot MoE](https://huggingface.co/maywell/PiVoT-MoE)
43
+
44
+ <!-- description start -->
45
+ # Description
46
+
47
+ This repo contains GPTQ model files for [Jeonghwan Park's Pivot MoE](https://huggingface.co/maywell/PiVoT-MoE).
48
+
49
+ Mixtral GPTQs currently require:
50
+ * Transformers 4.36.0 or later
51
+ * either, AutoGPTQ 0.6 compiled from source, or
52
+ * Transformers 4.37.0.dev0 compiled from Github with: `pip3 install git+https://github.com/huggingface/transformers`
53
+
54
+ Multiple GPTQ parameter permutations are provided; see Provided Files below for details of the options provided, their parameters, and the software used to create them.
55
+
56
+ <!-- description end -->
57
+ <!-- repositories-available start -->
58
+ ## Repositories available
59
+
60
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ)
61
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/PiVoT-MoE-GGUF)
62
+ * [Jeonghwan Park's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/maywell/PiVoT-MoE)
63
+ <!-- repositories-available end -->
64
+
65
+ <!-- prompt-template start -->
66
+ ## Prompt template: Alpaca-System
67
+
68
+ ```
69
+ {system_message}
70
+
71
+ ### Instruction:
72
+ {prompt}
73
+
74
+ ### Response:
75
+
76
+ ```
77
+
78
+ <!-- prompt-template end -->
79
+
80
+
81
+
82
+ <!-- README_GPTQ.md-compatible clients start -->
83
+ ## Known compatible clients / servers
84
+
85
+ GPTQ models are currently supported on Linux (NVidia/AMD) and Windows (NVidia only). macOS users: please use GGUF models.
86
+
87
+ Mixtral GPTQs currently have special requirements - see Description above.
88
+
89
+ <!-- README_GPTQ.md-compatible clients end -->
90
+
91
+ <!-- README_GPTQ.md-provided-files start -->
92
+ ## Provided files, and GPTQ parameters
93
+
94
+ Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements.
95
+
96
+ Each separate quant is in a different branch. See below for instructions on fetching from different branches.
97
+
98
+ Most GPTQ files are made with AutoGPTQ. Mistral models are currently made with Transformers.
99
+
100
+ <details>
101
+ <summary>Explanation of GPTQ parameters</summary>
102
+
103
+ - Bits: The bit size of the quantised model.
104
+ - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value.
105
+ - Act Order: True or False. Also known as `desc_act`. True results in better quantisation accuracy. Some GPTQ clients have had issues with models that use Act Order plus Group Size, but this is generally resolved now.
106
+ - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy.
107
+ - GPTQ dataset: The calibration dataset used during quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ calibration dataset is not the same as the dataset used to train the model - please refer to the original model repo for details of the training dataset(s).
108
+ - Sequence Length: The length of the dataset sequences used for quantisation. Ideally this is the same as the model sequence length. For some very long sequence models (16+K), a lower sequence length may have to be used. Note that a lower sequence length does not limit the sequence length of the quantised model. It only impacts the quantisation accuracy on longer inference sequences.
109
+ - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama and Mistral models in 4-bit.
110
+
111
+ </details>
112
+
113
+ | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
114
+ | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
115
+ | [main](https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ/tree/main) | 4 | None | Yes | 0.1 | [VMware Open Instruct](https://huggingface.co/datasets/VMware/open-instruct/viewer/) | 8192 | 18.50 GB | No | 4-bit, with Act Order. No group size, to lower VRAM requirements. |
116
+ | [gptq-4bit-128g-actorder_True](https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ/tree/gptq-4bit-128g-actorder_True) | 4 | 128 | Yes | 0.1 | [VMware Open Instruct](https://huggingface.co/datasets/VMware/open-instruct/viewer/) | 8192 | 19.18 GB | No | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. |
117
+ | [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.1 | [VMware Open Instruct](https://huggingface.co/datasets/VMware/open-instruct/viewer/) | 8192 | 21.28 GB | No | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. |
118
+ | [gptq-3bit--1g-actorder_True](https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ/tree/gptq-3bit--1g-actorder_True) | 3 | None | Yes | 0.1 | [VMware Open Instruct](https://huggingface.co/datasets/VMware/open-instruct/viewer/) | 8192 | 14.02 GB | No | 3-bit, with Act Order and no group size. Lowest possible VRAM requirements. May be lower quality than 3-bit 128g. |
119
+ | [gptq-3bit-128g-actorder_True](https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ/tree/gptq-3bit-128g-actorder_True) | 3 | 128 | Yes | 0.1 | [VMware Open Instruct](https://huggingface.co/datasets/VMware/open-instruct/viewer/) | 8192 | 14.66 GB | No | 3-bit, with group size 128g and act-order. Higher quality than 128g-False. |
120
+ | [gptq-3bit-32g-actorder_True](https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ/tree/gptq-3bit-32g-actorder_True) | 3 | 32 | Yes | 0.1 | [VMware Open Instruct](https://huggingface.co/datasets/VMware/open-instruct/viewer/) | 8192 | 16.66 GB | No | 3-bit, with group size 64g and act-order. Highest quality 3-bit option. |
121
+ | [gptq-8bit--1g-actorder_True](https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ/tree/gptq-8bit--1g-actorder_True) | 8 | None | Yes | 0.1 | [VMware Open Instruct](https://huggingface.co/datasets/VMware/open-instruct/viewer/) | 8192 | 36.42 GB | No | 8-bit, with Act Order. No group size, to lower VRAM requirements. |
122
+ | [gptq-8bit-128g-actorder_True](https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ/tree/gptq-8bit-128g-actorder_True) | 8 | 128 | Yes | 0.1 | [VMware Open Instruct](https://huggingface.co/datasets/VMware/open-instruct/viewer/) | 8192 | 37.24 GB | No | 8-bit, with group size 128g for higher inference quality and with Act Order for even higher accuracy. |
123
+
124
+ <!-- README_GPTQ.md-provided-files end -->
125
+
126
+ <!-- README_GPTQ.md-download-from-branches start -->
127
+ ## How to download, including from branches
128
+
129
+ ### In text-generation-webui
130
+
131
+ To download from the `main` branch, enter `TheBloke/PiVoT-MoE-GPTQ` in the "Download model" box.
132
+
133
+ To download from another branch, add `:branchname` to the end of the download name, eg `TheBloke/PiVoT-MoE-GPTQ:gptq-4bit-128g-actorder_True`
134
+
135
+ ### From the command line
136
+
137
+ I recommend using the `huggingface-hub` Python library:
138
+
139
+ ```shell
140
+ pip3 install huggingface-hub
141
+ ```
142
+
143
+ To download the `main` branch to a folder called `PiVoT-MoE-GPTQ`:
144
+
145
+ ```shell
146
+ mkdir PiVoT-MoE-GPTQ
147
+ huggingface-cli download TheBloke/PiVoT-MoE-GPTQ --local-dir PiVoT-MoE-GPTQ --local-dir-use-symlinks False
148
+ ```
149
+
150
+ To download from a different branch, add the `--revision` parameter:
151
+
152
+ ```shell
153
+ mkdir PiVoT-MoE-GPTQ
154
+ huggingface-cli download TheBloke/PiVoT-MoE-GPTQ --revision gptq-4bit-128g-actorder_True --local-dir PiVoT-MoE-GPTQ --local-dir-use-symlinks False
155
+ ```
156
+
157
+ <details>
158
+ <summary>More advanced huggingface-cli download usage</summary>
159
+
160
+ If you remove the `--local-dir-use-symlinks False` parameter, the files will instead be stored in the central Hugging Face cache directory (default location on Linux is: `~/.cache/huggingface`), and symlinks will be added to the specified `--local-dir`, pointing to their real location in the cache. This allows for interrupted downloads to be resumed, and allows you to quickly clone the repo to multiple places on disk without triggering a download again. The downside, and the reason why I don't list that as the default option, is that the files are then hidden away in a cache folder and it's harder to know where your disk space is being used, and to clear it up if/when you want to remove a download model.
161
+
162
+ The cache location can be changed with the `HF_HOME` environment variable, and/or the `--cache-dir` parameter to `huggingface-cli`.
163
+
164
+ 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).
165
+
166
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
167
+
168
+ ```shell
169
+ pip3 install hf_transfer
170
+ ```
171
+
172
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
173
+
174
+ ```shell
175
+ mkdir PiVoT-MoE-GPTQ
176
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/PiVoT-MoE-GPTQ --local-dir PiVoT-MoE-GPTQ --local-dir-use-symlinks False
177
+ ```
178
+
179
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
180
+ </details>
181
+
182
+ ### With `git` (**not** recommended)
183
+
184
+ To clone a specific branch with `git`, use a command like this:
185
+
186
+ ```shell
187
+ git clone --single-branch --branch gptq-4bit-128g-actorder_True https://huggingface.co/TheBloke/PiVoT-MoE-GPTQ
188
+ ```
189
+
190
+ Note that using Git with HF repos is strongly discouraged. It will be much slower than using `huggingface-hub`, and will use twice as much disk space as it has to store the model files twice (it stores every byte both in the intended target folder, and again in the `.git` folder as a blob.)
191
+
192
+ <!-- README_GPTQ.md-download-from-branches end -->
193
+ <!-- README_GPTQ.md-text-generation-webui start -->
194
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
195
+
196
+ **NOTE**: Requires:
197
+
198
+ * Transformers 4.36.0, or Transformers 4.37.0.dev0 from Github
199
+ * Either AutoGPTQ 0.6 compiled from source and `Loader: AutoGPTQ`,
200
+ * or, `Loader: Transformers`, if you installed Transformers from Github: `pip3 install git+https://github.com/huggingface/transformers`
201
+
202
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
203
+
204
+ It is strongly recommended to use the text-generation-webui one-click-installers unless you're sure you know how to make a manual install.
205
+
206
+ 1. Click the **Model tab**.
207
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/PiVoT-MoE-GPTQ`.
208
+
209
+ - To download from a specific branch, enter for example `TheBloke/PiVoT-MoE-GPTQ:gptq-4bit-128g-actorder_True`
210
+ - see Provided Files above for the list of branches for each option.
211
+
212
+ 3. Click **Download**.
213
+ 4. The model will start downloading. Once it's finished it will say "Done".
214
+ 5. In the top left, click the refresh icon next to **Model**.
215
+ 6. In the **Model** dropdown, choose the model you just downloaded: `PiVoT-MoE-GPTQ`
216
+ 7. The model will automatically load, and is now ready for use!
217
+ 8. If you want any custom settings, set them and then click **Save settings for this model** followed by **Reload the Model** in the top right.
218
+
219
+ - Note that you do not need to and should not set manual GPTQ parameters any more. These are set automatically from the file `quantize_config.json`.
220
+
221
+ 9. Once you're ready, click the **Text Generation** tab and enter a prompt to get started!
222
+
223
+ <!-- README_GPTQ.md-text-generation-webui end -->
224
+
225
+ <!-- README_GPTQ.md-use-from-tgi start -->
226
+ ## Serving this model from Text Generation Inference (TGI)
227
+
228
+ Not currently supported for Mixtral models.
229
+
230
+ <!-- README_GPTQ.md-use-from-tgi end -->
231
+ <!-- README_GPTQ.md-use-from-python start -->
232
+ ## Python code example: inference from this GPTQ model
233
+
234
+ ### Install the necessary packages
235
+
236
+ Requires: Transformers 4.37.0.dev0 from Github, Optimum 1.16.0 or later, and AutoGPTQ 0.5.1 or later.
237
+
238
+ ```shell
239
+ pip3 install --upgrade "git+https://github.com/huggingface/transformers" optimum
240
+ # If using PyTorch 2.1 + CUDA 12.x:
241
+ pip3 install --upgrade auto-gptq
242
+ # or, if using PyTorch 2.1 + CUDA 11.x:
243
+ pip3 install --upgrade auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/
244
+ ```
245
+
246
+ If you are using PyTorch 2.0, you will need to install AutoGPTQ from source. Likewise if you have problems with the pre-built wheels, you should try building from source:
247
+
248
+ ```shell
249
+ pip3 uninstall -y auto-gptq
250
+ git clone https://github.com/PanQiWei/AutoGPTQ
251
+ cd AutoGPTQ
252
+ DISABLE_QIGEN=1 pip3 install .
253
+ ```
254
+
255
+ ### Example Python code
256
+
257
+ ```python
258
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
259
+
260
+ model_name_or_path = "TheBloke/PiVoT-MoE-GPTQ"
261
+ # To use a different branch, change revision
262
+ # For example: revision="gptq-4bit-128g-actorder_True"
263
+ model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
264
+ device_map="auto",
265
+ trust_remote_code=False,
266
+ revision="main")
267
+
268
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
269
+
270
+ prompt = "Write a story about llamas"
271
+ system_message = "You are a story writing assistant"
272
+ prompt_template=f'''{system_message}
273
+
274
+ ### Instruction:
275
+ {prompt}
276
+
277
+ ### Response:
278
+ '''
279
+
280
+ print("\n\n*** Generate:")
281
+
282
+ input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
283
+ output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512)
284
+ print(tokenizer.decode(output[0]))
285
+
286
+ # Inference can also be done using transformers' pipeline
287
+
288
+ print("*** Pipeline:")
289
+ pipe = pipeline(
290
+ "text-generation",
291
+ model=model,
292
+ tokenizer=tokenizer,
293
+ max_new_tokens=512,
294
+ do_sample=True,
295
+ temperature=0.7,
296
+ top_p=0.95,
297
+ top_k=40,
298
+ repetition_penalty=1.1
299
+ )
300
+
301
+ print(pipe(prompt_template)[0]['generated_text'])
302
+ ```
303
+ <!-- README_GPTQ.md-use-from-python end -->
304
+
305
+ <!-- README_GPTQ.md-compatibility start -->
306
+ ## Compatibility
307
+
308
+ The files provided are tested to work with AutoGPTQ 0.6 (compiled from source) and Transformers 4.37.0 (installed from Github).
309
+
310
+ <!-- README_GPTQ.md-compatibility end -->
311
+
312
+ <!-- footer start -->
313
+ <!-- 200823 -->
314
+ ## Discord
315
+
316
+ For further support, and discussions on these models and AI in general, join us at:
317
+
318
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
319
+
320
+ ## Thanks, and how to contribute
321
+
322
+ Thanks to the [chirper.ai](https://chirper.ai) team!
323
+
324
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
325
+
326
+ 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.
327
+
328
+ 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.
329
+
330
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
331
+
332
+ * Patreon: https://patreon.com/TheBlokeAI
333
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
334
+
335
+ **Special thanks to**: Aemon Algiz.
336
+
337
+ **Patreon special mentions**: Michael Levine, 阿明, Trailburnt, Nikolai Manek, John Detwiler, Randy H, Will Dee, Sebastain Graf, NimbleBox.ai, Eugene Pentland, Emad Mostaque, Ai Maven, Jim Angel, Jeff Scroggin, Michael Davis, Manuel Alberto Morcote, Stephen Murray, Robert, Justin Joy, Luke @flexchar, Brandon Frisco, Elijah Stavena, S_X, Dan Guido, Undi ., Komninos Chatzipapas, Shadi, theTransient, Lone Striker, Raven Klaugh, jjj, Cap'n Zoog, Michel-Marie MAUDET (LINAGORA), Matthew Berman, David, Fen Risland, Omer Bin Jawed, Luke Pendergrass, Kalila, OG, Erik Bjäreholt, Rooh Singh, Joseph William Delisle, Dan Lewis, TL, John Villwock, AzureBlack, Brad, Pedro Madruga, Caitlyn Gatomon, K, jinyuan sun, Mano Prime, Alex, Jeffrey Morgan, Alicia Loh, Illia Dulskyi, Chadd, transmissions 11, fincy, Rainer Wilmers, ReadyPlayerEmma, knownsqashed, Mandus, biorpg, Deo Leter, Brandon Phillips, SuperWojo, Sean Connelly, Iucharbius, Jack West, Harry Royden McLaughlin, Nicholas, terasurfer, Vitor Caleffi, Duane Dunston, Johann-Peter Hartmann, David Ziegler, Olakabola, Ken Nordquist, Trenton Dambrowitz, Tom X Nguyen, Vadim, Ajan Kanaga, Leonard Tan, Clay Pascal, Alexandros Triantafyllidis, JM33133, Xule, vamX, ya boyyy, subjectnull, Talal Aujan, Alps Aficionado, wassieverse, Ari Malik, James Bentley, Woland, Spencer Kim, Michael Dempsey, Fred von Graf, Elle, zynix, William Richards, Stanislav Ovsiannikov, Edmond Seymore, Jonathan Leane, Martin Kemka, usrbinkat, Enrico Ros
338
+
339
+
340
+ Thank you to all my generous patrons and donaters!
341
+
342
+ And thank you again to a16z for their generous grant.
343
+
344
+ <!-- footer end -->
345
+
346
+ # Original model card: Jeonghwan Park's Pivot MoE
347
+
348
+ # PiVot-MoE
349
+ ![img](./PiVoT-MoE.png)
350
+
351
+ ## Model Description
352
+
353
+ PiVoT-MoE, is an advanced AI model specifically designed for roleplaying purposes. It has been trained using a combination of four 10.7B sized experts, each with their own specialized characteristic, all fine-tuned to bring a unique and diverse roleplaying experience.
354
+
355
+ The Mixture of Experts (MoE) technique is utilized in this model, allowing the experts to work together synergistically, resulting in a more cohesive and natural conversation flow. The MoE architecture allows for a higher level of flexibility and adaptability, enabling PiVoT-MoE to handle a wide variety of roleplaying scenarios and characters.
356
+
357
+ Based on the PiVoT-10.7B-Mistral-v0.2-RP model, PiVoT-MoE takes it a step further with the incorporation of the MoE technique. This means that not only does the model have an expansive knowledge base, but it also has the ability to mix and match its expertise to better suit the specific roleplaying scenario.
358
+
359
+ ## Prompt Template - Alpaca (ChatML works)
360
+ ```
361
+ {system}
362
+ ### Instruction:
363
+ {instruction}
364
+ ### Response:
365
+ {response}
366
+ ```