Commit
•
b119d6e
1
Parent(s):
4bf9949
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
inference: false
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: transformers
|
6 |
+
pipeline_tag: text-generation
|
7 |
+
tags:
|
8 |
+
- mixtral
|
9 |
+
license: apache-2.0
|
10 |
+
datasets:
|
11 |
+
- lemonilia/LimaRP
|
12 |
+
---
|
13 |
+
|
14 |
+
# Mixtral-8x7B-Instruct-v0.1-LimaRP-ZLoss
|
15 |
+
|
16 |
+
Experimental model, using a limarp qlora trained at 10k ctx length (greater than size of the longest limarp sample when tokenized via mistral's tokenizer) on [mistralai/Mixtral-8x7B-v0.1](https://huggingface.co/mistralai/Mixtral-8x7B-v0.1) using [Charles Goddard](https://huggingface.co/chargoddard)'s ZLoss and Megablocks-based fork of transformers, and then fused to [mistralai/Mixtral-8x7B-Instruct-v0.1](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1) at 0.5 weight.
|
17 |
+
|
18 |
+
Would try with temp ~1.5-2 and min-p of ~0.03-0.05 since mixtral does appear to be highly confident on its responses and can enter repetition loops after several thousand tokens of responses.
|
19 |
+
|
20 |
+
[Peft Adapter](https://huggingface.co/Doctor-Shotgun/limarp-zloss-mixtral-8x7b-qlora)
|
21 |
+
|
22 |
+
## Usage:
|
23 |
+
The intended prompt format is the Alpaca instruction format of LimaRP v3:
|
24 |
+
```
|
25 |
+
### Instruction:
|
26 |
+
Character's Persona: {bot character description}
|
27 |
+
|
28 |
+
User's Persona: {user character description}
|
29 |
+
|
30 |
+
Scenario: {what happens in the story}
|
31 |
+
|
32 |
+
Play the role of Character. Taking the above information into consideration, you must engage in a roleplaying chat with User below this line. Do not write dialogues and narration for User.
|
33 |
+
|
34 |
+
### Input:
|
35 |
+
User: {utterance}
|
36 |
+
|
37 |
+
### Response:
|
38 |
+
Character: {utterance}
|
39 |
+
|
40 |
+
### Input:
|
41 |
+
User: {utterance}
|
42 |
+
|
43 |
+
### Response:
|
44 |
+
Character: {utterance}
|
45 |
+
|
46 |
+
(etc.)
|
47 |
+
```
|
48 |
+
|
49 |
+
## Message length control
|
50 |
+
Due to the inclusion of LimaRP v3, it is possible to append a length modifier to the response instruction sequence, like this:
|
51 |
+
```
|
52 |
+
### Input
|
53 |
+
User: {utterance}
|
54 |
+
|
55 |
+
### Response: (length = medium)
|
56 |
+
Character: {utterance}
|
57 |
+
```
|
58 |
+
This has an immediately noticeable effect on bot responses. The available lengths are: `micro, tiny, short, medium, long, massive, huge, enormous, humongous, unlimited`. The recommended starting length is `medium`. Keep in mind that the AI may ramble or impersonate the user with very long messages.
|
59 |
+
## Bias, Risks, and Limitations
|
60 |
+
The model will show biases similar to those observed in niche roleplaying forums on the Internet, besides those exhibited by the base model. It is not intended for supplying factual information or advice in any form.
|
61 |
+
## Training Details
|
62 |
+
This model is a merge. Please refer to the link repositories of the merged models for details.
|