gghfez commited on
Commit
6e72910
·
verified ·
1 Parent(s): 3265d27

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +89 -0
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - fr
5
+ - de
6
+ - es
7
+ - it
8
+ - pt
9
+ - zh
10
+ - ja
11
+ - ru
12
+ - ko
13
+ license: other
14
+ license_name: mrl
15
+ license_link: https://mistral.ai/licenses/MRL-0.1.md
16
+ base_model:
17
+ - gghfez/Writer-Large-2411-v2.1
18
+ ---
19
+ # Writer-Large-2411-v2.1
20
+
21
+ AWQ-Quant of [gghfez/Writer-Large-2411-v2.1](https://huggingface.co/gghfez/Writer-Large-2411-v2.1)
22
+
23
+ Creative-Writing Control-Vectors available here: [gghfez/Writer-Large-2411-v2.1-control-vectors](https://huggingface.co/gghfez/Writer-Large-2411-v2.1-control-vectors)
24
+
25
+ ## Overview
26
+
27
+ This model is built on Mistral-Large-Instruct-2411 and optimized for creative writing purposes. The base model excels at following instructions and handling details in long context when using the [new prompt template](https://huggingface.co/gghfez/Mistral-Large-Instruct-2411/blob/main/tokenizer_config.json#L6177).
28
+
29
+ ### Key Improvements
30
+ - Reduced positivity bias
31
+ - Reduced AI tropes and repetitive language patterns in story generation
32
+ - Enhanced performance with longer context stories (multiple chapters) and roleplay sessions
33
+ - Improved steering capabilities for roleplay via [OOC] instructions
34
+ - Better handling of "group chat" scenarios
35
+
36
+
37
+
38
+ <img src="https://files.catbox.moe/hisiua.png" width="400"/>
39
+
40
+ ## Usage
41
+
42
+ ### Prompt Template
43
+ **The model requires a system prompt in the Mistral-V7 format.**
44
+ If you omit [`SYSTEM_PROMPT] [/SYSTEM_PROMPT]`, the model:
45
+ - May not follow instructions properly at short contexts
46
+ - Can become repetitive at longer contexts
47
+
48
+ Example:
49
+ ```python
50
+ [SYSTEM_PROMPT]You are an award winning writer. Assist the user.[/SYSTEM_PROMPT][INST] Write the opening chapter of ... [/INST]
51
+ ```
52
+
53
+ ### SillyTavern Integration
54
+ Story String:
55
+ ```python
56
+ [SYSTEM_PROMPT] {{#if system}}{{system}}[/SYSTEM_PROMPT] [INST]
57
+ {{/if}}{{#if wiBefore}}{{wiBefore}}
58
+ {{/if}}{{#if description}}{{description}}
59
+ {{/if}}{{#if personality}}{{personality}}
60
+ {{/if}}{{#if scenario}}{{scenario}}
61
+ {{/if}}{{#if wiAfter}}{{wiAfter}}
62
+ {{/if}}{{#if persona}}{{persona}}
63
+ {{/if}}{{trim}}[/INST] Understood.</s>
64
+ ```
65
+
66
+ For response steering, use `[OOC]` commands, e.g.:
67
+ - `[OOC] Have them interrupted by a loud explosion in a nearby factory`
68
+ - `[OOC] Have her refuse to sell it and suggest another merchant instead`
69
+
70
+ ## Technical Details
71
+
72
+ ### Training
73
+ - QLoRA training at 32768 context
74
+ - Merged with [gghfez/Mistral-Large-Instruct-2411](https://huggingface.co/gghfez/Mistral-Large-Instruct-2411) at bf16
75
+ - [jukofyork/Creative writing control vectors](https://huggingface.co/jukofyork/creative-writing-control-vectors-v3.0) were applied during synthetic dataset generation
76
+ - Includes standard assistant instruct data for long-context stability
77
+ - Note: Performance on code tasks may be reduced compared to base model
78
+ - Note: No attempt was made to remove 'Name-Slop', so you'll still encounter Lily and Elara if you don't specify character names
79
+
80
+ ### Context Length
81
+ - Base model: 131,072 tokens
82
+ - Training range: 1024-32728 tokens
83
+ - Training context window: 32768 tokens
84
+
85
+ ## Testing Environments
86
+ Tested with exllamav2 4.5bpw on:
87
+ - [tabbyAPI](https://github.com/theroyallab/tabbyAPI) + [MikuPad](https://github.com/lmg-anon/mikupad)
88
+ - [tabbyAPI](https://github.com/theroyallab/tabbyAPI) + [SillyTavern](https://github.com/SillyTavern/SillyTavern)
89
+ - [exui](https://github.com/turboderp/exui)