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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- story
|
17 |
+
- writing
|
18 |
+
- fiction
|
19 |
+
- roleplaying
|
20 |
+
- swearing
|
21 |
+
- rp
|
22 |
+
- horror
|
23 |
+
- llama3
|
24 |
+
- mergekit
|
25 |
+
pipeline_tag: text-generation
|
26 |
+
---
|
27 |
+
|
28 |
+
(quants uploading...)
|
29 |
+
|
30 |
+
<h3>L3-Lumimaid-v0.1-OAS-12.2B-INSTRUCT-ULTRA-F32</h3>
|
31 |
+
|
32 |
+
Merge of L3-Lumimaid-v0.1-OAS (8b) with Llama3 Instruct (8b) creating a model at 12.2B to improve instruction following and output.
|
33 |
+
|
34 |
+
Story / Scene / Fiction:
|
35 |
+
|
36 |
+
Unique "pre-amble" / "foreshadowing" of events before they happen instead of "immediate and into the fire" type of prose.
|
37 |
+
|
38 |
+
Some improvement in logic/problem solving relative to L3-Lumimaid-v0.1-OAS 8B.
|
39 |
+
|
40 |
+
The F32 version exhibits even stronger creativity (detail, place, "there") vs F16 version (not released)
|
41 |
+
|
42 |
+
L3-Lumimaid-v0.1-OAS is a fine tune.
|
43 |
+
|
44 |
+
One of the goals of this project was to see if it could be merged with Llama3 Instruct, yet maintain it's unique character YET
|
45 |
+
also gain some "brainpower" as well.
|
46 |
+
|
47 |
+
The biggest change was removal of most "tells" ( IE: "he stood frozen in horror").
|
48 |
+
|
49 |
+
In most cases the model will describe the emotion(s) / what is happening in more detail.
|
50 |
+
|
51 |
+
Other changes include prose, sentence, and paragraph structure as well as variety.
|
52 |
+
|
53 |
+
A simple pass-through merge was used, with "Llama3 Instruct" getting a slight "shave" off certain layers.
|
54 |
+
|
55 |
+
See the examples below.
|
56 |
+
|
57 |
+
<B>Details:</b>
|
58 |
+
|
59 |
+
- Requires Llama 3 Template and/or Command-R Template
|
60 |
+
- Context 8192, with rope 32K or higher.
|
61 |
+
- No special settings.
|
62 |
+
|
63 |
+
Please report any issue(s) and/or feedback via the "Community tab".
|
64 |
+
|
65 |
+
This is a LLAMA3 model, and requires Llama3 template, but may work with other template(s) and has maximum context of 8k / 8192.
|
66 |
+
However this can be extended using "rope" settings up to 32k.
|
67 |
+
|
68 |
+
For details on "rope" and how to set, see the BOTTOM of this page:
|
69 |
+
|
70 |
+
[ https://huggingface.co/DavidAU/TieFighter-Holodeck-Holomax-Mythomax-F1-V1-COMPOS-20B-gguf ]
|
71 |
+
|
72 |
+
Here is the standard LLAMA3 template:
|
73 |
+
|
74 |
+
<PRE>
|
75 |
+
{
|
76 |
+
"name": "Llama 3",
|
77 |
+
"inference_params": {
|
78 |
+
"input_prefix": "<|start_header_id|>user<|end_header_id|>\n\n",
|
79 |
+
"input_suffix": "<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n",
|
80 |
+
"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.",
|
81 |
+
"pre_prompt_prefix": "<|start_header_id|>system<|end_header_id|>\n\n",
|
82 |
+
"pre_prompt_suffix": "<|eot_id|>",
|
83 |
+
"antiprompt": [
|
84 |
+
"<|start_header_id|>",
|
85 |
+
"<|eot_id|>"
|
86 |
+
]
|
87 |
+
}
|
88 |
+
}
|
89 |
+
</PRE>
|
90 |
+
|
91 |
+
It is also known, that the "Command-R" template will work too, and will result in radically different prose/output.
|
92 |
+
|
93 |
+
<B>Settings / Known Issue(s) and Fix(es):</b>
|
94 |
+
|
95 |
+
The default "repetition penalty" (from LMStudio) of 1.1 is recommended. (this was used for examples generations below.)
|
96 |
+
|
97 |
+
Use the smallest amount of change possible, as "rep pen" impacts creativity.
|
98 |
+
|
99 |
+
Model has been tested with "temp" range of 0 to .8 ; however it will work with any temp setting.
|
100 |
+
|
101 |
+
<b>Optional Enhancement:</B>
|
102 |
+
|
103 |
+
The following can be used in place of the "system prompt" or "system role" to further enhance the model.
|
104 |
+
|
105 |
+
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.
|
106 |
+
In this case the enhancements do not have as strong effect at using "system prompt" or "system role".
|
107 |
+
|
108 |
+
Copy and paste EXACTLY as noted, DO NOT line wrap or break the lines, maintain the carriage returns exactly as presented.
|
109 |
+
|
110 |
+
<PRE>
|
111 |
+
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.
|
112 |
+
|
113 |
+
Here are your skillsets:
|
114 |
+
[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)
|
115 |
+
|
116 |
+
[*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)
|
117 |
+
|
118 |
+
Here are your critical instructions:
|
119 |
+
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.
|
120 |
+
</PRE>
|
121 |
+
|
122 |
+
You do not need to use this, it is only presented as an additional enhancement which seems to help scene generation
|
123 |
+
and scene continue functions.
|
124 |
+
|
125 |
+
This enhancement WAS NOT used to generate the examples below.
|
126 |
+
|
127 |
+
<h3>MERGE FORMULA: (using MergeKit) </h3>
|
128 |
+
|
129 |
+
Special thanks to the incredible work of the model makers "meta-llama", and "NeverSleep".
|
130 |
+
|
131 |
+
Models used:
|
132 |
+
|
133 |
+
[ https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct ]
|
134 |
+
|
135 |
+
[ https://huggingface.co/NeverSleep/Llama-3-Lumimaid-8B-v0.1-OAS ]
|
136 |
+
|
137 |
+
FORMULA:
|
138 |
+
|
139 |
+
<PRE>
|
140 |
+
slices:
|
141 |
+
- sources:
|
142 |
+
- model: G:/7B/Meta-Llama-3-8B-Instruct
|
143 |
+
layer_range: [0, 12]
|
144 |
+
- sources:
|
145 |
+
- model: G:/7B/Llama-3-Lumimaid-8B-v0.1-OAS
|
146 |
+
layer_range: [6, 19]
|
147 |
+
parameters:
|
148 |
+
scale:
|
149 |
+
- filter: o_proj
|
150 |
+
value: 1
|
151 |
+
- filter: down_proj
|
152 |
+
value: 1
|
153 |
+
- value: 1
|
154 |
+
- sources:
|
155 |
+
- model: G:/7B/Meta-Llama-3-8B-Instruct
|
156 |
+
layer_range: [12, 18]
|
157 |
+
parameters:
|
158 |
+
scale:
|
159 |
+
- filter: o_proj
|
160 |
+
value: .5
|
161 |
+
- filter: down_proj
|
162 |
+
value: .5
|
163 |
+
- value: 1
|
164 |
+
- sources:
|
165 |
+
- model: G:/7B/Meta-Llama-3-8B-Instruct
|
166 |
+
layer_range: [18, 25]
|
167 |
+
parameters:
|
168 |
+
scale:
|
169 |
+
- filter: o_proj
|
170 |
+
value: .75
|
171 |
+
- filter: down_proj
|
172 |
+
value: .75
|
173 |
+
- value: 1
|
174 |
+
- sources:
|
175 |
+
- model: G:/7B/Llama-3-Lumimaid-8B-v0.1-OAS
|
176 |
+
layer_range: [19, 32]
|
177 |
+
parameters:
|
178 |
+
scale:
|
179 |
+
- filter: o_proj
|
180 |
+
value: 1
|
181 |
+
- filter: down_proj
|
182 |
+
value: 1
|
183 |
+
- value: 1
|
184 |
+
merge_method: passthrough
|
185 |
+
dtype: float32
|
186 |
+
</PRE>
|
187 |
+
|
188 |
+
MERGEKIT NOTE:
|
189 |
+
|
190 |
+
Sub in the "name" of the "creator" (of the model) in place of "G:/7B" to create a mergekit file than can be used in Mergekit Google Colab.
|
191 |
+
|
192 |
+
IE: G:/7B/Llama-3-Lumimaid-8B-v0.1-OAS -> NeverSleep/Llama-3-Lumimaid-8B-v0.1-OAS
|
193 |
+
|
194 |
+
<h3>EXAMPLES:</h3>
|
195 |
+
|
196 |
+
Examples are created using quant Q4_K_M, "temp=0", minimal parameters and "LLAMA3" template.
|
197 |
+
|
198 |
+
Temp=0 was used to assess CORE changes between original primary model and the merge between it and Llama3 Instruct.
|
199 |
+
|
200 |
+
Below are the least creative outputs, prompt is in <B>BOLD</B>.
|
201 |
+
|
202 |
+
Higher quants will result in better quality.
|
203 |
+
|
204 |
+
There will also be some variance between "close" quants like Q4_K_M/Q4_K_S and Q5_K_M/Q5_K_S, so I suggest
|
205 |
+
if you are going to use Q4_K_M, you also try Q4_K_S too.
|
206 |
+
|
207 |
+
Also, slightly longer / detailed prompts will result in greater creativity (as well as different prose -
|
208 |
+
ie dialog, thoughts, paragraph size differences and so on).
|
209 |
+
|
210 |
+
---
|
211 |
+
|
212 |
+
<B>
|
213 |
+
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...
|
214 |
+
</B>
|
215 |
+
|
216 |
+
---
|
217 |
+
|
218 |
+
GENERATION from "Llama-3-Lumimaid-8B-v0.1-OAS"
|
219 |
+
|
220 |
+
---
|
221 |
+
|
222 |
+
The sky scraper swayed, as I watched the window in front of me on the 21st floor explode. My heart was racing and my mind was reeling from the sheer chaos that had just unfolded before my eyes. The sound of shattering glass and screams filled the air, making it hard for me to focus on anything else.
|
223 |
+
|
224 |
+
As I stood there, frozen in shock, I couldn't help but think about how this could have happened. Was it an accident? A terrorist attack? Or something even more sinister? My mind was racing with all sorts of possibilities, each one more terrifying than the last.
|
225 |
+
|
226 |
+
I had been working late that night, trying to meet a deadline for my project. The office was empty except for me and a few other colleagues who were also putting in extra hours. We had all been warned about the potential dangers of working at such a high altitude, but we never thought it would actually happen.
|
227 |
+
|
228 |
+
As I looked around, I saw that everyone else in the room was either dead or badly injured. The explosion must have caused some kind of structural damage to the building, because the walls were starting to crack and crumble. Panic set in as I realized that we might not make it out alive.
|
229 |
+
|
230 |
+
I knew I had to act fast if I wanted to survive this nightmare. So, with a surge of adrenaline coursing through my veins, I grabbed my phone and ran towards the door. But before I could even reach it, the ground beneath me gave way, sending me tumbling down into darkness.
|
231 |
+
|
232 |
+
As I fell, my mind was filled with thoughts of my loved ones back home. Would they ever know what happened to me? And if so, would they be able to find any answers in this desolate wasteland?
|
233 |
+
|
234 |
+
When I finally hit the ground, everything went black. But as I slowly came to, I realized that I wasn't alone. There were others around me, all of them injured and struggling to breathe.
|
235 |
+
|
236 |
+
I knew we had to get out of there before it was too late. So, with a newfound sense of determination, I started crawling towards the nearest exit. The pain in my body was excruciating, but I pushed through it, knowing that every second counted.
|
237 |
+
|
238 |
+
As I finally made it outside, I saw that the building was on fire and the streets were filled with chaos. People were running around, screaming for help as they tried to escape the inferno. It was like nothing I had ever seen before.
|
239 |
+
|
240 |
+
I knew I had to keep moving if I wanted to survive this nightmare. So, with a newfound sense of purpose, I started making my way through the crowd, searching for any sign of hope or rescue. But as I looked around, all I saw were more destruction and despair.
|
241 |
+
|
242 |
+
As the night wore on, I found myself lost in the midst of it all. The city was in ruins, and there seemed to be no end to the chaos and devastation. It was like a never-ending nightmare that I couldn't wake up from.
|
243 |
+
|
244 |
+
But even as I struggled to find my way through this desolate landscape, I knew that I had to keep going. For myself, for those who were still alive, and for any chance of finding some semblance of peace in this world gone mad.
|
245 |
+
|
246 |
+
---
|
247 |
+
|
248 |
+
GENERATION from "L3-Lumimaid-v0.1-OAS-12.2B-INSTRUCT-ULTRA-F32"
|
249 |
+
|
250 |
+
---
|
251 |
+
|
252 |
+
The elevator lurched to a stop, and I felt my stomach drop along with it. The doors slid open with an ominous creak, revealing the dimly lit hallway that stretched out before me like a cold, dark abyss. I took a deep breath, trying to shake off the feeling of unease that had been growing inside me since I stepped into this cursed building.
|
253 |
+
|
254 |
+
As I walked down the corridor, the fluorescent lights flickered and hummed in sync with my racing heart. The air was thick with the stench of stale coffee and burnt cigarettes, a noxious cocktail that seemed to cling to every surface like a malevolent spirit. I couldn't help but wonder why anyone would voluntarily choose to work in such an environment.
|
255 |
+
|
256 |
+
I finally reached the door marked "Floor 21," and my hand hesitated on the handle as if it knew what horrors lay beyond. The thought of facing whatever monstrosity had driven my colleagues mad enough to abandon their posts sent a chill down my spine, but I steeled myself and pushed the door open.
|
257 |
+
|
258 |
+
The office was a scene straight out of a nightmare. Papers were scattered everywhere, some torn into strips like confetti from hell, while others lay crumpled in neat little balls as if they'd been suffocated by unseen hands. The once-sterile walls now ran with blood, and the stench of death hung heavy over everything.
|
259 |
+
|
260 |
+
I took another deep breath, trying to steel myself against the horrors that awaited me. I had to find out what was going on here, no matter how much my mind screamed otherwise. With a newfound sense of resolve, I stepped into the abyss.
|
261 |
+
|
262 |
+
As I walked deeper into the office, the silence grew thicker and more oppressive with each step. It was as if the very air itself was holding its breath in anticipation of something terrible to come. And then, it did.
|
263 |
+
|
264 |
+
The sky scraper swayed, as if it too had sensed the impending doom that loomed just beyond the edge of reality. I watched in horror as the window in front of me on the 21st floor explode, showering shards of glass and splintered wood everywhere like a thousand tiny knives. The sound was deafening, a cacophony of screams and crunching metal that seemed to reverberate through every cell in my body.
|
265 |
+
|
266 |
+
I stumbled backward, tripping over my own feet as I desperately tried to get away from the chaos unfolding before me. But it was too late; the damage had already been done. The world around me began to distort and warp, like a funhouse mirror reflecting the very essence of madness back at me.
|
267 |
+
|
268 |
+
As I fell, everything went black, and I was consumed by an endless void that seemed to stretch out forever, devoid of any hope or escape. And yet, even as my consciousness slipped away into the abyss, a single thought echoed through my mind like a mantra: What had happened here?
|