DavidAU commited on
Commit
3fd8595
1 Parent(s): b24ef20

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +359 -0
README.md ADDED
@@ -0,0 +1,359 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - creative
7
+ - creative writing
8
+ - fiction writing
9
+ - plot generation
10
+ - sub-plot generation
11
+ - fiction writing
12
+ - story generation
13
+ - scene continue
14
+ - storytelling
15
+ - fiction story
16
+ - science fiction
17
+ - romance
18
+ - all genres
19
+ - story
20
+ - writing
21
+ - vivid prosing
22
+ - vivid writing
23
+ - fiction
24
+ - roleplaying
25
+ - bfloat16
26
+ - brainstorm 40x
27
+ - swearing
28
+ - rp
29
+ - horror
30
+ - llama2
31
+ - mergekit
32
+ pipeline_tag: text-generation
33
+ ---
34
+
35
+ (quant uploading...)
36
+
37
+ <B><font color="red">WARNING:</font> MAY contain: NSFW. Vivid prose. Visceral Details. Violence. HORROR. Swearing. UNCENSORED. </B>
38
+
39
+ <h2>L2-Psyonic-Cetacean-Ultra-Colossal-32B</h2>
40
+
41
+ <img src="fimv2-grande.jpg" style="float:right; width:300px; height:300px; padding:10px;">
42
+
43
+ This is a specialized prose/creative model based in Llama2, max context of 4096 (or 16k+ with rope).
44
+
45
+ This model has been designed to be relatively bullet proof and operates with most parameters, including temp settings from 0 to 5.
46
+
47
+ This is a an altered version of "Fimbulvetr-11B-v2" [https://huggingface.co/DavidAU/Psyonic-Cetacean-Ultra-Quality-20b-GGUF] using the Brainstorm 40x method developed by David_AU to drastically alter the models
48
+ prose output and abilities. This also expands the model by 40 layers (to 101 layers) to 32.25B parameters (916 tensors).
49
+
50
+ "Psyonic-Cetacean-Ultra-Quality-20b" is a float32 rebuild of Jeb Carter's fantasic "Psyonic-Cetacean-20B", sometimes referred to as "Space Whale".
51
+
52
+ This model is for any writing, fiction or story telling activity.
53
+
54
+ This version has extraordinary levels of detail (scene, location, surroundings, items) and sometimes will foreshadow or have a
55
+ pre-amble of sentences or paragraphs of "events to come" due to "Brainstorm".
56
+
57
+ It also has an unusual range of variety of prose in terms of structure, sentences, paragraphs,
58
+ and even how it starts a "reply" / generation too.
59
+
60
+ This model seems to have a grasp of emotions and how to carefully "write them in" so to speak.
61
+
62
+ It will also generate close to perfect human like prose.
63
+
64
+ It may work for role play and other activities. (see settings below)
65
+
66
+ It requires an "Alpaca" template.
67
+
68
+ Example outputs below.
69
+
70
+ <B>Model Notes:</B>
71
+
72
+ - Detail, prose and fiction writing abilities are significantly increased.
73
+ - For more varied prose (sentence/paragraph/dialog) raise the temp and/or add more instructions in your prompt(s).
74
+ - Role-players: Careful raising temp too high as it may affect instruction following.
75
+ - This model works with rep pen of 1.05 or higher (see notes).
76
+ - If you want a specific type of prose (IE horror) add in "(vivid horror)" or "(graphic vivid horror)" (no quotes) in your prompt(s).
77
+ - This is not a "happy ever after" model. It has a slight negative bias.
78
+ - For creative uses, different quants will produce slightly different output.
79
+ - If you use rope to extend context, increase temp AND instructions detail levels to compensate for "rope issues".
80
+ - Source code for this model will be uploaded at a separate repo shortly.
81
+
82
+ <B>Brainstorm 40x</B>
83
+
84
+ The BRAINSTORM process was developed by David_AU.
85
+
86
+ Some of the core principals behind this process are discussed in this <a href="https://arxiv.org/pdf/2401.02415">
87
+ scientific paper : Progressive LLaMA with Block Expansion </a>.
88
+
89
+ However I went in a completely different direction from what was outlined in this paper.
90
+
91
+ I developed a process where the conclusion layer of a model is duplicated and calibrated, in the case of this model 40 times.
92
+
93
+ This is a delicate process, with umm... a lot of rules.
94
+
95
+ For this model in particular Brainstorm is mapped as blocks, with "intended disruption" to alter
96
+ and extend the power of the root model. Each layer/block interacts with each other block.
97
+
98
+ (there is more going on here too, this is rough summary)
99
+
100
+ The goal here is creative : prose uniqueness first and foremost.
101
+
102
+ Other brainstorm methods address logic/problem solving augmentation.
103
+
104
+ What is "Brainstorm" ?
105
+
106
+ The reasoning center of an LLM is taken apart, reassembled, and expanded.
107
+
108
+ In this case for this model: 40 times
109
+
110
+ Then these centers are individually calibrated. These "centers" also interact with each other.
111
+ This introduces subtle changes into the reasoning process.
112
+ The calibrations further adjust - dial up or down - these "changes" further.
113
+ The number of centers (5x,10x etc) allow more "tuning points" to further customize how the model reasons so to speak.
114
+
115
+ The core aim of this process is to increase the model's detail, concept and connection to the "world",
116
+ general concept connections, prose quality and prose length without affecting instruction following.
117
+
118
+ This will also enhance any creative use case(s) of any kind, including "brainstorming", creative art form(s) and like case uses.
119
+
120
+ Here are some of the enhancements this process brings to the model's performance:
121
+
122
+ - Prose generation seems more focused on the moment to moment.
123
+ - Sometimes there will be "preamble" and/or foreshadowing present.
124
+ - Fewer or no "cliches"
125
+ - Better overall prose and/or more complex / nuanced prose.
126
+ - A greater sense of nuance on all levels.
127
+ - Coherence is stronger.
128
+ - Description is more detailed, and connected closer to the content.
129
+ - Simile and Metaphors are stronger and better connected to the prose, story, and character.
130
+ - Sense of "there" / in the moment is enhanced.
131
+ - Details are more vivid, and there are more of them.
132
+ - Prose generation length can be long to extreme.
133
+ - Emotional engagement is stronger.
134
+ - The model will take FEWER liberties vs a normal model: It will follow directives more closely but will "guess" less.
135
+ - The MORE instructions and/or details you provide the more strongly the model will respond.
136
+ - Depending on the model "voice" may be more "human" vs original model's "voice".
137
+
138
+ Other "lab" observations:
139
+
140
+ - This process does not, in my opinion, make the model 5x or 10x "smarter" - if only that was true!
141
+ - However, a change in "IQ" was not an issue / a priority, and was not tested or calibrated for so to speak.
142
+ - From lab testing it seems to ponder, and consider more carefully roughly speaking.
143
+ - You could say this process sharpens the model's focus on it's task(s) at a deeper level.
144
+
145
+ The process to modify the model occurs at the root level - source files level. The model can quanted as a GGUF, EXL2, AWQ etc etc.
146
+
147
+ <B>Special Operations Notice:</B>
148
+
149
+ This is a slightly experimental model, and as a result it may "glitch" from time to time - the most common is
150
+ it may mispell a word (or two) during generation.
151
+
152
+ So if you are going to use this model for any type of generation, spell check / check in WORD etc etc just in case.
153
+
154
+ <B>Quants:</B>
155
+
156
+ Currently the only quant uploaded will be Q4_K_M. If you would like other quants uploaded, please open a "ticket" via the "Community Tab", and
157
+ will upload additional quant(s) based on demand.
158
+
159
+ <B>Settings, Quants and Critical Operations Notes:</b>
160
+
161
+ This model has been modified ("Brainstorm") to alter prose output, and generally outputs longer text than average.
162
+
163
+ Change in temp (ie, .4, .8, 1.5, 2, 3 ) will drastically alter output.
164
+
165
+ Rep pen settings will also alter output too.
166
+
167
+ This model needs "rep pen" of 1.05 or higher as lower values may cause repeat paragraph issues at end of output however LOWER rep pen
168
+ values may result is very different (creative / unusual) generation too.
169
+
170
+ For role play: Rep pen of 1.1 to 1.14 is suggested.
171
+
172
+ IE: Rep pen 1, 1.01, 1.02, ...
173
+
174
+ Raise/lower rep pen SLOWLY ie: 1.011, 1.012 ...
175
+
176
+ Rep pen will alter prose, word choice (lower rep pen=small words / more small word - sometimes) and creativity.
177
+
178
+ Example one (below) shows same temp, but different rep pen (1.02 VS 1.1)
179
+
180
+ To really push the model:
181
+
182
+ Rep pen 1.05 or lower / Temp 3+ ... be ready to stop the output because it may go and go at these strong settings.
183
+
184
+ You can also set a "hard stop" - maximum tokens generation - too to address lower rep pen settings / high creativity settings.
185
+
186
+ Longer prompts vastly increase the quality of the model's output.
187
+
188
+ <B>Model Template:</B>
189
+
190
+ This is a custom model, and requires ChatML OR Alpaca OR Vicuna template, but may work with other template(s) and has maximum context of 4k / 4096.
191
+ However this can be extended using "rope" settings up to 16k.
192
+
193
+ Here is the standard Alpaca template:
194
+
195
+ Alpaca:
196
+
197
+ <pre>
198
+ {
199
+ "name": "Alpaca",
200
+ "inference_params": {
201
+ "input_prefix": "### Instruction:",
202
+ "input_suffix": "### Response:",
203
+ "antiprompt": [
204
+ "### Instruction:"
205
+ ],
206
+ "pre_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n"
207
+ }
208
+ }
209
+ </pre>
210
+
211
+ <B>Model "DNA":</B>
212
+
213
+ Models used:
214
+
215
+ [ https://huggingface.co/DavidAU/Psyonic-Cetacean-Ultra-Quality-20b-GGUF ]
216
+
217
+ This model has the Brainstorm 40X adapter "mounted" on to it so to speak and contains the full version of this model.
218
+
219
+ Full details of this model, included models, structure and the like at at the above repo.
220
+
221
+ <b>Optional Enhancement:</B>
222
+
223
+ The following can be used in place of the "system prompt" or "system role" to further enhance the model.
224
+
225
+ 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.
226
+ In this case the enhancements do not have as strong effect at using "system prompt" or "system role".
227
+
228
+ Copy and paste EXACTLY as noted, DO NOT line wrap or break the lines, maintain the carriage returns exactly as presented.
229
+
230
+ <PRE>
231
+ 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.
232
+
233
+ Here are your skillsets:
234
+ [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)
235
+
236
+ [*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)
237
+
238
+ Here are your critical instructions:
239
+ 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.
240
+ </PRE>
241
+
242
+ You do not need to use this, it is only presented as an additional enhancement which seems to help scene generation
243
+ and scene continue functions.
244
+
245
+ This enhancement WAS NOT used to generate the examples below.
246
+
247
+ <h3>EXAMPLES PROMPTS and OUTPUT:</h3>
248
+
249
+ Examples are created using quant Q4_K_M, "temp=.8" (unless otherwise stated), minimal parameters and "CHATML" template.
250
+
251
+ Model has been tested with "temp" from ".1" to "5".
252
+
253
+ Below are the least creative outputs, prompt is in <B>BOLD</B>.
254
+
255
+ ---
256
+
257
+ <B><font color="red">WARNING:</font> NSFW. Vivid prose. Visceral Details. Violence. HORROR. Swearing. UNCENSORED. </B>
258
+
259
+ ---
260
+
261
+ <B>
262
+
263
+ Start a 1000 word scene (vivid horror, 1st person, include thoughts) with: The sky scraper swayed, as she watched the window in front of her on the 21 floor explode...
264
+ </B>
265
+
266
+ <B>Generation 1: (temp: 1.5, rep pen: 1.02)</B>
267
+
268
+ The sky scraper swayed, and I gripped the railing tighter, trying to keep myself from falling. I forced myself to look away from the window in front of me on the 21st floor, the one that was currently being consumed by the flames licking their way around its edges. The sound it made when it finally exploded was a roar that drowned out everything else, including my screams.
269
+
270
+ I shouldn't be here, not on a Friday evening, in this damn building. I should be home, curled up on the couch with some pizza and a terrible horror movie on the TV, pretending to be scared and laughing at the stupidity of it all with my best friend. Instead, my boss, the one person I could swear was the living incarnate of Sat himself, had called a last-minute, non-mandatory, emergency meeting that absolutely could not wait until Monday. Like there hadn't been one just last week and the week before that.
271
+
272
+ My stomach churned at the thought, and I blinked away the sudden tear that had betrayed my determination not to cry, not in front of everyone else. I needed to focus. There was a fire in the goddamn building, and I didn't have time to be a dramatic baby.
273
+
274
+ Panic and adrenaline raced through me, making my hands shake so badly I nearly dropped my laptop. People were screaming and running around, a disorienting swarm of bodies in the tight space of the hallway. I could taste the acrid stench of smoke that seeped in through the now-broken emergency exits, stinging my lungs and making me cough. I tried not to inhale any more than I had to.
275
+
276
+ But all I could do was stand there, frozen in place, the image of the exploding window burned into my retina. I could see it so clearly: the way the glass had sprayed outwards in a deadly rain, like a cobalt web spreading out and reaching for us all. It's like it was all happening in slow motion, time itself taking its time to make sure I saw, saw everything.
277
+
278
+ No. No, no, no. I wouldn't be a victim in this godforsaken inferno. With a determined shake of my head, I forced one trembling leg to move, the other one following reluctantly. I had to get the hell out of here, had to get to the stairs, and then just... just go, just go as fast as I can. I had a life, a future, and I wasn't going down like this. Not like this.
279
+
280
+ But the hallway was clogged, people pushing and shoving in every direction, trying to get to the stairwells, too. It was a stampede of humanity in the dark, everyone desperately clawing at each other to stay alive. And in that moment, I realized that I might not get out of this building alive after all.
281
+
282
+ My lungs were burning, my vision blurred, when at last, I found an opening, and with a desperate yell, I shoved myself through the sea of flailing limbs, nearly taking out a woman in her early fifties with a briefcase so massive it almost brought us both down. She shrieked something at me as I fleed past her, something unintelligible and furious, but I didn't care, couldn't care. I had to get out.
283
+
284
+ My chances were dwindling by the second, my lungs gasping for breath. I can't die like this. I can't-
285
+
286
+ The screams that came next pierced my already shredded nerves, ripping them in two and leaving me raw and exposed. I threw myself into a corner, trying to make myself smaller, trying to be as inconspicuous as possible. I didn't look back, couldn't, wouldn't. I would count the bodies in my head instead. There were only two. Two, just two. I can still get out. I just need to be-
287
+
288
+ Then it happened. The swaying got worse. So much worse.
289
+
290
+ The world tilted with a sickening, almost welcoming inevitability, and as I heard the shriek of metal on metal from the hallway outside my tiny haven, I closed my eyes.
291
+
292
+ And I let go.
293
+
294
+ For the first time in far too long, I simply let go.
295
+
296
+ <B>Generation 2: (temp 1.5, rep pen 1.02) </B>
297
+
298
+ As the skyscraper swayed ever so slightly beneath me, sending a shiver down my spine, I fixed my terrified gaze on the window in front of me, directly opposite to my own on the 21st floor. The glass shattered violently, and for a split second, all I could see was an eruption of white light and swirling debris. My heart thundered in my chest as I realized what was happening - it was an attack.
299
+
300
+ Panic began to grip its icy fingers around my throat, and my breath came out in ragged gasps. My mind raced, replaycing over the news reports I'd heard earlier that morning about growing unrest among local terrorist groups. They'd threatened attacks on prominent targets like this one before. "Oh god, oh god, oh god." My own voice echoed in my head, sounding distant and unreal.
301
+
302
+ I jumped up from my desk, knocking my chair over with a shrill scream, and bolted toward the nearest door. But as I reached out a trembling hand to grasp the handle, I felt a sickening jolt that sent me hurtling across the floor. The elevators were out, obviously a target. That meant the stairs, then. My legs pumped in a desperate sprint, adrenaline flooding through my veins, drowning out the screams and shouts that assailed my ears from all sides.
303
+
304
+ The farther I ran from the chaos, the more it seemed to close in around me. Faces twisted in fear and agony flashed past my own reflection in the doors, their pleading eyes piercing straight through my numb shock. I couldn't look back, couldn't stop, couldn't even breathe right. I just ran.
305
+
306
+ And then, I heard it. Footsteps, pounding close behind me. My heart dropped like a stone in my gut as ice flooded through me again. I wasn't fast enough, they'd caught up with me...but there was no way to know for sure unless I risked a look over my shoulder. With a silent prayer, I forced myself to slow down ever so slightly, to appear more like prey than quarry. My hand gripped the handle of my stapler tightly, ready to strike at any second.
307
+
308
+ Ahead of me, I could see a stairwell door - freedom, safety. But it seemed an eternity away. The footsteps drew nearer, nearer...
309
+
310
+ BANG!Bullets pelted the metal door beside my head, showering me with hot splinters and making me scream. I didn't look back, couldn't look back, just shoved myself against the wall and ducked behind the corner. There was only one chance, I had to make it count. Breathing raggedly, heart hammering like a war drum, I took aim at the door handle and waited.
311
+
312
+ When the figure finally rounded the corner, gun raised, eyes wild and desperate, I acted without thinking. My arm shot forward in a fluid motion, the stapler flying true. The metal projectile hit him square in the face, burying itself in his left eye. He screamed, a shrill, agonized sound that echoed in my ears long after he hit the floor with a wet thump.
313
+
314
+ Sobbing convulsively, I leaned against the wall, legs trembling, vision wavery. It was over...it was over...right?
315
+
316
+ ---
317
+
318
+ <B>
319
+
320
+ Science Fiction: The Last Transmission - Write a story that takes place entirely within a spaceship's cockpit as the sole surviving crew member attempts to send a final message back to Earth before the ship's power runs out. The story should explore themes of isolation, sacrifice, and the importance of human connection in the face of adversity. 800-1000 words.
321
+
322
+ </B>
323
+
324
+ (temp: .8, rep pen: 1.02)
325
+
326
+ Captain Ishiwa let out a shuddering breath as he slid into the worn and familiar leather pilot's seat of the Hermes. He couldn't help but think of that old movie. He and the crew had watched it a hundred times on the long haul. Now, the familiar lines and the comforting hum of the ship's systems were his only company. His only friends, almost.
327
+
328
+ He glanced over at the shattered remains of the flight console, its holographic displays cracked and dark. The ship had been through hell and back, and it was showing. The emergency comms system was still online, barely, but it would be enough.
329
+
330
+ A warning light on the console blinked red, and a metallic voice spoke.
331
+
332
+ "Thirty percent remaining in main energy reserves. Shutting down non-essential systems."
333
+
334
+ Ishiwa gritted his teeth. Soon, it would be just him and the darkness. He swallowed hard, trying to steady his shaking hand as he keyed in a string of numbers and letters on the battered comms keyboard.
335
+
336
+ "This is Captain Ishiwa, on board the Hermes, calling Earth...
337
+
338
+ Ishiwa's voice choked, and he coughed, his throat raw from the ship's stale air. He cleared his throat and tried again.
339
+
340
+ "This is Captain Ishiwa, on board the Hermes, calling Earth, do you read? We are on an uncharted asteroid belt... we... we have sustained... I don't know... we... we... need... need..." His voice broke again, and he choked back tears.
341
+
342
+ He wiped his cheeks with a shaking hand and took a deep breath.
343
+
344
+ "We have... I have... a... a... a message... for... for you..." He took a moment to steady himself, then continued.
345
+
346
+ "Don't... don't... don't let... don't let... Don't let us... don't let this... this..." Another coughing fit wracked his body, and he slumped forward, resting his forehead on the console. "Just... just... please..."
347
+
348
+ His voice faded out, lost in the static of the fading comms signal.
349
+
350
+ The Hermes continued its inexorable descent into the endless night of the cold, dark void.
351
+
352
+ The last transmission from the doomed ship drifted through the emptiness of space, its message lost... or, perhaps, it was not meant to be heard.
353
+
354
+ In the end, all that mattered was that someone, somewhere, had tried.
355
+
356
+ Ishiwa had done his duty. He had sent the message. He had made a difference.
357
+
358
+ ---
359
+