TheBloke commited on
Commit
c023ed3
1 Parent(s): 9657957

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +467 -0
README.md ADDED
@@ -0,0 +1,467 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Undi95/Mistral-ClaudeLimaRP-v3-7B
3
+ inference: false
4
+ license: apache-2.0
5
+ model_creator: Undi
6
+ model_name: Mistral ClaudeLimaRP v3 7B
7
+ model_type: mistral
8
+ prompt_template: "### Instruction:\nCharacter's Persona: bot character description\n\
9
+ \nUser's persona: user character description\n \nScenario: what happens in the\
10
+ \ story\n\nPlay the role of Character. You must engage in a roleplaying chat with\
11
+ \ User below this line. Do not write dialogues and narration for User. Character\
12
+ \ should respond with messages of medium length.\n\n### Input:\nUser: {prompt}\n\
13
+ \n### Response:\nCharacter: \n"
14
+ quantized_by: TheBloke
15
+ tags:
16
+ - not-for-all-audiences
17
+ - nsfw
18
+ ---
19
+ <!-- markdownlint-disable MD041 -->
20
+
21
+ <!-- header start -->
22
+ <!-- 200823 -->
23
+ <div style="width: auto; margin-left: auto; margin-right: auto">
24
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
25
+ </div>
26
+ <div style="display: flex; justify-content: space-between; width: 100%;">
27
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
28
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
29
+ </div>
30
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
31
+ <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>
32
+ </div>
33
+ </div>
34
+ <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>
35
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
36
+ <!-- header end -->
37
+
38
+ # Mistral ClaudeLimaRP v3 7B - AWQ
39
+ - Model creator: [Undi](https://huggingface.co/Undi95)
40
+ - Original model: [Mistral ClaudeLimaRP v3 7B](https://huggingface.co/Undi95/Mistral-ClaudeLimaRP-v3-7B)
41
+
42
+ <!-- description start -->
43
+ ## Description
44
+
45
+ This repo contains AWQ model files for [Undi's Mistral ClaudeLimaRP v3 7B](https://huggingface.co/Undi95/Mistral-ClaudeLimaRP-v3-7B).
46
+
47
+ These files were quantised using hardware kindly provided by [Massed Compute](https://massedcompute.com/).
48
+
49
+
50
+ ### About AWQ
51
+
52
+ AWQ is an efficient, accurate and blazing-fast low-bit weight quantization method, currently supporting 4-bit quantization. Compared to GPTQ, it offers faster Transformers-based inference with equivalent or better quality compared to the most commonly used GPTQ settings.
53
+
54
+ It is supported by:
55
+
56
+ - [Text Generation Webui](https://github.com/oobabooga/text-generation-webui) - using Loader: AutoAWQ
57
+ - [vLLM](https://github.com/vllm-project/vllm) - Llama and Mistral models only
58
+ - [Hugging Face Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference)
59
+ - [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) - for use from Python code
60
+
61
+ <!-- description end -->
62
+ <!-- repositories-available start -->
63
+ ## Repositories available
64
+
65
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/Mistral-ClaudeLimaRP-v3-7B-AWQ)
66
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Mistral-ClaudeLimaRP-v3-7B-GPTQ)
67
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Mistral-ClaudeLimaRP-v3-7B-GGUF)
68
+ * [Undi's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Undi95/Mistral-ClaudeLimaRP-v3-7B)
69
+ <!-- repositories-available end -->
70
+
71
+ <!-- prompt-template start -->
72
+ ## Prompt template: LimaRP-Alpaca
73
+
74
+ ```
75
+ ### Instruction:
76
+ Character's Persona: bot character description
77
+
78
+ User's persona: user character description
79
+
80
+ Scenario: what happens in the story
81
+
82
+ Play the role of Character. You must engage in a roleplaying chat with User below this line. Do not write dialogues and narration for User. Character should respond with messages of medium length.
83
+
84
+ ### Input:
85
+ User: {prompt}
86
+
87
+ ### Response:
88
+ Character:
89
+
90
+ ```
91
+
92
+ <!-- prompt-template end -->
93
+
94
+
95
+ <!-- README_AWQ.md-provided-files start -->
96
+ ## Provided files, and AWQ parameters
97
+
98
+ For my first release of AWQ models, I am releasing 128g models only. I will consider adding 32g as well if there is interest, and once I have done perplexity and evaluation comparisons, but at this time 32g models are still not fully tested with AutoAWQ and vLLM.
99
+
100
+ Models are released as sharded safetensors files.
101
+
102
+ | Branch | Bits | GS | AWQ Dataset | Seq Len | Size |
103
+ | ------ | ---- | -- | ----------- | ------- | ---- |
104
+ | [main](https://huggingface.co/TheBloke/Mistral-ClaudeLimaRP-v3-7B-AWQ/tree/main) | 4 | 128 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 4.15 GB
105
+
106
+ <!-- README_AWQ.md-provided-files end -->
107
+
108
+ <!-- README_AWQ.md-text-generation-webui start -->
109
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
110
+
111
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
112
+
113
+ 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.
114
+
115
+ 1. Click the **Model tab**.
116
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/Mistral-ClaudeLimaRP-v3-7B-AWQ`.
117
+ 3. Click **Download**.
118
+ 4. The model will start downloading. Once it's finished it will say "Done".
119
+ 5. In the top left, click the refresh icon next to **Model**.
120
+ 6. In the **Model** dropdown, choose the model you just downloaded: `Mistral-ClaudeLimaRP-v3-7B-AWQ`
121
+ 7. Select **Loader: AutoAWQ**.
122
+ 8. Click Load, and the model will load and is now ready for use.
123
+ 9. 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.
124
+ 10. Once you're ready, click the **Text Generation** tab and enter a prompt to get started!
125
+ <!-- README_AWQ.md-text-generation-webui end -->
126
+
127
+ <!-- README_AWQ.md-use-from-vllm start -->
128
+ ## Multi-user inference server: vLLM
129
+
130
+ Documentation on installing and using vLLM [can be found here](https://vllm.readthedocs.io/en/latest/).
131
+
132
+ - Please ensure you are using vLLM version 0.2 or later.
133
+ - When using vLLM as a server, pass the `--quantization awq` parameter.
134
+
135
+ For example:
136
+
137
+ ```shell
138
+ python3 python -m vllm.entrypoints.api_server --model TheBloke/Mistral-ClaudeLimaRP-v3-7B-AWQ --quantization awq
139
+ ```
140
+
141
+ - When using vLLM from Python code, again set `quantization=awq`.
142
+
143
+ For example:
144
+
145
+ ```python
146
+ from vllm import LLM, SamplingParams
147
+
148
+ prompts = [
149
+ "Tell me about AI",
150
+ "Write a story about llamas",
151
+ "What is 291 - 150?",
152
+ "How much wood would a woodchuck chuck if a woodchuck could chuck wood?",
153
+ ]
154
+ prompt_template=f'''### Instruction:
155
+ Character's Persona: bot character description
156
+
157
+ User's persona: user character description
158
+
159
+ Scenario: what happens in the story
160
+
161
+ Play the role of Character. You must engage in a roleplaying chat with User below this line. Do not write dialogues and narration for User. Character should respond with messages of medium length.
162
+
163
+ ### Input:
164
+ User: {prompt}
165
+
166
+ ### Response:
167
+ Character:
168
+ '''
169
+
170
+ prompts = [prompt_template.format(prompt=prompt) for prompt in prompts]
171
+
172
+ sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
173
+
174
+ llm = LLM(model="TheBloke/Mistral-ClaudeLimaRP-v3-7B-AWQ", quantization="awq", dtype="auto")
175
+
176
+ outputs = llm.generate(prompts, sampling_params)
177
+
178
+ # Print the outputs.
179
+ for output in outputs:
180
+ prompt = output.prompt
181
+ generated_text = output.outputs[0].text
182
+ print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")
183
+ ```
184
+ <!-- README_AWQ.md-use-from-vllm start -->
185
+
186
+ <!-- README_AWQ.md-use-from-tgi start -->
187
+ ## Multi-user inference server: Hugging Face Text Generation Inference (TGI)
188
+
189
+ Use TGI version 1.1.0 or later. The official Docker container is: `ghcr.io/huggingface/text-generation-inference:1.1.0`
190
+
191
+ Example Docker parameters:
192
+
193
+ ```shell
194
+ --model-id TheBloke/Mistral-ClaudeLimaRP-v3-7B-AWQ --port 3000 --quantize awq --max-input-length 3696 --max-total-tokens 4096 --max-batch-prefill-tokens 4096
195
+ ```
196
+
197
+ Example Python code for interfacing with TGI (requires [huggingface-hub](https://github.com/huggingface/huggingface_hub) 0.17.0 or later):
198
+
199
+ ```shell
200
+ pip3 install huggingface-hub
201
+ ```
202
+
203
+ ```python
204
+ from huggingface_hub import InferenceClient
205
+
206
+ endpoint_url = "https://your-endpoint-url-here"
207
+
208
+ prompt = "Tell me about AI"
209
+ prompt_template=f'''### Instruction:
210
+ Character's Persona: bot character description
211
+
212
+ User's persona: user character description
213
+
214
+ Scenario: what happens in the story
215
+
216
+ Play the role of Character. You must engage in a roleplaying chat with User below this line. Do not write dialogues and narration for User. Character should respond with messages of medium length.
217
+
218
+ ### Input:
219
+ User: {prompt}
220
+
221
+ ### Response:
222
+ Character:
223
+ '''
224
+
225
+ client = InferenceClient(endpoint_url)
226
+ response = client.text_generation(prompt,
227
+ max_new_tokens=128,
228
+ do_sample=True,
229
+ temperature=0.7,
230
+ top_p=0.95,
231
+ top_k=40,
232
+ repetition_penalty=1.1)
233
+
234
+ print(f"Model output: ", response)
235
+ ```
236
+ <!-- README_AWQ.md-use-from-tgi end -->
237
+
238
+ <!-- README_AWQ.md-use-from-python start -->
239
+ ## Inference from Python code using AutoAWQ
240
+
241
+ ### Install the AutoAWQ package
242
+
243
+ Requires: [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) 0.1.1 or later.
244
+
245
+ ```shell
246
+ pip3 install autoawq
247
+ ```
248
+
249
+ If you have problems installing [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) using the pre-built wheels, install it from source instead:
250
+
251
+ ```shell
252
+ pip3 uninstall -y autoawq
253
+ git clone https://github.com/casper-hansen/AutoAWQ
254
+ cd AutoAWQ
255
+ pip3 install .
256
+ ```
257
+
258
+ ### AutoAWQ example code
259
+
260
+ ```python
261
+ from awq import AutoAWQForCausalLM
262
+ from transformers import AutoTokenizer
263
+
264
+ model_name_or_path = "TheBloke/Mistral-ClaudeLimaRP-v3-7B-AWQ"
265
+
266
+ # Load tokenizer
267
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, trust_remote_code=False)
268
+ # Load model
269
+ model = AutoAWQForCausalLM.from_quantized(model_name_or_path, fuse_layers=True,
270
+ trust_remote_code=False, safetensors=True)
271
+
272
+ prompt = "Tell me about AI"
273
+ prompt_template=f'''### Instruction:
274
+ Character's Persona: bot character description
275
+
276
+ User's persona: user character description
277
+
278
+ Scenario: what happens in the story
279
+
280
+ Play the role of Character. You must engage in a roleplaying chat with User below this line. Do not write dialogues and narration for User. Character should respond with messages of medium length.
281
+
282
+ ### Input:
283
+ User: {prompt}
284
+
285
+ ### Response:
286
+ Character:
287
+ '''
288
+
289
+ print("*** Running model.generate:")
290
+
291
+ token_input = tokenizer(
292
+ prompt_template,
293
+ return_tensors='pt'
294
+ ).input_ids.cuda()
295
+
296
+ # Generate output
297
+ generation_output = model.generate(
298
+ token_input,
299
+ do_sample=True,
300
+ temperature=0.7,
301
+ top_p=0.95,
302
+ top_k=40,
303
+ max_new_tokens=512
304
+ )
305
+
306
+ # Get the tokens from the output, decode them, print them
307
+ token_output = generation_output[0]
308
+ text_output = tokenizer.decode(token_output)
309
+ print("LLM output: ", text_output)
310
+
311
+ """
312
+ # Inference should be possible with transformers pipeline as well in future
313
+ # But currently this is not yet supported by AutoAWQ (correct as of September 25th 2023)
314
+ from transformers import pipeline
315
+
316
+ print("*** Pipeline:")
317
+ pipe = pipeline(
318
+ "text-generation",
319
+ model=model,
320
+ tokenizer=tokenizer,
321
+ max_new_tokens=512,
322
+ do_sample=True,
323
+ temperature=0.7,
324
+ top_p=0.95,
325
+ top_k=40,
326
+ repetition_penalty=1.1
327
+ )
328
+
329
+ print(pipe(prompt_template)[0]['generated_text'])
330
+ """
331
+ ```
332
+ <!-- README_AWQ.md-use-from-python end -->
333
+
334
+ <!-- README_AWQ.md-compatibility start -->
335
+ ## Compatibility
336
+
337
+ The files provided are tested to work with:
338
+
339
+ - [text-generation-webui](https://github.com/oobabooga/text-generation-webui) using `Loader: AutoAWQ`.
340
+ - [vLLM](https://github.com/vllm-project/vllm) version 0.2.0 and later.
341
+ - [Hugging Face Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) version 1.1.0 and later.
342
+ - [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) version 0.1.1 and later.
343
+
344
+ <!-- README_AWQ.md-compatibility end -->
345
+
346
+ <!-- footer start -->
347
+ <!-- 200823 -->
348
+ ## Discord
349
+
350
+ For further support, and discussions on these models and AI in general, join us at:
351
+
352
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
353
+
354
+ ## Thanks, and how to contribute
355
+
356
+ Thanks to the [chirper.ai](https://chirper.ai) team!
357
+
358
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
359
+
360
+ 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.
361
+
362
+ 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.
363
+
364
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
365
+
366
+ * Patreon: https://patreon.com/TheBlokeAI
367
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
368
+
369
+ **Special thanks to**: Aemon Algiz.
370
+
371
+ **Patreon special mentions**: Brandon Frisco, LangChain4j, Spiking Neurons AB, transmissions 11, Joseph William Delisle, Nitin Borwankar, Willem Michiel, Michael Dempsey, vamX, Jeffrey Morgan, zynix, jjj, Omer Bin Jawed, Sean Connelly, jinyuan sun, Jeromy Smith, Shadi, Pawan Osman, Chadd, Elijah Stavena, Illia Dulskyi, Sebastain Graf, Stephen Murray, terasurfer, Edmond Seymore, Celu Ramasamy, Mandus, Alex, biorpg, Ajan Kanaga, Clay Pascal, Raven Klaugh, 阿明, K, ya boyyy, usrbinkat, Alicia Loh, John Villwock, ReadyPlayerEmma, Chris Smitley, Cap'n Zoog, fincy, GodLy, S_X, sidney chen, Cory Kujawski, OG, Mano Prime, AzureBlack, Pieter, Kalila, Spencer Kim, Tom X Nguyen, Stanislav Ovsiannikov, Michael Levine, Andrey, Trailburnt, Vadim, Enrico Ros, Talal Aujan, Brandon Phillips, Jack West, Eugene Pentland, Michael Davis, Will Dee, webtim, Jonathan Leane, Alps Aficionado, Rooh Singh, Tiffany J. Kim, theTransient, Luke @flexchar, Elle, Caitlyn Gatomon, Ari Malik, subjectnull, Johann-Peter Hartmann, Trenton Dambrowitz, Imad Khwaja, Asp the Wyvern, Emad Mostaque, Rainer Wilmers, Alexandros Triantafyllidis, Nicholas, Pedro Madruga, SuperWojo, Harry Royden McLaughlin, James Bentley, Olakabola, David Ziegler, Ai Maven, Jeff Scroggin, Nikolai Manek, Deo Leter, Matthew Berman, Fen Risland, Ken Nordquist, Manuel Alberto Morcote, Luke Pendergrass, TL, Fred von Graf, Randy H, Dan Guido, NimbleBox.ai, Vitor Caleffi, Gabriel Tamborski, knownsqashed, Lone Striker, Erik Bjäreholt, John Detwiler, Leonard Tan, Iucharbius
372
+
373
+
374
+ Thank you to all my generous patrons and donaters!
375
+
376
+ And thank you again to a16z for their generous grant.
377
+
378
+ <!-- footer end -->
379
+
380
+ # Original model card: Undi's Mistral ClaudeLimaRP v3 7B
381
+
382
+
383
+ ## Description
384
+
385
+ This repo contains fp16 files of [Norquinal/Mistral-7B-claude-chat](https://huggingface.co/Norquinal/Mistral-7B-claude-chat) with the LoRA [lemonilia/LimaRP-Mistral-7B-v0.1](https://huggingface.co/lemonilia/LimaRP-Mistral-7B-v0.1) applied at weight "0.75".
386
+
387
+ All credit go to [lemonilia](https://huggingface.co/lemonilia) and [Norquinal](https://huggingface.co/Norquinal)
388
+
389
+ ## Prompt format
390
+ Same as before. It uses the [extended Alpaca format](https://github.com/tatsu-lab/stanford_alpaca),
391
+ with `### Input:` immediately preceding user inputs and `### Response:` immediately preceding
392
+ model outputs. While Alpaca wasn't originally intended for multi-turn responses, in practice this
393
+ is not a problem; the format follows a pattern already used by other models.
394
+
395
+ ```
396
+ ### Instruction:
397
+ Character's Persona: {bot character description}
398
+
399
+ User's Persona: {user character description}
400
+
401
+ Scenario: {what happens in the story}
402
+
403
+ Play the role of Character. You must engage in a roleplaying chat with User below this line. Do not write dialogues and narration for User.
404
+
405
+ ### Input:
406
+ User: {utterance}
407
+
408
+ ### Response:
409
+ Character: {utterance}
410
+
411
+ ### Input
412
+ User: {utterance}
413
+
414
+ ### Response:
415
+ Character: {utterance}
416
+
417
+ (etc.)
418
+ ```
419
+
420
+ You should:
421
+ - Replace all text in curly braces (curly braces included) with your own text.
422
+ - Replace `User` and `Character` with appropriate names.
423
+
424
+
425
+ ### Message length control
426
+ Inspired by the previously named "Roleplay" preset in SillyTavern, with this
427
+ version of LimaRP it is possible to append a length modifier to the response instruction
428
+ sequence, like this:
429
+
430
+ ```
431
+ ### Input
432
+ User: {utterance}
433
+
434
+ ### Response: (length = medium)
435
+ Character: {utterance}
436
+ ```
437
+
438
+ This has an immediately noticeable effect on bot responses. The available lengths are:
439
+ `tiny`, `short`, `medium`, `long`, `huge`, `humongous`, `extreme`, `unlimited`. **The
440
+ recommended starting length is `medium`**. Keep in mind that the AI may ramble
441
+ or impersonate the user with very long messages.
442
+
443
+ The length control effect is reproducible, but the messages will not necessarily follow
444
+ lengths very precisely, rather follow certain ranges on average, as seen in this table
445
+ with data from tests made with one reply at the beginning of the conversation:
446
+
447
+ ![lengths](https://files.catbox.moe/dy39bt.png)
448
+
449
+ Response length control appears to work well also deep into the conversation.
450
+
451
+ ## Suggested settings
452
+ You can follow these instruction format settings in SillyTavern. Replace `tiny` with
453
+ your desired response length:
454
+
455
+ ![settings](https://files.catbox.moe/6lcz0u.png)
456
+
457
+ ## Text generation settings
458
+ Extensive testing with Mistral has not been performed yet, but suggested starting text
459
+ generation settings may be:
460
+
461
+ - TFS = 0.90~0.95
462
+ - Temperature = 0.70~0.85
463
+ - Repetition penalty = 1.08~1.10
464
+ - top-k = 0 (disabled)
465
+ - top-p = 1 (disabled)
466
+
467
+ If you want to support me, you can [here](https://ko-fi.com/undiai).