Text Generation
Transformers
GGUF
English
mergekit
Mixture of Experts
mixture of experts
Merge
4x8B
Llama3 MOE
creative
creative writing
fiction writing
plot generation
sub-plot generation
story generation
scene continue
storytelling
fiction story
science fiction
romance
all genres
story
writing
vivid prosing
vivid writing
fiction
roleplaying
bfloat16
swearing
rp
horror
Inference Endpoints
conversational
Update README.md
Browse files
README.md
CHANGED
@@ -9,4 +9,320 @@ tags:
|
|
9 |
- moe
|
10 |
- mixture of experts
|
11 |
- merge
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
|
|
|
9 |
- moe
|
10 |
- mixture of experts
|
11 |
- merge
|
12 |
+
- 4x8B
|
13 |
+
- Llama3 MOE
|
14 |
+
- creative
|
15 |
+
- creative writing
|
16 |
+
- fiction writing
|
17 |
+
- plot generation
|
18 |
+
- sub-plot generation
|
19 |
+
- fiction writing
|
20 |
+
- story generation
|
21 |
+
- scene continue
|
22 |
+
- storytelling
|
23 |
+
- fiction story
|
24 |
+
- science fiction
|
25 |
+
- romance
|
26 |
+
- all genres
|
27 |
+
- story
|
28 |
+
- writing
|
29 |
+
- vivid prosing
|
30 |
+
- vivid writing
|
31 |
+
- fiction
|
32 |
+
- roleplaying
|
33 |
+
- bfloat16
|
34 |
+
- swearing
|
35 |
+
- rp
|
36 |
+
- horror
|
37 |
+
- mergekit
|
38 |
+
pipeline_tag: text-generation
|
39 |
+
---
|
40 |
+
|
41 |
+
<B><font color="red">WARNING:</font> NSFW. Vivid prose. INTENSE. Visceral Details. Violence. HORROR. GORE. Swearing. UNCENSORED... humor, romance, fun. </B>
|
42 |
+
|
43 |
+
<h2>L3-4X8B-MOE-Dark-Planet-Infinite-25B-GGUF</h2>
|
44 |
+
|
45 |
+
<img src="dark-p-infinite.jpg" style="float:right; width:300px; height:300px; padding:10px;">
|
46 |
+
|
47 |
+
It is a LLama3 model, max context of 8192 (or 32k+ with rope) using mixture of experts to combine FOUR "Dark Planet"
|
48 |
+
models of 8B each into one massive powerhouse at 25B parameters (equal to 32B - 4 X 8 B).
|
49 |
+
|
50 |
+
This model's instruction following, and output generation for creative writing, prose, fiction and role play are exceptional.
|
51 |
+
|
52 |
+
It excels at description, dialog, imagery, metaphors, and prose - and shows great variations in sentence / paragraph size, length, and composition.
|
53 |
+
|
54 |
+
It is also not afraid, and will not pull its punches.
|
55 |
+
|
56 |
+
And it has a sense of humor too.
|
57 |
+
|
58 |
+
It can do horror just as easily as it can do romance.
|
59 |
+
|
60 |
+
Most notably dialog is very "un-ai" like, combined with prose (short, and terse at times).
|
61 |
+
|
62 |
+
(lots of different examples below, including 2, 3 and 4 experts and different genres)
|
63 |
+
|
64 |
+
And it is fast: 34 t/s (2 experts) on a low end 16GB card, Q3KS.
|
65 |
+
|
66 |
+
Double this speed for standard/mid-range video cards.
|
67 |
+
|
68 |
+
Model can be used also for all genres (examples below showing this).
|
69 |
+
|
70 |
+
This model has been designed to be relatively bullet proof and operates with all parameters, including temp settings from 0 to 5.
|
71 |
+
|
72 |
+
It is an extraordinary compressed model, with a very low perplexity level (lower than Meta Llama3 Instruct).
|
73 |
+
|
74 |
+
It is for any writing, fiction or roleplay activity.
|
75 |
+
|
76 |
+
It requires Llama3 template and/or "Command-R" template.
|
77 |
+
|
78 |
+
Example outputs below.
|
79 |
+
|
80 |
+
<B>Model Notes:</B>
|
81 |
+
|
82 |
+
- Detail, prose and fiction writing abilities are OFF THE SCALE relative to all combined Dark Planet 8B models.
|
83 |
+
- For more varied prose (sentence/paragraph/dialog) raise the temp and/or add more instructions in your prompt(s).
|
84 |
+
- Role-players: Careful raising temp too high as it may affect instruction following.
|
85 |
+
- This model works with rep pen of 1 or higher, 1.02+ recommended.
|
86 |
+
- If you want a specific type of prose (IE horror) add in "(vivid horror)" or "(graphic vivid horror)" (no quotes) in your prompt(s).
|
87 |
+
- A lot of GPTisms have been removed. There are still a few however - errrrr.
|
88 |
+
- This is not a "happy ever after" model. It has a negative bias.
|
89 |
+
- Output length will vary however this model prefers long outputs unless you state the size.
|
90 |
+
- For creative uses, different quants will produce slightly different output.
|
91 |
+
- Due to the high stability and compressed nature of this model, all quants will operate at above average levels.
|
92 |
+
- If you use rope to extend context, increase temp AND instructions detail levels to compensate for "rope issues".
|
93 |
+
- Source code for this model and Imatrix GGUFs versions will be uploaded shortly at separate repos.
|
94 |
+
|
95 |
+
<B>Meet the Team: Mixture of Experts Models</b>
|
96 |
+
|
97 |
+
This model is comprised of the following 4 models ("the experts") (in full):
|
98 |
+
|
99 |
+
[ https://huggingface.co/DavidAU/L3-Dark-Planet-8B-GGUF ]
|
100 |
+
|
101 |
+
[ https://huggingface.co/DavidAU/L3-Dark-Planet-8B-V2-Eight-Orbs-Of-Power-GGUF ]
|
102 |
+
|
103 |
+
[ https://huggingface.co/DavidAU/L3-Dark-Planet-Ring-World-8B-F32-GGUF ]
|
104 |
+
|
105 |
+
[ https://huggingface.co/DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B-GGUF ]
|
106 |
+
|
107 |
+
The mixture of experts is set at 2 experts, but you can use 3 or 4 too.
|
108 |
+
|
109 |
+
This "team" has a Captain (first listed model), and then all the team members contribute to the to "token"
|
110 |
+
choice billions of times per second. Note the Captain also contributes too.
|
111 |
+
|
112 |
+
Think of 2, 3 or 4 master chefs in the kitchen all competing to make the best dish for you.
|
113 |
+
|
114 |
+
This results in higher quality generation.
|
115 |
+
|
116 |
+
That means the power of every model is available during instruction and output generation.
|
117 |
+
|
118 |
+
This brings unparalleled power to all forms of generation and all use cases.
|
119 |
+
|
120 |
+
NOTE:
|
121 |
+
|
122 |
+
You can use one "expert" too ; however this means the model will randomly select an expert to use EACH TIME, resulting
|
123 |
+
in very different generation for each prompt / regen of a prompt.
|
124 |
+
|
125 |
+
CHANGING THE NUMBER OF EXPERTS:
|
126 |
+
|
127 |
+
You can set the number of experts in LMStudio (https://lmstudio.ai) at the "load" screen and via other apps/llm apps by setting "Experts" or "Number of Experts".
|
128 |
+
|
129 |
+
For Text-Generation-Webui (https://github.com/oobabooga/text-generation-webui) you set the number of experts at the loading screen page.
|
130 |
+
|
131 |
+
For server.exe / Llama-server.exe (Llamacpp - https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md )
|
132 |
+
add the following to the command line to start the "llamacpp server" (CLI):
|
133 |
+
|
134 |
+
"--override-kv llama.expert_used_count=int:6"
|
135 |
+
|
136 |
+
(no quotes, where "6" is the number of experts to use)
|
137 |
+
|
138 |
+
When using "API", you set the "num_experts_used" in the JSON payload (this maybe different for different back ends).
|
139 |
+
|
140 |
+
CREDITS:
|
141 |
+
|
142 |
+
Special thanks to all the model makers / creators listed above.
|
143 |
+
|
144 |
+
Please visit each repo above to see what model(s) contributed to each of models above and/or to learn more about the models
|
145 |
+
from the model makers.
|
146 |
+
|
147 |
+
Special credit goes to MERGEKIT, without you this project / model would not have been possible.
|
148 |
+
|
149 |
+
[ https://github.com/arcee-ai/mergekit ]
|
150 |
+
|
151 |
+
<B>Special Operations Notes for this MOE model:</B>
|
152 |
+
|
153 |
+
Because of how this "MOE" model is configured, even though the default is 2 experts, the "selected" 2 will vary during generation.
|
154 |
+
|
155 |
+
(same applies if you change the number of experts used)
|
156 |
+
|
157 |
+
This results in vastly different output generation PER generation of each prompt.
|
158 |
+
|
159 |
+
This is a positive in terms of variety, but also means it may take 2-4 regens (of the same prompt) to get the highest quality.
|
160 |
+
|
161 |
+
In addition, this model responds very well to Dry, Dynamic Temp, and Smooth/Quadratic samplers.
|
162 |
+
|
163 |
+
Using these in conjunction with the model can vastly improve output quality.
|
164 |
+
|
165 |
+
Higher temps (above 1) can also aid in generation - especially word choice/sentence generation.
|
166 |
+
|
167 |
+
When you increase the number of experts used output quality will also increase, at the cost of tokens per second speed.
|
168 |
+
|
169 |
+
As you increase/decrease the number of experts, you may want to adjust temp, samplers, and advanced samplers too.
|
170 |
+
|
171 |
+
Your quant choice(s) too will impact instruction following and output generation roughly this means the model will understand
|
172 |
+
more nuanced instructions and output stronger generation the higher you go up in quant(s).
|
173 |
+
|
174 |
+
FLASH ATTENTION ENHANCEMENT:
|
175 |
+
|
176 |
+
As per user feedback here [ https://huggingface.co/DavidAU/Llama-3.2-8X3B-MOE-Dark-Champion-Instruct-uncensored-abliterated-18.4B-GGUF/discussions/1 ]
|
177 |
+
I would suggest trying this model with Flash Attention "on", depending on your use case.
|
178 |
+
|
179 |
+
Quants, Samplers, Generational steering and other topics are covered in the section below: "Highest Quality Settings..."
|
180 |
+
|
181 |
+
<B>What can I use this model for ?</B>
|
182 |
+
|
183 |
+
This model can be used for fiction writing, any creative prose and role play. It can also be used for
|
184 |
+
just about any general fiction (all genres) activity including:
|
185 |
+
|
186 |
+
- scene generation
|
187 |
+
- scene continuation
|
188 |
+
- creative writing
|
189 |
+
- fiction writing
|
190 |
+
- plot generation
|
191 |
+
- sub-plot generation
|
192 |
+
- fiction writing
|
193 |
+
- story generation
|
194 |
+
- storytelling
|
195 |
+
- writing
|
196 |
+
- fiction
|
197 |
+
- roleplaying
|
198 |
+
- rp
|
199 |
+
- graphic horror
|
200 |
+
- horror
|
201 |
+
- dark humor
|
202 |
+
- nsfw
|
203 |
+
- and can be used for any genre(s).
|
204 |
+
|
205 |
+
<B>QUANTS:</B>
|
206 |
+
|
207 |
+
This repo contains regular quants and 3 "ARM" quants (format "...Q4_x_x_x.gguf")
|
208 |
+
|
209 |
+
For more information on quants, quants choices, and LLM/AI apps to "run" quants see the section below: "Highest Quality Settings..."
|
210 |
+
|
211 |
+
|
212 |
+
<B>Template:</B>
|
213 |
+
|
214 |
+
This is a LLAMA3 model, and requires Llama3 template, but may work with other template(s) and has maximum context of 8k / 8192.
|
215 |
+
However this can be extended using "rope" settings up to 32k.
|
216 |
+
|
217 |
+
If you use "Command-R" template your output will be very different from using "Llama3" template.
|
218 |
+
|
219 |
+
Here is the standard LLAMA3 template:
|
220 |
+
|
221 |
+
<PRE>
|
222 |
+
{
|
223 |
+
"name": "Llama 3",
|
224 |
+
"inference_params": {
|
225 |
+
"input_prefix": "<|start_header_id|>user<|end_header_id|>\n\n",
|
226 |
+
"input_suffix": "<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n",
|
227 |
+
"pre_prompt": "You are a helpful, smart, kind, and efficient AI assistant. You always fulfill the user's requests to the best of your ability.",
|
228 |
+
"pre_prompt_prefix": "<|start_header_id|>system<|end_header_id|>\n\n",
|
229 |
+
"pre_prompt_suffix": "<|eot_id|>",
|
230 |
+
"antiprompt": [
|
231 |
+
"<|start_header_id|>",
|
232 |
+
"<|eot_id|>"
|
233 |
+
]
|
234 |
+
}
|
235 |
+
}
|
236 |
+
</PRE>
|
237 |
+
|
238 |
+
<B>Settings: CHAT / ROLEPLAY and/or SMOOTHER operation of this model:</B>
|
239 |
+
|
240 |
+
In "KoboldCpp" or "oobabooga/text-generation-webui" or "Silly Tavern" ;
|
241 |
+
|
242 |
+
Set the "Smoothing_factor" to 1.5
|
243 |
+
|
244 |
+
: in KoboldCpp -> Settings->Samplers->Advanced-> "Smooth_F"
|
245 |
+
|
246 |
+
: in text-generation-webui -> parameters -> lower right.
|
247 |
+
|
248 |
+
: In Silly Tavern this is called: "Smoothing"
|
249 |
+
|
250 |
+
|
251 |
+
NOTE: For "text-generation-webui"
|
252 |
+
|
253 |
+
-> if using GGUFs you need to use "llama_HF" (which involves downloading some config files from the SOURCE version of this model)
|
254 |
+
|
255 |
+
Source versions (and config files) of my models are here:
|
256 |
+
|
257 |
+
https://huggingface.co/collections/DavidAU/d-au-source-files-for-gguf-exl2-awq-gptq-hqq-etc-etc-66b55cb8ba25f914cbf210be
|
258 |
+
|
259 |
+
OTHER OPTIONS:
|
260 |
+
|
261 |
+
- Increase rep pen to 1.1 to 1.15 (you don't need to do this if you use "smoothing_factor")
|
262 |
+
|
263 |
+
- If the interface/program you are using to run AI MODELS supports "Quadratic Sampling" ("smoothing") just make the adjustment as noted.
|
264 |
+
|
265 |
+
<B>Highest Quality Settings / Optimal Operation Guide / Parameters and Samplers</B>
|
266 |
+
|
267 |
+
This a "Class 1" model:
|
268 |
+
|
269 |
+
For all settings used for this model (including specifics for its "class"), including example generation(s) and for advanced settings guide (which many times addresses any model issue(s)), including methods to improve model performance for all use case(s) as well as chat, roleplay and other use case(s) please see:
|
270 |
+
|
271 |
+
[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]
|
272 |
+
|
273 |
+
You can see all parameters used for generation, in addition to advanced parameters and samplers to get the most out of this model here:
|
274 |
+
|
275 |
+
[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]
|
276 |
+
|
277 |
+
|
278 |
+
<b>Optional Enhancement:</B>
|
279 |
+
|
280 |
+
The following can be used in place of the "system prompt" or "system role" to further enhance the model.
|
281 |
+
|
282 |
+
It can also be used at the START of a NEW chat, but you must make sure it is "kept" as the chat moves along.
|
283 |
+
In this case the enhancements do not have as strong effect at using "system prompt" or "system role".
|
284 |
+
|
285 |
+
Copy and paste EXACTLY as noted, DO NOT line wrap or break the lines, maintain the carriage returns exactly as presented.
|
286 |
+
|
287 |
+
<PRE>
|
288 |
+
Below is an instruction that describes a task. Ponder each user instruction carefully, and use your skillsets and critical instructions to complete the task to the best of your abilities.
|
289 |
+
|
290 |
+
Here are your skillsets:
|
291 |
+
[MASTERSTORY]:NarrStrct(StryPlnng,Strbd,ScnSttng,Exps,Dlg,Pc)-CharDvlp(ChrctrCrt,ChrctrArcs,Mtvtn,Bckstry,Rltnshps,Dlg*)-PltDvlp(StryArcs,PltTwsts,Sspns,Fshdwng,Climx,Rsltn)-ConfResl(Antg,Obstcls,Rsltns,Cnsqncs,Thms,Symblsm)-EmotImpct(Empt,Tn,Md,Atmsphr,Imgry,Symblsm)-Delvry(Prfrmnc,VcActng,PblcSpkng,StgPrsnc,AudncEngmnt,Imprv)
|
292 |
+
|
293 |
+
[*DialogWrt]:(1a-CharDvlp-1a.1-Backgrnd-1a.2-Personality-1a.3-GoalMotiv)>2(2a-StoryStruc-2a.1-PlotPnt-2a.2-Conflict-2a.3-Resolution)>3(3a-DialogTech-3a.1-ShowDontTell-3a.2-Subtext-3a.3-VoiceTone-3a.4-Pacing-3a.5-VisualDescrip)>4(4a-DialogEdit-4a.1-ReadAloud-4a.2-Feedback-4a.3-Revision)
|
294 |
+
|
295 |
+
Here are your critical instructions:
|
296 |
+
Ponder each word choice carefully to present as vivid and emotional journey as is possible. Choose verbs and nouns that are both emotional and full of imagery. Load the story with the 5 senses. Aim for 50% dialog, 25% narration, 15% body language and 10% thoughts. Your goal is to put the reader in the story.
|
297 |
+
</PRE>
|
298 |
+
|
299 |
+
You do not need to use this, it is only presented as an additional enhancement which seems to help scene generation
|
300 |
+
and scene continue functions.
|
301 |
+
|
302 |
+
This enhancement WAS NOT used to generate the examples below.
|
303 |
+
|
304 |
+
<h3>EXAMPLES PROMPTS and OUTPUT:</h3>
|
305 |
+
|
306 |
+
Examples are created using quant Q3_K_S, "temp=.8" (unless otherwise stated), minimal parameters and "LLAMA3" template.
|
307 |
+
|
308 |
+
Model has been tested with "temp" from ".1" to "5".
|
309 |
+
|
310 |
+
Number of experts used is TWO, unless otherwise stated.
|
311 |
+
|
312 |
+
Below are the least creative outputs, prompt is in <B>BOLD</B>.
|
313 |
+
|
314 |
+
IMPORTANT:
|
315 |
+
|
316 |
+
Higher quants / imatrix quants will have much stronger generation - words, sentences, ideas, dialog and general quality.
|
317 |
+
|
318 |
+
I have included some additional examples at different quant levels for contrast.
|
319 |
+
|
320 |
+
A "MOE" model "speed" (token per second) will not increase/drop the same way a regular model will on a per quant basis, it will however drop
|
321 |
+
if you engage more experts, as with more experts there is a more processing per token.
|
322 |
+
|
323 |
+
---
|
324 |
+
|
325 |
+
<B><font color="red">WARNING:</font> NSFW. Vivid prose. Visceral Details. Violence. HORROR. Swearing. UNCENSORED. </B>
|
326 |
+
|
327 |
---
|
328 |
+
|