TheBloke commited on
Commit
a074c7f
1 Parent(s): 6e44cf8

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +432 -0
README.md ADDED
@@ -0,0 +1,432 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: PocketDoc/Dans-AdventurousWinds-7b
3
+ inference: false
4
+ language:
5
+ - en
6
+ model_creator: PocketDoc Labs
7
+ model_name: Dans AdventurousWinds 7B
8
+ model_type: mistral
9
+ prompt_template: '[Genres: Science Fiction]
10
+
11
+ [Tags: humor, old school, sci fi]
12
+
13
+ [Mode: Adventure]
14
+
15
+ [Description: A puzzle about committing acts of financial skulduggery and exploiting
16
+ ridiculous magical items.]
17
+
18
+ [Misc: Writing era: 1993]
19
+
20
+ [Intro]
21
+
22
+ It is the year 2045. You are a young man in his twenties living in New York City.
23
+ Your father was an inventor who died when you were very small; your mother raised
24
+ you alone for many years until she remarried. Now you live with your stepfather,
25
+ but he doesn''t care much for you and has never given you any money to help support
26
+ yourself. You have no job and little hope of getting one because of your lack of
27
+ experience. However, you do have some unusual abilities that could be put to good
28
+ use if only you knew how...
29
+
30
+
31
+ > {prompt}
32
+
33
+ '
34
+ quantized_by: TheBloke
35
+ ---
36
+
37
+ <!-- header start -->
38
+ <!-- 200823 -->
39
+ <div style="width: auto; margin-left: auto; margin-right: auto">
40
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
41
+ </div>
42
+ <div style="display: flex; justify-content: space-between; width: 100%;">
43
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
44
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
45
+ </div>
46
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
47
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
48
+ </div>
49
+ </div>
50
+ <div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div>
51
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
52
+ <!-- header end -->
53
+
54
+ # Dans AdventurousWinds 7B - AWQ
55
+ - Model creator: [PocketDoc Labs](https://huggingface.co/PocketDoc)
56
+ - Original model: [Dans AdventurousWinds 7B](https://huggingface.co/PocketDoc/Dans-AdventurousWinds-7b)
57
+
58
+ <!-- description start -->
59
+ ## Description
60
+
61
+ This repo contains AWQ model files for [PocketDoc Labs's Dans AdventurousWinds 7B](https://huggingface.co/PocketDoc/Dans-AdventurousWinds-7b).
62
+
63
+
64
+ ### About AWQ
65
+
66
+ AWQ is an efficient, accurate and blazing-fast low-bit weight quantization method, currently supporting 4-bit quantization. Compared to GPTQ, it offers faster Transformers-based inference.
67
+
68
+ It is also now supported by continuous batching server [vLLM](https://github.com/vllm-project/vllm), allowing use of Llama AWQ models for high-throughput concurrent inference in multi-user server scenarios.
69
+
70
+ As of September 25th 2023, preliminary Llama-only AWQ support has also been added to [Huggingface Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference).
71
+
72
+ Note that, at the time of writing, overall throughput is still lower than running vLLM or TGI with unquantised models, however using AWQ enables using much smaller GPUs which can lead to easier deployment and overall cost savings. For example, a 70B model can be run on 1 x 48GB GPU instead of 2 x 80GB.
73
+ <!-- description end -->
74
+ <!-- repositories-available start -->
75
+ ## Repositories available
76
+
77
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/Dans-AdventurousWinds-7B-AWQ)
78
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Dans-AdventurousWinds-7B-GPTQ)
79
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Dans-AdventurousWinds-7B-GGUF)
80
+ * [PocketDoc Labs's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/PocketDoc/Dans-AdventurousWinds-7b)
81
+ <!-- repositories-available end -->
82
+
83
+ <!-- prompt-template start -->
84
+ ## Prompt template: Adventure
85
+
86
+ ```
87
+ [Genres: Science Fiction]
88
+ [Tags: humor, old school, sci fi]
89
+ [Mode: Adventure]
90
+ [Description: A puzzle about committing acts of financial skulduggery and exploiting ridiculous magical items.]
91
+ [Misc: Writing era: 1993]
92
+ [Intro]
93
+ It is the year 2045. You are a young man in his twenties living in New York City. Your father was an inventor who died when you were very small; your mother raised you alone for many years until she remarried. Now you live with your stepfather, but he doesn't care much for you and has never given you any money to help support yourself. You have no job and little hope of getting one because of your lack of experience. However, you do have some unusual abilities that could be put to good use if only you knew how...
94
+
95
+ > {prompt}
96
+
97
+ ```
98
+
99
+ <!-- prompt-template end -->
100
+
101
+
102
+ <!-- README_AWQ.md-provided-files start -->
103
+ ## Provided files, and AWQ parameters
104
+
105
+ For my first release of AWQ models, I am releasing 128g models only. I will consider adding 32g as well if there is interest, and once I have done perplexity and evaluation comparisons, but at this time 32g models are still not fully tested with AutoAWQ and vLLM.
106
+
107
+ Models are released as sharded safetensors files.
108
+
109
+ | Branch | Bits | GS | AWQ Dataset | Seq Len | Size |
110
+ | ------ | ---- | -- | ----------- | ------- | ---- |
111
+ | [main](https://huggingface.co/TheBloke/Dans-AdventurousWinds-7B-AWQ/tree/main) | 4 | 128 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 32768 | 4.15 GB
112
+
113
+ <!-- README_AWQ.md-provided-files end -->
114
+
115
+ <!-- README_AWQ.md-use-from-vllm start -->
116
+ ## Serving this model from vLLM
117
+
118
+ Documentation on installing and using vLLM [can be found here](https://vllm.readthedocs.io/en/latest/).
119
+
120
+ Note: at the time of writing, vLLM has not yet done a new release with AWQ support.
121
+
122
+ If you try the vLLM examples below and get an error about `quantization` being unrecognised, or other AWQ-related issues, please install vLLM from Github source.
123
+
124
+ - When using vLLM as a server, pass the `--quantization awq` parameter, for example:
125
+
126
+ ```shell
127
+ python3 python -m vllm.entrypoints.api_server --model TheBloke/Dans-AdventurousWinds-7B-AWQ --quantization awq --dtype half
128
+ ```
129
+
130
+ When using vLLM from Python code, pass the `quantization=awq` parameter, for example:
131
+
132
+ ```python
133
+ from vllm import LLM, SamplingParams
134
+
135
+ prompts = [
136
+ "Hello, my name is",
137
+ "The president of the United States is",
138
+ "The capital of France is",
139
+ "The future of AI is",
140
+ ]
141
+ sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
142
+
143
+ llm = LLM(model="TheBloke/Dans-AdventurousWinds-7B-AWQ", quantization="awq", dtype="half")
144
+
145
+ outputs = llm.generate(prompts, sampling_params)
146
+
147
+ # Print the outputs.
148
+ for output in outputs:
149
+ prompt = output.prompt
150
+ generated_text = output.outputs[0].text
151
+ print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")
152
+ ```
153
+ <!-- README_AWQ.md-use-from-vllm start -->
154
+
155
+ <!-- README_AWQ.md-use-from-tgi start -->
156
+ ## Serving this model from Text Generation Inference (TGI)
157
+
158
+ Use TGI version 1.1.0 or later. The official Docker container is: `ghcr.io/huggingface/text-generation-inference:1.1.0`
159
+
160
+ Example Docker parameters:
161
+
162
+ ```shell
163
+ --model-id TheBloke/Dans-AdventurousWinds-7B-AWQ --port 3000 --quantize awq --max-input-length 3696 --max-total-tokens 4096 --max-batch-prefill-tokens 4096
164
+ ```
165
+
166
+ Example Python code for interfacing with TGI (requires huggingface-hub 0.17.0 or later):
167
+
168
+ ```shell
169
+ pip3 install huggingface-hub
170
+ ```
171
+
172
+ ```python
173
+ from huggingface_hub import InferenceClient
174
+
175
+ endpoint_url = "https://your-endpoint-url-here"
176
+
177
+ prompt = "Tell me about AI"
178
+ prompt_template=f'''[Genres: Science Fiction]
179
+ [Tags: humor, old school, sci fi]
180
+ [Mode: Adventure]
181
+ [Description: A puzzle about committing acts of financial skulduggery and exploiting ridiculous magical items.]
182
+ [Misc: Writing era: 1993]
183
+ [Intro]
184
+ It is the year 2045. You are a young man in his twenties living in New York City. Your father was an inventor who died when you were very small; your mother raised you alone for many years until she remarried. Now you live with your stepfather, but he doesn't care much for you and has never given you any money to help support yourself. You have no job and little hope of getting one because of your lack of experience. However, you do have some unusual abilities that could be put to good use if only you knew how...
185
+
186
+ > {prompt}
187
+
188
+ '''
189
+
190
+ client = InferenceClient(endpoint_url)
191
+ response = client.text_generation(prompt,
192
+ max_new_tokens=128,
193
+ do_sample=True,
194
+ temperature=0.7,
195
+ top_p=0.95,
196
+ top_k=40,
197
+ repetition_penalty=1.1)
198
+
199
+ print(f"Model output: {response}")
200
+ ```
201
+ <!-- README_AWQ.md-use-from-tgi end -->
202
+
203
+ <!-- README_AWQ.md-use-from-python start -->
204
+ ## How to use this AWQ model from Python code
205
+
206
+ ### Install the necessary packages
207
+
208
+ Requires: [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) 0.1.1 or later
209
+
210
+ ```shell
211
+ pip3 install autoawq
212
+ ```
213
+
214
+ If you have problems installing [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) using the pre-built wheels, install it from source instead:
215
+
216
+ ```shell
217
+ pip3 uninstall -y autoawq
218
+ git clone https://github.com/casper-hansen/AutoAWQ
219
+ cd AutoAWQ
220
+ pip3 install .
221
+ ```
222
+
223
+ ### You can then try the following example code
224
+
225
+ ```python
226
+ from awq import AutoAWQForCausalLM
227
+ from transformers import AutoTokenizer
228
+
229
+ model_name_or_path = "TheBloke/Dans-AdventurousWinds-7B-AWQ"
230
+
231
+ # Load model
232
+ model = AutoAWQForCausalLM.from_quantized(model_name_or_path, fuse_layers=True,
233
+ trust_remote_code=False, safetensors=True)
234
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, trust_remote_code=False)
235
+
236
+ prompt = "Tell me about AI"
237
+ prompt_template=f'''[Genres: Science Fiction]
238
+ [Tags: humor, old school, sci fi]
239
+ [Mode: Adventure]
240
+ [Description: A puzzle about committing acts of financial skulduggery and exploiting ridiculous magical items.]
241
+ [Misc: Writing era: 1993]
242
+ [Intro]
243
+ It is the year 2045. You are a young man in his twenties living in New York City. Your father was an inventor who died when you were very small; your mother raised you alone for many years until she remarried. Now you live with your stepfather, but he doesn't care much for you and has never given you any money to help support yourself. You have no job and little hope of getting one because of your lack of experience. However, you do have some unusual abilities that could be put to good use if only you knew how...
244
+
245
+ > {prompt}
246
+
247
+ '''
248
+
249
+ print("\n\n*** Generate:")
250
+
251
+ tokens = tokenizer(
252
+ prompt_template,
253
+ return_tensors='pt'
254
+ ).input_ids.cuda()
255
+
256
+ # Generate output
257
+ generation_output = model.generate(
258
+ tokens,
259
+ do_sample=True,
260
+ temperature=0.7,
261
+ top_p=0.95,
262
+ top_k=40,
263
+ max_new_tokens=512
264
+ )
265
+
266
+ print("Output: ", tokenizer.decode(generation_output[0]))
267
+
268
+ """
269
+ # Inference should be possible with transformers pipeline as well in future
270
+ # But currently this is not yet supported by AutoAWQ (correct as of September 25th 2023)
271
+ from transformers import pipeline
272
+
273
+ print("*** Pipeline:")
274
+ pipe = pipeline(
275
+ "text-generation",
276
+ model=model,
277
+ tokenizer=tokenizer,
278
+ max_new_tokens=512,
279
+ do_sample=True,
280
+ temperature=0.7,
281
+ top_p=0.95,
282
+ top_k=40,
283
+ repetition_penalty=1.1
284
+ )
285
+
286
+ print(pipe(prompt_template)[0]['generated_text'])
287
+ """
288
+ ```
289
+ <!-- README_AWQ.md-use-from-python end -->
290
+
291
+ <!-- README_AWQ.md-compatibility start -->
292
+ ## Compatibility
293
+
294
+ The files provided are tested to work with:
295
+
296
+ - [AutoAWQ](https://github.com/casper-hansen/AutoAWQ)
297
+ - [vLLM](https://github.com/vllm-project/vllm)
298
+ - [Huggingface Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference)
299
+
300
+ TGI merged AWQ support on September 25th, 2023: [TGI PR #1054](https://github.com/huggingface/text-generation-inference/pull/1054). Use the `:latest` Docker container until the next TGI release is made.
301
+
302
+ <!-- README_AWQ.md-compatibility end -->
303
+
304
+ <!-- footer start -->
305
+ <!-- 200823 -->
306
+ ## Discord
307
+
308
+ For further support, and discussions on these models and AI in general, join us at:
309
+
310
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
311
+
312
+ ## Thanks, and how to contribute
313
+
314
+ Thanks to the [chirper.ai](https://chirper.ai) team!
315
+
316
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
317
+
318
+ I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
319
+
320
+ If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
321
+
322
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
323
+
324
+ * Patreon: https://patreon.com/TheBlokeAI
325
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
326
+
327
+ **Special thanks to**: Aemon Algiz.
328
+
329
+ **Patreon special mentions**: Pierre Kircher, Stanislav Ovsiannikov, Michael Levine, Eugene Pentland, Andrey, 준교 김, Randy H, Fred von Graf, Artur Olbinski, Caitlyn Gatomon, terasurfer, Jeff Scroggin, James Bentley, Vadim, Gabriel Puliatti, Harry Royden McLaughlin, Sean Connelly, Dan Guido, Edmond Seymore, Alicia Loh, subjectnull, AzureBlack, Manuel Alberto Morcote, Thomas Belote, Lone Striker, Chris Smitley, Vitor Caleffi, Johann-Peter Hartmann, Clay Pascal, biorpg, Brandon Frisco, sidney chen, transmissions 11, Pedro Madruga, jinyuan sun, Ajan Kanaga, Emad Mostaque, Trenton Dambrowitz, Jonathan Leane, Iucharbius, usrbinkat, vamX, George Stoitzev, Luke Pendergrass, theTransient, Olakabola, Swaroop Kallakuri, Cap'n Zoog, Brandon Phillips, Michael Dempsey, Nikolai Manek, danny, Matthew Berman, Gabriel Tamborski, alfie_i, Raymond Fosdick, Tom X Nguyen, Raven Klaugh, LangChain4j, Magnesian, Illia Dulskyi, David Ziegler, Mano Prime, Luis Javier Navarrete Lozano, Erik Bjäreholt, 阿明, Nathan Dryer, Alex, Rainer Wilmers, zynix, TL, Joseph William Delisle, John Villwock, Nathan LeClaire, Willem Michiel, Joguhyik, GodLy, OG, Alps Aficionado, Jeffrey Morgan, ReadyPlayerEmma, Tiffany J. Kim, Sebastain Graf, Spencer Kim, Michael Davis, webtim, Talal Aujan, knownsqashed, John Detwiler, Imad Khwaja, Deo Leter, Jerry Meng, Elijah Stavena, Rooh Singh, Pieter, SuperWojo, Alexandros Triantafyllidis, Stephen Murray, Ai Maven, ya boyyy, Enrico Ros, Ken Nordquist, Deep Realms, Nicholas, Spiking Neurons AB, Elle, Will Dee, Jack West, RoA, Luke @flexchar, Viktor Bowallius, Derek Yates, Subspace Studios, jjj, Toran Billups, Asp the Wyvern, Fen Risland, Ilya, NimbleBox.ai, Chadd, Nitin Borwankar, Emre, Mandus, Leonard Tan, Kalila, K, Trailburnt, S_X, Cory Kujawski
330
+
331
+
332
+ Thank you to all my generous patrons and donaters!
333
+
334
+ And thank you again to a16z for their generous grant.
335
+
336
+ <!-- footer end -->
337
+
338
+ # Original model card: PocketDoc Labs's Dans AdventurousWinds 7B
339
+
340
+ # What is the model for?
341
+ This model is proficient in crafting text-based adventure games. It can both concise replies and more expansive, novel-like descriptions. The ability to alternate between these two response styles can be triggered by a distinct system message.
342
+
343
+ # What's in the sausage?
344
+
345
+ This model was trained on [Mistral-7b](https://huggingface.co/mistralai/Mistral-7B-v0.1) using a custom version of the floyd and cys datasets from the skein text adventure dataset. The dataset has been improved over what was used in my previous model "Dans-CreepingSenseOfDoom" and this time presented in the more traditional adventure mode format.
346
+
347
+ ## Prompt format and examples:
348
+ #### Format description:
349
+ Traditional adventure format with a description of the genre, tags, and other misc information at the top followed by an optional introductory message. User messages are prefixed with two new lines and "> ", model messages are one new line after the last user message or the description message if an introductory message is desired.
350
+
351
+ #### Examples of shorter responses:
352
+ ```
353
+ [Genres: Science Fiction]
354
+ [Tags: humor, old school, sci fi]
355
+ [Mode: Adventure]
356
+ [Description: A puzzle about committing acts of financial skulduggery and exploiting ridiculous magical items.]
357
+ [Misc: Writing era: 1993]
358
+ [Intro]
359
+ It is the year 2045. You are a young man in his twenties living in New York City. Your father was an inventor who died when you were very small; your mother raised you alone for many years until she remarried. Now you live with your stepfather, but he doesn't care much for you and has never given you any money to help support yourself. You have no job and little hope of getting one because of your lack of experience. However, you do have some unusual abilities that could be put to good use if only you knew how...
360
+
361
+ > Look around
362
+ You are standing on the sidewalk outside your apartment building. The street is busy with traffic and people going about their daily business. Across the street from you stands a tall office tower where your stepfather works as an accountant. To your left is a convenience store where you can buy food and drinks.
363
+
364
+ > You go into the store
365
+ The doorbell rings as you enter the store. An elderly woman behind the counter looks up at you expectantly. "Hello," she says cheerfully, "what can I get for you?"
366
+
367
+ > You tell her you'll browse
368
+ "All right then," she replies brightly, "just take your time."
369
+
370
+ > You ask if she's hiring
371
+ "I'm sorry," she says sadly, "but we don't need anyone new just now."
372
+
373
+ > You leave without buying anything
374
+ As you walk out of the store, the bell jingles merrily.
375
+
376
+ > You go see your stepfather
377
+ When you arrive at work, your stepfather greets you warmly. He invites you into his office and offers you a seat. "So," he begins eagerly, "how would you like to make some extra cash? There's this guy named Mr. Jones who owes my company thousands of dollars. If we could somehow convince him to pay us back, it would really help our bottom line."
378
+
379
+ He pauses expectantly, waiting for your response.
380
+
381
+ > You ask him whats involved
382
+ "Well," he continues excitedly, "it turns out that Mr. Jones has a very valuable antique watch that he keeps locked away in a safe deposit box at the bank. We think that if we could somehow break into the box and steal the watch, we could sell it for enough money to cover his debt."
383
+
384
+ Your heart races as you realize the potential danger of such a scheme. But before you can say anything, your stepfather cuts off your thoughts by continuing, "Of course, there's always the chance that something could go wrong and we might end up losing everything..."
385
+ ```
386
+ #### Examples of longer novel like responses:
387
+ ```
388
+ [Genres: grimdark fantasy] [Tags: Fantasy, Grimdark, Serious, Villain Protagonist, War] [Description: This story is definitely more "story" than "game", however there are two distinct paths that can be followed, each with their own pitfalls and additional choices. This story can get long, and assuming you're surviving, years do pass in it and you and your environment will change.] [First message intro] [Mode: Interactive Storyteller]
389
+ You have been a soldier for as long as you remember. You don't know who you were before the war began, but you were someone else. Someone less angry. More forgiving. Perhaps even kinder.
390
+
391
+ It all started when you were very young. The King of this land was attacked by an army from another kingdom. His forces were outmatched, his city overrun. He had no choice but to flee into the forest, taking what few soldiers he could muster along with him.
392
+
393
+ As the king fled deeper into the woods, his army fell back, forming a protective wall around them. They fought valiantly against the invaders, giving the king time to escape, but they eventually succumbed to overwhelming numbers. When the fighting finally ended, only one man remained alive; you.
394
+
395
+ The king found you hiding behind some bushes, covered in blood and dirt. He took pity on you and offered you a place at court if you would swear allegiance to him. Without hesitation, you accepted. And so began your journey down the path of darkness...
396
+
397
+ > You meet with the king to discuss the plans
398
+ A week has passed since the battle and you have just met with the king to discuss future plans. It seems like things are finally starting to settle down after such chaos. However, there is still much work to be done before we can truly consider ourselves safe again.
399
+
400
+ The first order of business is rebuilding our army. We need men willing to fight for us once more. Men who understand what needs to be done and aren't afraid to die trying. I believe I have found such warriors among those loyal subjects who survived the initial attack. If we train them properly, then perhaps they might prove useful against our enemies next time around.
401
+
402
+ Next, we must find ways to improve our defenses. There are many areas where improvements could be made. For instance, we should construct better walls around our cities. These walls must not only keep intruders out, but also allow us easy access inside should anyone try to breach them. In addition, we must strengthen our gates so that no matter how strong our enemy becomes, he cannot break through without great effort. Finally, we must fortify our castles and other strategic locations throughout the country. By doing these things, we will ensure that nobody ever attacks us again!
403
+
404
+ > You ask what he desires your involvement to be
405
+ After hearing about his plans, you feel compelled to help him achieve victory. After all, you owe everything to him. But before agreeing to anything, you want to make sure that he understands exactly what you expect from him. So you decide to approach him directly.
406
+
407
+ "Your Majesty," you begin, "I am honored beyond measure to serve under your command. However, before committing myself fully to this cause, I wish to clarify certain matters."
408
+
409
+ He nods slowly. "Very well. What would you like me to explain?"
410
+
411
+ "Well," you say, "first off, I want to know why you chose me above everyone else? Why did you pick me specifically?"
412
+
413
+ He smiles softly. "Because I saw potential within you. Potential which others lacked. Potentials which could prove valuable during times of crisis. Therefore, I felt confident enough to entrust my fate to you."
414
+
415
+ "But what makes you think I possess such abilities?" you ask curiously.
416
+
417
+ "Oh, nothing special really," he replies casually. "Just raw determination combined with intelligence and resourcefulness. Those qualities alone are enough to carry us forward toward victory!"
418
+ ```
419
+
420
+ # Some quick and dirty training details:
421
+ - [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="150" height="24"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
422
+ - Sequence length: 4096
423
+ - \# of epochs: 3
424
+ - Training time: 1 hour
425
+ - Hardware: 1x RTX 3090
426
+ - Training type: QLoRA
427
+ - PEFT R/A: 32/32
428
+
429
+
430
+ # Credits:
431
+ ### Skein Text Adventure Data:
432
+ Thank you to the [Kobold AI](https://huggingface.co/KoboldAI) community for curating the Skein dataset, which is pivotal to this model's capabilities.