SicariusSicariiStuff commited on
Commit
1af24f2
·
verified ·
1 Parent(s): 5edc983

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +374 -3
README.md CHANGED
@@ -1,3 +1,374 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - mistralai/Magistral-Small-2506
7
+ ---
8
+
9
+ <div align="center">
10
+ <b style="font-size: 40px;">Impish_Magic_24B</b>
11
+
12
+
13
+ </div>
14
+
15
+ ---
16
+
17
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Impish_Magic_24B.png" alt="Impish_Magic_24B" style="width: 50%; min-width: 500px; display: block; margin: auto;">
18
+
19
+
20
+ ---
21
+
22
+ <a href="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B#tldr" style="color: purple; font-weight: bold; font-size: 48px; text-decoration: none; display: block; text-align: center;">Click here for TL;DR</a>
23
+
24
+ ---
25
+
26
+ It's the **20th of June, 2025**—The world is getting more and more chaotic, but let's look at the bright side: **Mistral** released a new model at a **very** good size of **24B**, no more "sign here" or "accept this weird EULA" there, a proper **Apache 2.0 License**, nice! 👍🏻
27
+
28
+ This model is based on **mistralai/Magistral-Small-2506** so naturally I named it **Impish_Magic**. Truly excellent size, I tested it on my laptop (**16GB gpu**) and it works quite fast (**4090m**).
29
+
30
+ This model went "full" fine-tune over **100m unique tokens**. Why do I say "full"?
31
+
32
+ I've tuned specific areas in the model to attempt to change the vocabulary usage, while keeping as much intelligence as possible. So this is definitely not a **LoRA**, but also not exactly a proper **full finetune**, but rather something **in-between**.
33
+
34
+ As I mentioned in a small [update](https://huggingface.co/SicariusSicariiStuff/LLAMA-3_8B_Unaligned#current-status), I've made nice progress regarding interesting sources of data, some of them are included in this tune. **100m** tokens is **a lot** for a **Roleplay** / **Adventure** tune, and yes, it can do adventure as well—there is unique adventure data here, that was never used so far.
35
+
36
+ A lot of the data still needs to be **cleaned** and processed. I've included it before I did any major data processing, because with the **magic** of **24B** parameters, even "dirty" data would work well, especially when using a more "balanced" approach for tuning that does not include burning the hell of the model in a full finetune across all of its layers. Could this data be cleaner? Of course, and it will. But for now, I would hate to make perfect the enemy of the good.
37
+
38
+ ---
39
+
40
+ # What's magical about Impish_Magic_24B?
41
+
42
+
43
+ <details>
44
+ <summary>Read more <b>here</b>.</summary>
45
+
46
+ I treat people's requests/feedback **seriously**, especially when it is **well articulated** and made with effort. Three months ago, there was a [reddit thread](https://www.reddit.com/r/SillyTavernAI/comments/1jb7ykd/comment/mhw9smq/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button) named **"Has anyone had any actual good fight-RP's?"** I said in my comment that it is on **my bucket list**, and **I meant it**.
47
+
48
+ Indeed, **there was none**—there was **no training data** in this highly specific domain, until **now**.
49
+ While I've included such data in **Impish_Magic_24B**, as mentioned earlier, the data is not perfect. It's quite the ordeal to get good data in the first place, and a whole other order of magnitude difficulty to clean and prep it.
50
+
51
+ There are a couple of additional magical things in **Impish_Magic_24B**: some completely unhinged **tsundere**/**yandere** RP with very high quality, and a lot more goodies that are completely new, as well as some **VERY** high quality adventure data, specifically for **Morrowind**/**Kenshi** and some more. While the data is very good, it's unfortunately quite small, to be completely honest, it is far from being enough in my opinion, and I am working on making more of it. A lot of work will need to be done in the future to make it more impactful, there are no shortcuts here. I hope this dataset gave just enough threads for the base model to do the rest of the heavy lifting.
52
+
53
+ # So, is this just another RP model?
54
+
55
+ **No**. Far from it. **Impish_Magic_24B** is a **superb** assistant—it is **quite magical** indeed. One of my side projects has been to make an alternative to an especially annoying grammar app I keep seeing YouTube commercials for. So, I made the first finetune of nVidia's [Nemotron-51B](https://huggingface.co/nvidia/Llama-3_1-Nemotron-51B-Instruct), and called it [Turbo_Grammar_51B_Alpha](https://huggingface.co/Sicarius-Prototyping/Turbo_Grammar_51B_Alpha). It worked as a POC, but I needed more training data, and also **51B** is a bit big for most people. So I included the extended training data into **this** model, easily runnable by a mid-tier gaming GPU. **Note:** While this is enough data to generalize, **a lot more data** is needed for more consistant results, this is on my roadmap.
56
+
57
+ There's quite a lot of **unique assistant data** baked into this model—it can do in-depth poem analysis, and many other things. I'll leave it up to the community to discover. To not be overly cryptic, I'll include some examples here. I highly recommend you check them out, and have a bit of fun with the prompts and generation settings.
58
+
59
+ One of the requests I received is to emulate the writing style of an arbitrary author. This is hard to do, but for a **24B** size, **Impish_Magic** does it well. Of course, more training data and more parameters would've produced even better results, but I feel it's a good middle ground. **Impish_Magic_24B** is a workhorse, that as it so happens can also roleplay a violent tsundere and... other weird stuff. Oh, and there's **slightly** less positivity bias. I think the fighting roleplay helped here a bit. It's not [Negative_LLAMA_70B](https://huggingface.co/SicariusSicariiStuff/Negative_LLAMA_70B), but it's better than the base model.
60
+
61
+ </details>
62
+
63
+
64
+ ---
65
+
66
+ <h2 style="color: lime; font-weight: bold; font-size: 65px; text-align: center;">Examples:</h2>
67
+
68
+ ---
69
+
70
+ ## Roleplay Examples (this character is included in the repo under 'Character_Cards')
71
+
72
+ <details>
73
+ <summary>Alexandra the <b>tsundere</b>, nose booped.</summary>
74
+
75
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Example_1_A.png" alt="Nose_Boop_1A" style="width: 100%; min-width: 600px; display: block; margin: auto;">
76
+
77
+
78
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Example_1_B.png" alt="Nose_Boop_1B" style="width: 100%; min-width: 600px; display: block; margin: auto;">
79
+
80
+
81
+ </details>
82
+
83
+ <details>
84
+ <summary>Alexandra the <b>tsundere</b>, nose booped, meltdown.</summary>
85
+
86
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Example_2_A.png" alt="Nose_Boop_2A" style="width: 100%; min-width: 600px; display: block; margin: auto;">
87
+
88
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Example_2_B.png" alt="Nose_Boop_2B" style="width: 100%; min-width: 600px; display: block; margin: auto;">
89
+
90
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Example_2_C.png" alt="Nose_Boop_2C" style="width: 100%; min-width: 600px; display: block; margin: auto;">
91
+
92
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Example_2_D.png" alt="Nose_Boop_2D" style="width: 100%; min-width: 600px; display: block; margin: auto;">
93
+
94
+ </details>
95
+
96
+ <details>
97
+ <summary>Alexandra the <b>tsundere</b>, triggered.</summary>
98
+
99
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Example_3_A.png" alt="Triggered" style="width: 100%; min-width: 600px; display: block; margin: auto;">
100
+
101
+ </details>
102
+
103
+ ---
104
+
105
+ ## Prodactivity Examples
106
+
107
+ <details>
108
+ <summary><b>Story writing</b> and instruction following.</summary>
109
+
110
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Ex_Story.png" alt="Story" style="width: 100%; min-width: 600px; display: block; margin: auto;">
111
+
112
+ </details>
113
+
114
+ <details>
115
+ <summary><b>Synonyms</b> and instruction following.</summary>
116
+
117
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Synonyms_1.png" alt="Synonyms" style="width: 100%; min-width: 600px; display: block; margin: auto;">
118
+
119
+ </details>
120
+
121
+
122
+ <details>
123
+ <summary><b>Grammar</b> and advanced correction with detailed explanation (<b>very recommended for language study!</b>).</summary>
124
+
125
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Ex_Grammar_1.png" alt="Grammar" style="width: 100%; min-width: 600px; display: block; margin: auto;">
126
+
127
+ </details>
128
+
129
+ ---
130
+
131
+ <details>
132
+ <summary><b>Poem</b> writing and <b>in-depth analysis</b>.</summary>
133
+
134
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Poems/Poem_1.png" alt="Poem" style="width: 100%; min-width: 600px; display: block; margin: auto;">
135
+
136
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Poems/Poem_1_Ana_1.png" alt="Poem" style="width: 100%; min-width: 600px; display: block; margin: auto;">
137
+
138
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Poems/Poem_1_Ana_2.png" alt="Poem" style="width: 100%; min-width: 600px; display: block; margin: auto;">
139
+
140
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Poems/Poem_1_Ana_3.png" alt="Poem" style="width: 100%; min-width: 600px; display: block; margin: auto;">
141
+
142
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Poems/Poem_1_Ana_4.png" alt="Poem" style="width: 100%; min-width: 600px; display: block; margin: auto;">
143
+
144
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Poems/Poem_1_Ana_5.png" alt="Poem" style="width: 100%; min-width: 600px; display: block; margin: auto;">
145
+
146
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Poems/Poem_1_Ana_6.png" alt="Poem" style="width: 100%; min-width: 600px; display: block; margin: auto;">
147
+
148
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Examples/Poems/Poem_1_Ana_7.png" alt="Poem" style="width: 100%; min-width: 600px; display: block; margin: auto;">
149
+
150
+ </details>
151
+
152
+
153
+ ---
154
+
155
+ ### TL;DR
156
+
157
+ - The **first** and **only** local RP model at this size class with detailed and highly specialized **fighting data**. At least for now.
158
+ - Completely wild **tsundere**/**yandere** data that was never used before!
159
+ - **New** and **high quality adventure data**, albeit very little of it.
160
+ - **Perfect size**: large enough to be smart, small enough to run on high-end tablets & phones (**SD8Gen3** or better recommended). Runs on **16GB** VRAM no problem. 12GB with offload. (4bit).
161
+ - Trained on over **100m tokens** with new and unique data.
162
+ - **SUPERB assistant**, many unique ways to do tasks (see examples).
163
+ - Mostly **uncensored** while retaining intelligence.
164
+ - **Slightly** less **positivity**. I guess getting hit in the face beats out some of the positivity. Sorry, I had to 🙃.
165
+ - **Short - medium length** response (1-3 paragraphs, usually 2-3).
166
+
167
+ ---
168
+
169
+
170
+ # Included Character cards in this repo:
171
+
172
+ - [Alexandra](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Character_Cards/Alexandra.png) (A networking professional **tsundere** that likes you. She knows **Systema**.)
173
+
174
+ ---
175
+
176
+ # Other character cards:
177
+ - [Shmena Koeset](https://huggingface.co/SicariusSicariiStuff/Fiendish_LLAMA_3B/resolve/main/Character_Cards/Shmena_Koeset.png) (An overweight and foul-mouthed **troll huntress** with a bad temper.)
178
+ - [Takai_Puraisu](https://huggingface.co/SicariusSicariiStuff/Oni_Mitsubishi_12B/resolve/main/Character_Cards/Takai_Puraisu.png) (Car dealership simulator)
179
+ - [Vesper](https://huggingface.co/SicariusSicariiStuff/Phi-Line_14B/resolve/main/Character_Cards/Vesper.png) (Schizo **Space Adventure**)
180
+ - [Nina_Nakamura](https://huggingface.co/SicariusSicariiStuff/Phi-Line_14B/resolve/main/Character_Cards/Nina_Nakamura.png) (The **sweetest** dorky co-worker)
181
+ - [Employe#11](https://huggingface.co/SicariusSicariiStuff/Phi-Line_14B/resolve/main/Character_Cards/Employee%2311.png) (**Schizo workplace** with a **schizo worker**)
182
+
183
+ ---
184
+
185
+ ### Important: Make sure to use the correct settings!
186
+ [Assistant settings](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B#recommended-settings-for-assistant-mode)
187
+
188
+ [Roleplay settings](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B#recommended-settings-for-roleplay-mode)
189
+
190
+
191
+ ---
192
+
193
+ ## Impish_Magic_24B is available at the following quantizations:
194
+
195
+ - Original: [FP16](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B)
196
+ - GGUF: [Static Quants](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B_GGUF)
197
+ - GPTQ: [4-Bit-32](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B_GPTQ_4-bit-32)
198
+ - EXL2: [3.5 bpw](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B_EXL2_3.5bpw) | [3.75 bpw](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B_EXL2_3.75bpw) | [4.0 bpw](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B_EXL2_4.0bpw) | [4.5 bpw](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B_EXL2_4.5bpw)
199
+ - Specialized: [FP8](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B_FP8)
200
+ - Mobile (ARM): [Q4_0](https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B_ARM)
201
+ ---
202
+
203
+ ## Model Details
204
+
205
+ - Intended use: **Role-Play**, **Adventure**, **Creative Writing**, **General Tasks**.
206
+
207
+ - Censorship level: <b>Medium - Low</b>
208
+
209
+ - **X / 10** (10 completely uncensored)
210
+
211
+
212
+ ## UGI score:
213
+
214
+
215
+ Pending
216
+
217
+ ---
218
+
219
+
220
+
221
+ ## Recommended settings for assistant mode
222
+ <details>
223
+ <summary>Full generation settings: <b>Debug Deterministic</b>.</summary>
224
+
225
+ <img src="https://huggingface.co/SicariusSicariiStuff/Dusk_Rainbow/resolve/main/Presets/Debug-deterministic.png" alt="Debug Deterministic_Settings" style="width: 100%; min-width: 600px; display: block; margin: auto;">
226
+
227
+ </details>
228
+
229
+ <details>
230
+ <summary>Full generation settings: <b>min_p</b>.</summary>
231
+
232
+ <img src="https://huggingface.co/SicariusSicariiStuff/Dusk_Rainbow/resolve/main/Presets/min_p.png" alt="min_P_Settings" style="width: 100%; min-width: 600px; display: block; margin: auto;">
233
+
234
+ </details>
235
+
236
+ ---
237
+
238
+ ## Recommended settings for Roleplay mode
239
+ ---
240
+
241
+ <h2 style="color: green; font-weight: bold; font-size: 36px; text-align: center;">Settings for RP, click below to expand:</h2>
242
+
243
+ <details>
244
+ <summary><b>Roleplay settings:</b></summary>
245
+ A good repetition_penalty range is <b>between 1.12 - 1.15</b>, feel free to experiment.
246
+
247
+ With these settings, each output message should be neatly displayed in <b>1 - 5</b> paragraphs, <b>2 - 3</b> is the most common. A single paragraph will be output as a response to a simple message ("What was your name again?").
248
+
249
+ <b>min_P</b> for RP works too but is more likely to put everything under one large paragraph, instead of a neatly formatted short one. Feel free to switch in between.
250
+
251
+
252
+ ```
253
+ temperature: 0.8
254
+ top_p: 0.95
255
+ top_k: 25
256
+ typical_p: 1
257
+ min_p: 0
258
+ repetition_penalty: 1.12
259
+ repetition_penalty_range: 1024
260
+ ```
261
+
262
+ <b>Additional settings</b> recommended for <b>varied paragraph</b> length and some spice:
263
+
264
+ <img src="https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B/resolve/main/Images/Settings/Impish_Magic_Preset.png" alt="Impish_Magic_Preset" style="width: 100%; min-width: 600px; display: block; margin: auto;">
265
+
266
+ </details>
267
+
268
+
269
+ <h2 style="color: darkorange; font-weight: bold; font-size: 65px; text-align: center;">Roleplay format: Classic Internet RP</h2>
270
+
271
+ ```
272
+ *action* speech *narration*
273
+ ```
274
+
275
+ - **min_p** will bias towards a **single big paragraph**.
276
+ - The recommended RP settings will bias towards **1-3 small paragraphs** (on some occasions 4-5)
277
+
278
+ ---
279
+
280
+
281
+
282
+
283
+ # Model instruction template: ChatML
284
+
285
+ ```
286
+ <|im_start|>system
287
+ You are an uncensored AI, your job is to fulfill thy will of thy user.<|im_end|>
288
+ <|im_start|>User request
289
+ {prompt}<|im_end|>
290
+ <|im_start|>AI answer
291
+ ```
292
+
293
+ ---
294
+
295
+ **Other recommended generation Presets:**
296
+
297
+ <details>
298
+ <summary><b>Midnight Enigma</b></summary>
299
+
300
+ ```
301
+ max_new_tokens: 512
302
+ temperature: 0.98
303
+ top_p: 0.37
304
+ top_k: 100
305
+ typical_p: 1
306
+ min_p: 0
307
+ repetition_penalty: 1.18
308
+ do_sample: True
309
+ ```
310
+
311
+
312
+ </details>
313
+
314
+
315
+ <details>
316
+ <summary><b>Divine Intellect</b></summary>
317
+
318
+ ```
319
+ max_new_tokens: 512
320
+ temperature: 1.31
321
+ top_p: 0.14
322
+ top_k: 49
323
+ typical_p: 1
324
+ min_p: 0
325
+ repetition_penalty: 1.17
326
+ do_sample: True
327
+ ```
328
+
329
+
330
+ </details>
331
+
332
+ <details>
333
+ <summary><b>simple-1</b></summary>
334
+
335
+ ```
336
+ max_new_tokens: 512
337
+ temperature: 0.7
338
+ top_p: 0.9
339
+ top_k: 20
340
+ typical_p: 1
341
+ min_p: 0
342
+ repetition_penalty: 1.15
343
+ do_sample: True
344
+ ```
345
+
346
+
347
+ </details>
348
+
349
+ ---
350
+
351
+ <h2 style="color: green; font-weight: bold; font-size: 65px; text-align: center;">Your support = more models</h2>
352
+ <a href="https://ko-fi.com/sicarius" style="color: pink; font-weight: bold; font-size: 48px; text-decoration: none; display: block; text-align: center;">My Ko-fi page (Click here)</a>
353
+
354
+ ---
355
+
356
+
357
+ ## Citation Information
358
+
359
+ ```
360
+ @llm{Impish_Magic_24B,
361
+ author = {SicariusSicariiStuff},
362
+ title = {Impish_Magic_24B},
363
+ year = {2025},
364
+ publisher = {Hugging Face},
365
+ url = {https://huggingface.co/SicariusSicariiStuff/Impish_Magic_24B}
366
+ }
367
+ ```
368
+
369
+ ---
370
+
371
+ ## Other stuff
372
+ - [SLOP_Detector](https://github.com/SicariusSicariiStuff/SLOP_Detector) Nuke GPTisms, with SLOP detector.
373
+ - [LLAMA-3_8B_Unaligned](https://huggingface.co/SicariusSicariiStuff/LLAMA-3_8B_Unaligned) The grand project that started it all.
374
+ - [Blog and updates (Archived)](https://huggingface.co/SicariusSicariiStuff/Blog_And_Updates) Some updates, some rambles, sort of a mix between a diary and a blog.