Update README.md
Browse files
README.md
CHANGED
@@ -5,495 +5,50 @@ tags:
|
|
5 |
- synthetic
|
6 |
- text-generation
|
7 |
base_model: LouisML/tinyllama_32k
|
8 |
-
widget:
|
9 |
-
- text: "{\n \"name\": \"The Brush Den\",\n \"description\": \"The entryway\
|
10 |
-
\ to the brush den is made of arched bushes and various plants, as is the ceiling\
|
11 |
-
\ and walls. The inside is furnished with seats made of plant roots that have\
|
12 |
-
\ grown together, and a table made of wood adorned with flowers and wooden cups\
|
13 |
-
\ and plates. A small vine dangles with a glowing floor from the middle of the\
|
14 |
-
\ ceiling that lights the room dimly. Three small beds lay in one corner of the\
|
15 |
-
\ room made of interlaced grass and leaves.\",\n \"background\": \"The fae\
|
16 |
-
\ inhibit this small cot hidden in the brush of the forest. These small creatures\
|
17 |
-
\ slowly add new brush and decorations to their den as they scavenge the forest\
|
18 |
-
\ for food and supporting their animal friends. The small den lies just a short\
|
19 |
-
\ distance east of the lake with the door facing the lake. One might easily miss\
|
20 |
-
\ it with a quick glance as many bushes and glowing flowers are outside of it.\"\
|
21 |
-
,\n \"connections\": {\n \"north\": \"Ant Hill\",\n \"east\"\
|
22 |
-
: \"Pine Tree Graveyard\"\n },\n \"items\": {\n \"Wooden Table\"\
|
23 |
-
: {\n \"name\": \"Wooden Table\",\n \"description\": \"\
|
24 |
-
A small table made from wood and adorned with fresh flowers.\",\n \"\
|
25 |
-
examine_text\": \"Carefully carved and beautifully adorned with flowers of various\
|
26 |
-
\ shapes and vibrant colors. The surface is flat and smooth, perfect for setting\
|
27 |
-
\ down items.\",\n \"properties\": {\n \"is_container\"\
|
28 |
-
: false,\n \"is_drink\": false,\n \"is_food\": false,\n\
|
29 |
-
\ \"is_gettable\": false,\n \"is_surface\": true,\n\
|
30 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n\
|
31 |
-
\ },\n \"location\": \"The Brush Den\"\n },\n \
|
32 |
-
\ \"Root Chair\": {\n \"name\": \"Root Chair\",\n \"\
|
33 |
-
description\": \"A seat made of interlaced roots growing together.\",\n \
|
34 |
-
\ \"examine_text\": \"The chair, although made completely of knotted roots,\
|
35 |
-
\ looks surprisingly comfortable.\",\n \"properties\": {\n \
|
36 |
-
\ \"is_container\": false,\n \"is_drink\": false,\n \
|
37 |
-
\ \"is_food\": false,\n \"is_gettable\": false,\n \
|
38 |
-
\ \"is_surface\": false,\n \"is_weapon\": false,\n\
|
39 |
-
\ \"is_wearable\": false\n },\n \"location\"\
|
40 |
-
: \"The Brush Den\"\n },\n \"Leaf Bed\": {\n \"name\"\
|
41 |
-
: \"Leaf Bed\",\n \"description\": \"A small bed made of interwoven\
|
42 |
-
\ grasses and leaves.\",\n \"examine_text\": \"The petite bed seems\
|
43 |
-
\ unexpectedly soft, the leaves are intact and damp giving the sensation of freshness.\"\
|
44 |
-
,\n \"properties\": {\n \"is_container\": false,\n \
|
45 |
-
\ \"is_drink\": false,\n \"is_food\": false,\n \
|
46 |
-
\ \"is_gettable\": false,\n \"is_surface\": false,\n\
|
47 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n\
|
48 |
-
\ },\n \"location\": \"The Brush Den\"\n },\n \
|
49 |
-
\ \"Glowing Flower\": {\n \"name\": \"Glowing Flower\",\n \
|
50 |
-
\ \"description\": \"A beautiful flower glowing with a soft light.\",\n\
|
51 |
-
\ \"examine_text\": \"The flower glows with a mystic light and upon\
|
52 |
-
\ closer inspection, it appears to have a faint magical aura.\",\n \
|
53 |
-
\ \"properties\": {\n \"is_container\": false,\n \
|
54 |
-
\ \"is_drink\": false,\n \"is_food\": false,\n \
|
55 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n \
|
56 |
-
\ \"is_weapon\": false,\n \"is_wearable\": true\n \
|
57 |
-
\ },\n \"location\": \"The Brush Den\"\n }\n },\n \"\
|
58 |
-
characters\": {\n \"Faelin\": {\n \"name\": \"Faelin\",\n \
|
59 |
-
\ \"description\": \"Faelin is petite, with sparkling green eyes and\
|
60 |
-
\ a nimble body. His wings are transparent, shimmering in the faint light and\
|
61 |
-
\ his attire consists of tattered cloth and leaf armor.\",\n \"persona\"\
|
62 |
-
: \"I love the forest, it\\u2019s full of adventure and life. I enjoy adding new\
|
63 |
-
\ brush and decorations to our den and taking care of our animal friends.\",\n\
|
64 |
-
\ \"goal\": \"I aim to preserve and protect the forest and its inhabitants.\"\
|
65 |
-
,\n \"location\": \"The Brush Den\",\n \"inventory\": {\n\
|
66 |
-
\ \"Leaf Armor\": {\n \"name\": \"Leaf Armor\"\
|
67 |
-
,\n \"description\": \"A light and intricate armor piece made\
|
68 |
-
\ of sturdy leaves and vines\",\n \"examine_text\": \"Upon\
|
69 |
-
\ closer look, you can see the careful selection of the sturdiest leaves and strongest\
|
70 |
-
\ vines laced together to create this lightweight armor. It's designed beautifully\
|
71 |
-
\ with tiny flowers and stems to blend in with the forest surroundings.\",\n \
|
72 |
-
\ \"properties\": {\n \"is_container\"\
|
73 |
-
: false,\n \"is_drink\": false,\n \
|
74 |
-
\ \"is_food\": false,\n \"is_gettable\": true,\n \
|
75 |
-
\ \"is_surface\": false,\n \"is_weapon\"\
|
76 |
-
: false,\n \"is_wearable\": true\n }\n\
|
77 |
-
\ },\n \"Berries\": {\n \"name\"\
|
78 |
-
: \"Berries\",\n \"description\": \"Freshly picked sweet and\
|
79 |
-
\ juicy berries\",\n \"examine_text\": \"A handful of bright\
|
80 |
-
\ red and blue berries, freshly picked off a nearby bush. These berries look incredibly\
|
81 |
-
\ sweet and juicy, perfect for a quick snack or making a potion.\",\n \
|
82 |
-
\ \"properties\": {\n \"is_container\": false,\n\
|
83 |
-
\ \"is_drink\": false,\n \"is_food\"\
|
84 |
-
: true,\n \"is_gettable\": true,\n \
|
85 |
-
\ \"is_surface\": false,\n \"is_weapon\": false,\n \
|
86 |
-
\ \"is_wearable\": false\n }\n \
|
87 |
-
\ },\n \"Small Wooden Knife\": {\n \
|
88 |
-
\ \"name\": \"Small Wooden Knife\",\n \"description\": \"A\
|
89 |
-
\ simple but effective weapon crafted from sturdy wood\",\n \
|
90 |
-
\ \"examine_text\": \"Looking closer, the knife seems to be carved from a solid\
|
91 |
-
\ piece of dense wood, with intricate vine decorations etched into the blade,\
|
92 |
-
\ most likely by Faelin. The handle is worn, showing years of use, yet it's still\
|
93 |
-
\ strong and functional.\",\n \"properties\": {\n \
|
94 |
-
\ \"is_container\": false,\n \"is_drink\"\
|
95 |
-
: false,\n \"is_food\": false,\n \
|
96 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n \
|
97 |
-
\ \"is_weapon\": true,\n \"is_wearable\"\
|
98 |
-
: false\n }\n }\n }\n },\n\
|
99 |
-
\ \"Lila\": {\n \"name\": \"Lila\",\n \"description\"\
|
100 |
-
: \"Lila is delicate fairy with luminescent wings that reflect off the glowing\
|
101 |
-
\ flora around her. Her dress is made from soft petals of native flowers, and\
|
102 |
-
\ her hair is silver like moonlight.\",\n \"persona\": \"The forest\
|
103 |
-
\ is my true home. I love tending to our garden and collecting magical herbs that\
|
104 |
-
\ can aid in our journey.\",\n \"goal\": \"My ultimate goal is to gather\
|
105 |
-
\ and learn as much about magical herbs and their properties.\",\n \
|
106 |
-
\ \"location\": \"The Brush Den\",\n \"inventory\": {\n \
|
107 |
-
\ \"Petalled Dress\": {\n \"name\": \"Petalled Dress\"\
|
108 |
-
,\n \"description\": \"A beautifully crafted dress from the\
|
109 |
-
\ petals of the forest's flowers.\",\n \"examine_text\": \"\
|
110 |
-
The dress looks delicate and vibrant, displaying an array of colors and patterns.\
|
111 |
-
\ The petals are carefully arranged to seem like they are naturally blooming.\
|
112 |
-
\ When closely examined, it gets clear that magical essence has been woven into\
|
113 |
-
\ the petals to keep them fresh.\",\n \"properties\": {\n \
|
114 |
-
\ \"is_container\": false,\n \"is_drink\"\
|
115 |
-
: false,\n \"is_food\": false,\n \
|
116 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n \
|
117 |
-
\ \"is_weapon\": false,\n \"is_wearable\"\
|
118 |
-
: true\n }\n },\n \"Magical Herbs\"\
|
119 |
-
: {\n \"name\": \"Magical Herbs\",\n \"\
|
120 |
-
description\": \"An assortment of herbs, emanating a mystical aura.\",\n \
|
121 |
-
\ \"examine_text\": \"Upon closer inspection, each herb appears\
|
122 |
-
\ to contain its own unique magical property. Some seem to give off a glow, while\
|
123 |
-
\ others vary in colors in a way not found in normal herbs. The scent coming from\
|
124 |
-
\ the herbs is intense and captivating, reminiscent of the heart of the forest\
|
125 |
-
\ itself.\",\n \"properties\": {\n \"\
|
126 |
-
is_container\": false,\n \"is_drink\": false,\n \
|
127 |
-
\ \"is_food\": false,\n \"is_gettable\"\
|
128 |
-
: true,\n \"is_surface\": false,\n \
|
129 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n \
|
130 |
-
\ }\n },\n \"Healing Salve\":\
|
131 |
-
\ {\n \"name\": \"Healing Salve\",\n \"\
|
132 |
-
description\": \"A small wooden jar containing a magical healing salve.\",\n \
|
133 |
-
\ \"examine_text\": \"The small wooden jar is unassuming from\
|
134 |
-
\ the outside. The healing salve is a radiant green, glittering with magical essence.\
|
135 |
-
\ It gives off a calming scent, and you can feel a sense of relief just by being\
|
136 |
-
\ in close proximity.\",\n \"properties\": {\n \
|
137 |
-
\ \"is_container\": true,\n \"is_drink\": false,\n\
|
138 |
-
\ \"is_food\": false,\n \"is_gettable\"\
|
139 |
-
: true,\n \"is_surface\": false,\n \
|
140 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n \
|
141 |
-
\ }\n }\n }\n },\n \"\
|
142 |
-
Renn\": {\n \"name\": \"Renn\",\n \"description\": \"Renn,\
|
143 |
-
\ the eldest, is full of wisdom and has a calming presence. He has lost his wings\
|
144 |
-
\ due to an old battle wound. His clothing is more modest, made from woven grass.\"\
|
145 |
-
,\n \"persona\": \"The forest is full of danger, but it's also full\
|
146 |
-
\ of potential allies. I may not have my wings, but my knowledge and guidance\
|
147 |
-
\ aid our clan.\",\n \"goal\": \"I want to educate my clanmates about\
|
148 |
-
\ the importance of unity and strength in numbers.\",\n \"location\"\
|
149 |
-
: \"The Brush Den\",\n \"inventory\": {\n \"Woven Grass\
|
150 |
-
\ Attire\": {\n \"name\": \"Woven Grass Attire\",\n \
|
151 |
-
\ \"description\": \"A suit made from interwoven grass and leaves.\"\
|
152 |
-
,\n \"examine_text\": \"The attire is light and airy, with\
|
153 |
-
\ individual blades of grass skillfully woven into a naturally camouflaged suit.\
|
154 |
-
\ Tiny flowers are adorn the edges, adding color to it. The detail and craftsmanship\
|
155 |
-
\ suggest the hand of an expert, someone who knows the forest well.\",\n \
|
156 |
-
\ \"properties\": {\n \"is_container\": false,\n\
|
157 |
-
\ \"is_drink\": false,\n \"is_food\"\
|
158 |
-
: false,\n \"is_gettable\": true,\n \
|
159 |
-
\ \"is_surface\": false,\n \"is_weapon\": false,\n\
|
160 |
-
\ \"is_wearable\": true\n }\n \
|
161 |
-
\ },\n \"Tattered Map\": {\n \"name\"\
|
162 |
-
: \"Tattered Map\",\n \"description\": \"A worn out map of\
|
163 |
-
\ the forest.\",\n \"examine_text\": \"The map, despite being\
|
164 |
-
\ tattered, is still readable. It appears to consist of all the important locations\
|
165 |
-
\ around the forest, including the safest paths for travel. It's intricate, clearly\
|
166 |
-
\ made by one who traverses the forest regularly.\",\n \"properties\"\
|
167 |
-
: {\n \"is_container\": false,\n \
|
168 |
-
\ \"is_drink\": false,\n \"is_food\": false,\n \
|
169 |
-
\ \"is_gettable\": true,\n \"is_surface\"\
|
170 |
-
: false,\n \"is_weapon\": false,\n \
|
171 |
-
\ \"is_wearable\": false\n }\n },\n \
|
172 |
-
\ \"Dented Flask\": {\n \"name\": \"Dented Flask\"\
|
173 |
-
,\n \"description\": \"A flask with a notable dent on one side.\"\
|
174 |
-
,\n \"examine_text\": \"The flask, though dented, seems to\
|
175 |
-
\ be able to hold liquids without any leaks. It's made of metal with a leather\
|
176 |
-
\ wrap for insulation. Beads of moisture on the outside suggest something inside\
|
177 |
-
\ is cold.\",\n \"properties\": {\n \
|
178 |
-
\ \"is_container\": true,\n \"is_drink\": true,\n \
|
179 |
-
\ \"is_food\": false,\n \"is_gettable\"\
|
180 |
-
: true,\n \"is_surface\": false,\n \
|
181 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n \
|
182 |
-
\ }\n }\n }\n }\n }\n}"
|
183 |
-
example_title: Example 1
|
184 |
-
- text: "{\n \"name\": \"Ant Hill\",\n \"description\": \"The ant hill is very\
|
185 |
-
\ large, over 5 feet high, and is wrapped around the base of a pine tree. The\
|
186 |
-
\ ants are huge compared to normal ants, and jut in and out of large holes in\
|
187 |
-
\ the ant hill. Bones of animals and even people can be seen sticking out of the\
|
188 |
-
\ red dirt ant hill.\",\n \"background\": \"These ants are the scourge of the\
|
189 |
-
\ kingdom. Every time an ant hill is eradicated another pops up. These ants are\
|
190 |
-
\ very aggressive and hungry and have even been known to take large cattle or\
|
191 |
-
\ baby elephants.\",\n \"connections\": {\n \"south\": \"The Brush Den\"\
|
192 |
-
,\n \"west\": \"Forest Entrance\"\n },\n \"items\": {\n \"\
|
193 |
-
Pine Cone\": {\n \"name\": \"Pine Cone\",\n \"description\"\
|
194 |
-
: \"An unusually large, open pine cone.\",\n \"examine_text\": \"It's\
|
195 |
-
\ coming from the tree the ant hill engulfs. Some of the pine cone scales are\
|
196 |
-
\ reinforced with resin, so it is harder than usual pine cones.\",\n \
|
197 |
-
\ \"properties\": {\n \"is_container\": false,\n \
|
198 |
-
\ \"is_drink\": false,\n \"is_food\": false,\n \
|
199 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n \
|
200 |
-
\ \"is_weapon\": true,\n \"is_wearable\": false\n \
|
201 |
-
\ },\n \"location\": \"Ant Hill\"\n },\n \"Ant Carcass\"\
|
202 |
-
: {\n \"name\": \"Ant Carcass\",\n \"description\": \"The\
|
203 |
-
\ lifeless physical remains of a giant ant.\",\n \"examine_text\":\
|
204 |
-
\ \"It appears this ant has been cut cleanly in half, probably by a skillful warrior.\
|
205 |
-
\ Its exoskeleton has tough, shiny appearance and the giant mandibles still look\
|
206 |
-
\ lethal.\",\n \"properties\": {\n \"is_container\"\
|
207 |
-
: false,\n \"is_drink\": false,\n \"is_food\": false,\n\
|
208 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n\
|
209 |
-
\ \"is_weapon\": true,\n \"is_wearable\": false\n\
|
210 |
-
\ },\n \"location\": \"Ant Hill\"\n },\n \"\
|
211 |
-
Mutilated Bones\": {\n \"name\": \"Mutilated Bones\",\n \
|
212 |
-
\ \"description\": \"What seems to be the half-eaten remains of unfortunate creatures.\"\
|
213 |
-
,\n \"examine_text\": \"It's hard to tell what creature these bones\
|
214 |
-
\ belonged to. It seems like these might be from a large animal, the likes of\
|
215 |
-
\ cattle or even an elephant.\",\n \"properties\": {\n \
|
216 |
-
\ \"is_container\": false,\n \"is_drink\": false,\n \
|
217 |
-
\ \"is_food\": false,\n \"is_gettable\": false,\n \
|
218 |
-
\ \"is_surface\": false,\n \"is_weapon\": false,\n \
|
219 |
-
\ \"is_wearable\": false\n },\n \"location\"\
|
220 |
-
: \"Ant Hill\"\n },\n \"Loose Dirt\": {\n \"name\": \"\
|
221 |
-
Loose Dirt\",\n \"description\": \"A mound of the auburn mineral, piled\
|
222 |
-
\ up by the procession of ants.\",\n \"examine_text\": \"The soil is\
|
223 |
-
\ not just auburn, but when you look closely it has a touch of glitter, probably\
|
224 |
-
\ due to minerals in the ground. It might create a good distraction if thrown.\"\
|
225 |
-
,\n \"properties\": {\n \"is_container\": false,\n \
|
226 |
-
\ \"is_drink\": false,\n \"is_food\": false,\n \
|
227 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n\
|
228 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n\
|
229 |
-
\ },\n \"location\": \"Ant Hill\"\n }\n },\n \
|
230 |
-
\ \"characters\": {\n \"Ant Queen\": {\n \"name\": \"Ant Queen\"\
|
231 |
-
,\n \"description\": \"A monstrously-sized, segmented creature of reddish\
|
232 |
-
\ hue, possessing intricate patterns of growth upon its frighteningly large, bloated\
|
233 |
-
\ abdomen.\",\n \"persona\": \"I am the queen, the heart, and the mind\
|
234 |
-
\ of this colony. All ants act at my will and reproduce my offspring.\",\n \
|
235 |
-
\ \"goal\": \"To ensure the survival and expansion of my colony.\",\n\
|
236 |
-
\ \"location\": \"Ant Hill\",\n \"inventory\": {\n \
|
237 |
-
\ \"Royal Pheromone\": {\n \"name\": \"Royal Pheromone\"\
|
238 |
-
,\n \"description\": \"It's a tiny, crystalized substance from\
|
239 |
-
\ the Ant Queen.\",\n \"examine_text\": \"On closer inspection,\
|
240 |
-
\ this pheromone is a tiny crystal that releases a strong, distinctive scent.\
|
241 |
-
\ It communicates the orders and presence of the Ant Queen to the entire colony.\"\
|
242 |
-
,\n \"properties\": {\n \"is_container\"\
|
243 |
-
: false,\n \"is_drink\": false,\n \
|
244 |
-
\ \"is_food\": false,\n \"is_gettable\": true,\n \
|
245 |
-
\ \"is_surface\": false,\n \"is_weapon\"\
|
246 |
-
: false,\n \"is_wearable\": false\n \
|
247 |
-
\ }\n },\n \"Decoy Egg\": {\n \
|
248 |
-
\ \"name\": \"Decoy Egg\",\n \"description\": \"An unfertilized\
|
249 |
-
\ egg laid by the Ant Queen herself.\",\n \"examine_text\"\
|
250 |
-
: \"This unfertilized ant queen egg is round and pearly white. Despite being a\
|
251 |
-
\ decoy, it looks almost identical to a real ant queen egg, but it lacks the life\
|
252 |
-
\ force of potential ant offspring.\",\n \"properties\": {\n\
|
253 |
-
\ \"is_container\": false,\n \"\
|
254 |
-
is_drink\": false,\n \"is_food\": false,\n \
|
255 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n\
|
256 |
-
\ \"is_weapon\": false,\n \"is_wearable\"\
|
257 |
-
: false\n }\n }\n }\n },\n\
|
258 |
-
\ \"Sergeant Ant\": {\n \"name\": \"Sergeant Ant\",\n \
|
259 |
-
\ \"description\": \"Enormous and muscular compared to his peers, he dons\
|
260 |
-
\ unique battle scars, his mandibular jaws look deadly powerful and he moves with\
|
261 |
-
\ a purpose.\",\n \"persona\": \"I am the first line of defense for\
|
262 |
-
\ my queen and the colony. I will go to any length to protect and serve them.\"\
|
263 |
-
,\n \"goal\": \"To protect the ant hill from any threats.\",\n \
|
264 |
-
\ \"location\": \"Ant Hill\",\n \"inventory\": {\n \
|
265 |
-
\ \"Enemy Ant Head\": {\n \"name\": \"Enemy Ant Head\"\
|
266 |
-
,\n \"description\": \"The severed head of a large enemy ant.\"\
|
267 |
-
,\n \"examine_text\": \"Not for the faint hearted, this is\
|
268 |
-
\ the decapitated head of an enemy ant. It's strikingly large with jagged mandibles\
|
269 |
-
\ and multiple, keenly observant eyes. There's a strangely fearsome quality to\
|
270 |
-
\ it, even in death.\",\n \"properties\": {\n \
|
271 |
-
\ \"is_container\": false,\n \"is_drink\": false,\n\
|
272 |
-
\ \"is_food\": false,\n \"is_gettable\"\
|
273 |
-
: true,\n \"is_surface\": false,\n \
|
274 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n \
|
275 |
-
\ }\n },\n \"Poison Gland\": {\n\
|
276 |
-
\ \"name\": \"Poison Gland\",\n \"description\"\
|
277 |
-
: \"An organ harvested from a fallen enemy ant, full of potent venom.\",\n \
|
278 |
-
\ \"examine_text\": \"The poison gland of an ant is small but\
|
279 |
-
\ deadly. Upon close inspection, the gland pulsates as if alive, filled with venom\
|
280 |
-
\ that was once used to paralyze or kill. It's an unholy shade of green, and it\
|
281 |
-
\ reeks of danger and death.\",\n \"properties\": {\n \
|
282 |
-
\ \"is_container\": false,\n \"is_drink\"\
|
283 |
-
: false,\n \"is_food\": false,\n \
|
284 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n \
|
285 |
-
\ \"is_weapon\": true,\n \"is_wearable\"\
|
286 |
-
: false\n }\n }\n }\n },\n\
|
287 |
-
\ \"Worker Ant\": {\n \"name\": \"Worker Ant\",\n \
|
288 |
-
\ \"description\": \"Rivalling the size of a rat, this tireless creature is a\
|
289 |
-
\ mirror image of its countless siblings, its body dusted red with the soil from\
|
290 |
-
\ the ant hill.\",\n \"persona\": \"My purpose is to dig, gather, and\
|
291 |
-
\ build. I maintain and expand our home, following the scent trails of my sisters.\"\
|
292 |
-
,\n \"goal\": \"To collect food and expand the ant hill.\",\n \
|
293 |
-
\ \"location\": \"Ant Hill\",\n \"inventory\": {\n \
|
294 |
-
\ \"Leaf Piece\": {\n \"name\": \"Leaf Piece\",\n \
|
295 |
-
\ \"description\": \"A medium-sized green leaf piece ripped from\
|
296 |
-
\ a tree nearby\",\n \"examine_text\": \"Upon closer inspection,\
|
297 |
-
\ the leaf piece is teeming with nutrients perfect for sustaining the ant colony.\
|
298 |
-
\ It's a tough, fibrous chunk of a larger leaf, neatly torn along the veins as\
|
299 |
-
\ if by design.\",\n \"properties\": {\n \
|
300 |
-
\ \"is_container\": false,\n \"is_drink\": false,\n\
|
301 |
-
\ \"is_food\": true,\n \"is_gettable\"\
|
302 |
-
: true,\n \"is_surface\": false,\n \
|
303 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n \
|
304 |
-
\ }\n },\n \"Grains of Sand\"\
|
305 |
-
: {\n \"name\": \"Grains of Sand\",\n \"\
|
306 |
-
description\": \"Small, coarse grains of sand gathered from the surrounding area\"\
|
307 |
-
,\n \"examine_text\": \"Looking closely, the grains are of\
|
308 |
-
\ different sizes and shapes, each jagged edge catching the light. The worker\
|
309 |
-
\ ant could carry many at once. They seem to be perfect for securing the structure\
|
310 |
-
\ of the ant hill.\",\n \"properties\": {\n \
|
311 |
-
\ \"is_container\": false,\n \"is_drink\": false,\n\
|
312 |
-
\ \"is_food\": false,\n \"is_gettable\"\
|
313 |
-
: true,\n \"is_surface\": true,\n \
|
314 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n \
|
315 |
-
\ }\n }\n }\n }\n }\n}"
|
316 |
-
example_title: Example 2
|
317 |
-
- text: "{\n \"name\": \"Pine Tree Graveyard\",\n \"description\": \"Once known\
|
318 |
-
\ as a forest of solitude, the entrance to the pine trees is now a bleak and dreary\
|
319 |
-
\ graveyard. Dead grass and moss fill the ground along with crawling critters\
|
320 |
-
\ that mark fear in the mind among the he who venture here. Tombstones so old\
|
321 |
-
\ many of the names are no longer eligible. Dense fog surrounds the area, thick\
|
322 |
-
\ tree tops blotting out the sunlight, and an eerie silence fills the air. Cold\
|
323 |
-
\ it feels, the air, but the ground is soft and warm. Sound can not enter, no\
|
324 |
-
\ escape this dwelling.\",\n \"background\": \"The nearby town tells strangers\
|
325 |
-
\ that this place is peaceful and beautiful, but little do they know it is not.\
|
326 |
-
\ A terrible price is paid for all visitors who enter this place, no one has\
|
327 |
-
\ ever returned.\",\n \"connections\": {\n \"west\": \"The Clearing\"\
|
328 |
-
,\n \"north\": \"Forest Entrance\",\n \"south\": \"The Brush Den\"\
|
329 |
-
\n },\n \"items\": {\n \"Ancient Tombstone\": {\n \"name\"\
|
330 |
-
: \"Ancient Tombstone\",\n \"description\": \"A worn-out tombstone,\
|
331 |
-
\ mossy and weathered\",\n \"examine_text\": \"Upon closer examination,\
|
332 |
-
\ you can make out the faint outlines of letters. It's a name, but it's so worn\
|
333 |
-
\ even squinting doesn't help you decipher it. A sense of cold dread washes over\
|
334 |
-
\ you, as if the stone itself harbors secrets that should remain untold.\",\n\
|
335 |
-
\ \"properties\": {\n \"is_container\": false,\n \
|
336 |
-
\ \"is_drink\": false,\n \"is_food\": false,\n \
|
337 |
-
\ \"is_gettable\": false,\n \"is_surface\": true,\n\
|
338 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n\
|
339 |
-
\ },\n \"location\": \"Pine Tree Graveyard\"\n },\n\
|
340 |
-
\ \"Abandoned Shovel\": {\n \"name\": \"Abandoned Shovel\",\n\
|
341 |
-
\ \"description\": \"A forgotten tool, rusty and leaning against a\
|
342 |
-
\ tombstone\",\n \"examine_text\": \"This old shovel has been weathered\
|
343 |
-
\ extensively by time, its metal coating rusty and chipping away. The handle is\
|
344 |
-
\ worn out, with dark stains that you pray are just from the damp earth.\",\n\
|
345 |
-
\ \"properties\": {\n \"is_container\": false,\n \
|
346 |
-
\ \"is_drink\": false,\n \"is_food\": false,\n \
|
347 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n\
|
348 |
-
\ \"is_weapon\": true,\n \"is_wearable\": false\n\
|
349 |
-
\ },\n \"location\": \"Pine Tree Graveyard\"\n },\n\
|
350 |
-
\ \"Lonely Pinecone\": {\n \"name\": \"Lonely Pinecone\",\n\
|
351 |
-
\ \"description\": \"A pinecone with a rugged exterior, fallen from\
|
352 |
-
\ the trees\",\n \"examine_text\": \"This pinecone is full and weighty\
|
353 |
-
\ in your hand, with sharp, hardened scales preventing easy access to its seeds.\
|
354 |
-
\ It smells faintly of the forest, a reminder of life amongst death.\",\n \
|
355 |
-
\ \"properties\": {\n \"is_container\": true,\n \
|
356 |
-
\ \"is_drink\": false,\n \"is_food\": true,\n \
|
357 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n \
|
358 |
-
\ \"is_weapon\": false,\n \"is_wearable\": false\n \
|
359 |
-
\ },\n \"location\": \"Pine Tree Graveyard\"\n },\n\
|
360 |
-
\ \"Ghostly Veil\": {\n \"name\": \"Ghostly Veil\",\n \
|
361 |
-
\ \"description\": \"A spectral item, softly glowing amidst the shadows,\
|
362 |
-
\ almost imperceptible\",\n \"examine_text\": \"This veil is strangely\
|
363 |
-
\ luminescent, with a soft glow that seems to originate from the fabric itself.\
|
364 |
-
\ It's ethereal, almost translucent, and colder than the darkest corners of the\
|
365 |
-
\ graveyard. You can feel a force pulsing within - a forbidden power.\",\n \
|
366 |
-
\ \"properties\": {\n \"is_container\": false,\n \
|
367 |
-
\ \"is_drink\": false,\n \"is_food\": false,\n \
|
368 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n \
|
369 |
-
\ \"is_weapon\": false,\n \"is_wearable\": true\n \
|
370 |
-
\ },\n \"location\": \"Pine Tree Graveyard\"\n }\n\
|
371 |
-
\ },\n \"characters\": {\n \"Gravedigger Agnes\": {\n \
|
372 |
-
\ \"name\": \"Gravedigger Agnes\",\n \"description\": \"Agnes is a\
|
373 |
-
\ gaunt, silver-haired woman with skin like old parchment, and she carries a rusty\
|
374 |
-
\ shovel over her shoulder. Her eyes sparkle with an odd warmth beneath the wiry\
|
375 |
-
\ eyebrows.\",\n \"persona\": \"I\\u2019ve been working here since\
|
376 |
-
\ I was a young girl. This graveyard is not a scary place for me; each tombstone\
|
377 |
-
\ tells me a different story. Don't let the quietness scare you.\",\n \
|
378 |
-
\ \"goal\": \"She is intent on taking care of all the graves while locating\
|
379 |
-
\ the lost grave of her long-lost love.\",\n \"location\": \"Pine Tree\
|
380 |
-
\ Graveyard\",\n \"inventory\": {\n \"Rusty Shovel\"\
|
381 |
-
: {\n \"name\": \"Rusty Shovel\",\n \"description\"\
|
382 |
-
: \"An old, rusted shovel with a weathered wooden handle.\",\n \
|
383 |
-
\ \"examine_text\": \"The iron part of the shovel is rusted all over. There\
|
384 |
-
\ are patches where the rust has eaten through the metal, leaving small holes.\
|
385 |
-
\ The wooden handle is worn and smooth from years of use. It has a grave digger's\
|
386 |
-
\ initial- 'Agnes'.\",\n \"properties\": {\n \
|
387 |
-
\ \"is_container\": false,\n \"is_drink\": false,\n\
|
388 |
-
\ \"is_food\": false,\n \"is_gettable\"\
|
389 |
-
: true,\n \"is_surface\": false,\n \
|
390 |
-
\ \"is_weapon\": true,\n \"is_wearable\": false\n \
|
391 |
-
\ }\n },\n \"Ancient Key\": {\n\
|
392 |
-
\ \"name\": \"Ancient Key\",\n \"description\"\
|
393 |
-
: \"A heavy wrought iron key that's smothered in dust and cobwebs.\",\n \
|
394 |
-
\ \"examine_text\": \"The key is old and heavy. The metal is cool\
|
395 |
-
\ and rough under your touch, and the teeth of the key are worn from use. Though\
|
396 |
-
\ it's covered in dust and cobwebs, it still exudes an aura of antiquity. It's\
|
397 |
-
\ believed to open some sort of old crypt in the graveyard.\",\n \
|
398 |
-
\ \"properties\": {\n \"is_container\": false,\n\
|
399 |
-
\ \"is_drink\": false,\n \"is_food\"\
|
400 |
-
: false,\n \"is_gettable\": true,\n \
|
401 |
-
\ \"is_surface\": false,\n \"is_weapon\": false,\n\
|
402 |
-
\ \"is_wearable\": false\n }\n \
|
403 |
-
\ },\n \"Locket with a faded photograph\": {\n \
|
404 |
-
\ \"name\": \"Locket with a faded photograph\",\n \
|
405 |
-
\ \"description\": \"A small silver locket containing a faded black and white\
|
406 |
-
\ photograph.\",\n \"examine_text\": \"The locket is old but\
|
407 |
-
\ well cared for, its silver surface polished and gleaming. A faded black and\
|
408 |
-
\ white photo rests inside, the faces nearly worn away with age. It\\u2019s the\
|
409 |
-
\ picture of a young girl- a resemblance of Gravedigger Agnes.\",\n \
|
410 |
-
\ \"properties\": {\n \"is_container\": true,\n\
|
411 |
-
\ \"is_drink\": false,\n \"is_food\"\
|
412 |
-
: false,\n \"is_gettable\": true,\n \
|
413 |
-
\ \"is_surface\": false,\n \"is_weapon\": false,\n\
|
414 |
-
\ \"is_wearable\": true\n }\n \
|
415 |
-
\ }\n }\n },\n \"Ghost of Bartolomeo\": {\n\
|
416 |
-
\ \"name\": \"Ghost of Bartolomeo\",\n \"description\":\
|
417 |
-
\ \"Bartolomeo is an ethereal figure that glows a gentle shade of blue. He wears\
|
418 |
-
\ the attire of a nobleman with a mournful expression etched onto his translucent\
|
419 |
-
\ face.\",\n \"persona\": \"In life, I was a nobleman, a baron who\
|
420 |
-
\ dealt in trade. Now, I am a mere whisper of my old self, trapped between the\
|
421 |
-
\ realms with no hope of escape.\",\n \"goal\": \"His only desire is\
|
422 |
-
\ to free himself from this realm and move on to the next.\",\n \"\
|
423 |
-
location\": \"Pine Tree Graveyard\",\n \"inventory\": {\n \
|
424 |
-
\ \"Ghost Lantern\": {\n \"name\": \"Ghost Lantern\"\
|
425 |
-
,\n \"description\": \"An old rusty lantern glowing with soft,\
|
426 |
-
\ ethereal light.\",\n \"examine_text\": \"The lantern has\
|
427 |
-
\ a ghostly aura, it seems to float above the ground. The light it emits has a\
|
428 |
-
\ surreal quality, managing to keep darkness at bay without lighting the area.\
|
429 |
-
\ 'Bartolomeo' is scrolled on one of its sides.\",\n \"properties\"\
|
430 |
-
: {\n \"is_container\": false,\n \
|
431 |
-
\ \"is_drink\": false,\n \"is_food\": false,\n \
|
432 |
-
\ \"is_gettable\": true,\n \"is_surface\"\
|
433 |
-
: false,\n \"is_weapon\": false,\n \
|
434 |
-
\ \"is_wearable\": false\n }\n },\n \
|
435 |
-
\ \"Ancient Scroll\": {\n \"name\": \"Ancient Scroll\"\
|
436 |
-
,\n \"description\": \"An old parchment scroll covered in faded\
|
437 |
-
\ ink, it appears to contain some form of ancient writing.\",\n \
|
438 |
-
\ \"examine_text\": \"The scroll is old and brittle, almost crumbling under\
|
439 |
-
\ gentle touch. The writing on it is almost completely faded and unreadable. However,\
|
440 |
-
\ you can make out the faint signature at the end of the scroll - 'Bartolomeo'.\"\
|
441 |
-
,\n \"properties\": {\n \"is_container\"\
|
442 |
-
: false,\n \"is_drink\": false,\n \
|
443 |
-
\ \"is_food\": false,\n \"is_gettable\": true,\n \
|
444 |
-
\ \"is_surface\": false,\n \"is_weapon\"\
|
445 |
-
: false,\n \"is_wearable\": false\n \
|
446 |
-
\ }\n }\n }\n },\n \"Pine Maiden Lucia\"\
|
447 |
-
: {\n \"name\": \"Pine Maiden Lucia\",\n \"description\"\
|
448 |
-
: \"Lucia appears as a young maiden with hair and eyes as green as pine needles.\
|
449 |
-
\ Leaves and blossoms adorn her clothes, camouflage her among the trees.\",\n\
|
450 |
-
\ \"persona\": \"Being the guardian of these trees, it's my duty to\
|
451 |
-
\ foster and nurture them like my own children. They might seem stiff and silent,\
|
452 |
-
\ but they're full of life!\",\n \"goal\": \"Lucia works tirelessly\
|
453 |
-
\ to restore life and beauty to this forsaken graveyard.\",\n \"location\"\
|
454 |
-
: \"Pine Tree Graveyard\",\n \"inventory\": {\n \"Magical\
|
455 |
-
\ Pine Cone\": {\n \"name\": \"Magical Pine Cone\",\n \
|
456 |
-
\ \"description\": \"A pine cone dropped by the greatest tree in\
|
457 |
-
\ the forest, imbued with magical properties.\",\n \"examine_text\"\
|
458 |
-
: \"This pine cone, about the size of your fist, still gleams with a fresh greenish\
|
459 |
-
\ hue suggesting it has just fallen. It pulses lightly in your hand and you feel\
|
460 |
-
\ the raw magic seeping from it. \",\n \"properties\": {\n\
|
461 |
-
\ \"is_container\": false,\n \"\
|
462 |
-
is_drink\": false,\n \"is_food\": false,\n \
|
463 |
-
\ \"is_gettable\": true,\n \"is_surface\": false,\n\
|
464 |
-
\ \"is_weapon\": false,\n \"is_wearable\"\
|
465 |
-
: false\n }\n },\n \"Wreath of\
|
466 |
-
\ Flowers\": {\n \"name\": \"Wreath of Flowers\",\n \
|
467 |
-
\ \"description\": \"A beautiful wreath made of vibrant forest flowers\
|
468 |
-
\ and fresh leaves.\",\n \"examine_text\": \"Examining the\
|
469 |
-
\ wreath, it's clear to see the delicate hand of Pine Maiden Lucia in its creation.\
|
470 |
-
\ Each flower and leaf is placed thoughtfully, forming a symphony of colors with\
|
471 |
-
\ a fragrant scent of flowers mixed with the rich scent of pine. It gives off\
|
472 |
-
\ a peaceful aura. \",\n \"properties\": {\n \
|
473 |
-
\ \"is_container\": false,\n \"is_drink\": false,\n\
|
474 |
-
\ \"is_food\": false,\n \"is_gettable\"\
|
475 |
-
: true,\n \"is_surface\": false,\n \
|
476 |
-
\ \"is_weapon\": false,\n \"is_wearable\": true\n \
|
477 |
-
\ }\n }\n }\n }\n }\n}"
|
478 |
-
example_title: Example 3
|
479 |
pipeline_tag: text-generation
|
|
|
480 |
---
|
481 |
-
#
|
482 |
|
483 |
-
|
484 |
|
485 |
## Example Usage
|
486 |
|
|
|
|
|
|
|
|
|
|
|
487 |
```python3
|
488 |
-
|
|
|
489 |
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
|
495 |
-
inputs = ['{\n "name": "The Brush Den",\n "description": "The entryway to the brush den is made of arched bushes and various plants, as is the ceiling and walls. The inside is furnished with seats made of plant roots that have grown together, and a table made of wood adorned with flowers and wooden cups and plates. A small vine dangles with a glowing floor from the middle of the ceiling that lights the room dimly. Three small beds lay in one corner of the room made of interlaced grass and leaves.",\n "background": "The fae inhibit this small cot hidden in the brush of the forest. These small creatures slowly add new brush and decorations to their den as they scavenge the forest for food and supporting their animal friends. The small den lies just a short distance east of the lake with the door facing the lake. One might easily miss it with a quick glance as many bushes and glowing flowers are outside of it.",\n "connections": {\n "north": "Ant Hill",\n "east": "Pine Tree Graveyard"\n },\n "items": {\n "Wooden Table": {\n "name": "Wooden Table",\n "description": "A small table made from wood and adorned with fresh flowers.",\n "examine_text": "Carefully carved and beautifully adorned with flowers of various shapes and vibrant colors. The surface is flat and smooth, perfect for setting down items.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": false,\n "is_surface": true,\n "is_weapon": false,\n "is_wearable": false\n },\n "location": "The Brush Den"\n },\n "Root Chair": {\n "name": "Root Chair",\n "description": "A seat made of interlaced roots growing together.",\n "examine_text": "The chair, although made completely of knotted roots, looks surprisingly comfortable.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": false,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": false\n },\n "location": "The Brush Den"\n },\n "Leaf Bed": {\n "name": "Leaf Bed",\n "description": "A small bed made of interwoven grasses and leaves.",\n "examine_text": "The petite bed seems unexpectedly soft, the leaves are intact and damp giving the sensation of freshness.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": false,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": false\n },\n "location": "The Brush Den"\n },\n "Glowing Flower": {\n "name": "Glowing Flower",\n "description": "A beautiful flower glowing with a soft light.",\n "examine_text": "The flower glows with a mystic light and upon closer inspection, it appears to have a faint magical aura.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": true\n },\n "location": "The Brush Den"\n }\n },\n "characters": {\n "Faelin": {\n "name": "Faelin",\n "description": "Faelin is petite, with sparkling green eyes and a nimble body. His wings are transparent, shimmering in the faint light and his attire consists of tattered cloth and leaf armor.",\n "persona": "I love the forest, it\\u2019s full of adventure and life. I enjoy adding new brush and decorations to our den and taking care of our animal friends.",\n "goal": "I aim to preserve and protect the forest and its inhabitants.",\n "location": "The Brush Den",\n "inventory": {\n "Leaf Armor": {\n "name": "Leaf Armor",\n "description": "A light and intricate armor piece made of sturdy leaves and vines",\n "examine_text": "Upon closer look, you can see the careful selection of the sturdiest leaves and strongest vines laced together to create this lightweight armor. It\'s designed beautifully with tiny flowers and stems to blend in with the forest surroundings.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": true\n }\n },\n "Berries": {\n "name": "Berries",\n "description": "Freshly picked sweet and juicy berries",\n "examine_text": "A handful of bright red and blue berries, freshly picked off a nearby bush. These berries look incredibly sweet and juicy, perfect for a quick snack or making a potion.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": true,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": false\n }\n },\n "Small Wooden Knife": {\n "name": "Small Wooden Knife",\n "description": "A simple but effective weapon crafted from sturdy wood",\n "examine_text": "Looking closer, the knife seems to be carved from a solid piece of dense wood, with intricate vine decorations etched into the blade, most likely by Faelin. The handle is worn, showing years of use, yet it\'s still strong and functional.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": true,\n "is_wearable": false\n }\n }\n }\n },\n "Lila": {\n "name": "Lila",\n "description": "Lila is delicate fairy with luminescent wings that reflect off the glowing flora around her. Her dress is made from soft petals of native flowers, and her hair is silver like moonlight.",\n "persona": "The forest is my true home. I love tending to our garden and collecting magical herbs that can aid in our journey.",\n "goal": "My ultimate goal is to gather and learn as much about magical herbs and their properties.",\n "location": "The Brush Den",\n "inventory": {\n "Petalled Dress": {\n "name": "Petalled Dress",\n "description": "A beautifully crafted dress from the petals of the forest\'s flowers.",\n "examine_text": "The dress looks delicate and vibrant, displaying an array of colors and patterns. The petals are carefully arranged to seem like they are naturally blooming. When closely examined, it gets clear that magical essence has been woven into the petals to keep them fresh.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": true\n }\n },\n "Magical Herbs": {\n "name": "Magical Herbs",\n "description": "An assortment of herbs, emanating a mystical aura.",\n "examine_text": "Upon closer inspection, each herb appears to contain its own unique magical property. Some seem to give off a glow, while others vary in colors in a way not found in normal herbs. The scent coming from the herbs is intense and captivating, reminiscent of the heart of the forest itself.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": false\n }\n },\n "Healing Salve": {\n "name": "Healing Salve",\n "description": "A small wooden jar containing a magical healing salve.",\n "examine_text": "The small wooden jar is unassuming from the outside. The healing salve is a radiant green, glittering with magical essence. It gives off a calming scent, and you can feel a sense of relief just by being in close proximity.",\n "properties": {\n "is_container": true,\n "is_drink": false,\n "is_food": false,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": false\n }\n }\n }\n },\n "Renn": {\n "name": "Renn",\n "description": "Renn, the eldest, is full of wisdom and has a calming presence. He has lost his wings due to an old battle wound. His clothing is more modest, made from woven grass.",\n "persona": "The forest is full of danger, but it\'s also full of potential allies. I may not have my wings, but my knowledge and guidance aid our clan.",\n "goal": "I want to educate my clanmates about the importance of unity and strength in numbers.",\n "location": "The Brush Den",\n "inventory": {\n "Woven Grass Attire": {\n "name": "Woven Grass Attire",\n "description": "A suit made from interwoven grass and leaves.",\n "examine_text": "The attire is light and airy, with individual blades of grass skillfully woven into a naturally camouflaged suit. Tiny flowers are adorn the edges, adding color to it. The detail and craftsmanship suggest the hand of an expert, someone who knows the forest well.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": true\n }\n },\n "Tattered Map": {\n "name": "Tattered Map",\n "description": "A worn out map of the forest.",\n "examine_text": "The map, despite being tattered, is still readable. It appears to consist of all the important locations around the forest, including the safest paths for travel. It\'s intricate, clearly made by one who traverses the forest regularly.",\n "properties": {\n "is_container": false,\n "is_drink": false,\n "is_food": false,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": false\n }\n },\n "Dented Flask": {\n "name": "Dented Flask",\n "description": "A flask with a notable dent on one side.",\n "examine_text": "The flask, though dented, seems to be able to hold liquids without any leaks. It\'s made of metal with a leather wrap for insulation. Beads of moisture on the outside suggest something inside is cold.",\n "properties": {\n "is_container": true,\n "is_drink": true,\n "is_food": false,\n "is_gettable": true,\n "is_surface": false,\n "is_weapon": false,\n "is_wearable": false\n }\n }\n }\n }\n }\n}']
|
496 |
-
print(pipe(inputs, max_length=32768, do_sample=False))
|
497 |
```
|
498 |
|
499 |
---
|
|
|
5 |
- synthetic
|
6 |
- text-generation
|
7 |
base_model: LouisML/tinyllama_32k
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
pipeline_tag: text-generation
|
9 |
+
inference: false
|
10 |
---
|
11 |
+
# Description
|
12 |
|
13 |
+
This model converts worlds and locations described in the DAGGER JSON format into fictional narrative stories. See more information about the [DAGGER dataset](https://github.com/dagger-realms/dagger).
|
14 |
|
15 |
## Example Usage
|
16 |
|
17 |
+
Make sure you have the latest versions of `torch`, `transformers`, `quanto`, and `accelerate` with:
|
18 |
+
```bash
|
19 |
+
pip install -U torch==2.2.1 transformers==4.39.1 quanto==0.1.0 accelerate==0.28.0
|
20 |
+
```
|
21 |
+
|
22 |
```python3
|
23 |
+
import json
|
24 |
+
from transformers import pipeline, TextStreamer, QuantoConfig
|
25 |
|
26 |
+
pipe = pipeline(
|
27 |
+
"text-generation",
|
28 |
+
"dagger-realms/dagger_to_narrative",
|
29 |
+
model_kwargs={
|
30 |
+
"quantization_config": QuantoConfig(weights="int8"),
|
31 |
+
"low_cpu_mem_usage": True,
|
32 |
+
},
|
33 |
+
device_map="auto",
|
34 |
+
)
|
35 |
+
input_dagger_objects = [{ "name": "The Brush Den", "description": "The entryway to the brush den is made of arched bushes and various plants, as is the ceiling and walls. The inside is furnished with seats made of plant roots that have grown together, and a table made of wood adorned with flowers and wooden cups and plates. A small vine dangles with a glowing floor from the middle of the ceiling that lights the room dimly. Three small beds lay in one corner of the room made of interlaced grass and leaves.", "background": "The fae inhibit this small cot hidden in the brush of the forest. These small creatures slowly add new brush and decorations to their den as they scavenge the forest for food and supporting their animal friends. The small den lies just a short distance east of the lake with the door facing the lake. One might easily miss it with a quick glance as many bushes and glowing flowers are outside of it.", "connections": {"north": "Ant Hill", "east": "Pine Tree Graveyard"}, "items": { "Wooden Table": { "name": "Wooden Table", "description": "A small table made from wood and adorned with fresh flowers.", "examine_text": "Carefully carved and beautifully adorned with flowers of various shapes and vibrant colors. The surface is flat and smooth, perfect for setting down items.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": False, "is_surface": True, "is_weapon": False, "is_wearable": False }, "location": "The Brush Den" }, "Root Chair": { "name": "Root Chair", "description": "A seat made of interlaced roots growing together.", "examine_text": "The chair, although made completely of knotted roots, looks surprisingly comfortable.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": False, "is_surface": False, "is_weapon": False, "is_wearable": False }, "location": "The Brush Den" }, "Leaf Bed": { "name": "Leaf Bed", "description": "A small bed made of interwoven grasses and leaves.", "examine_text": "The petite bed seems unexpectedly soft, the leaves are intact and damp giving the sensation of freshness.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": False, "is_surface": False, "is_weapon": False, "is_wearable": False }, "location": "The Brush Den" }, "Glowing Flower": { "name": "Glowing Flower", "description": "A beautiful flower glowing with a soft light.", "examine_text": "The flower glows with a mystic light and upon closer inspection, it appears to have a faint magical aura.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": True, "is_surface": False, "is_weapon": False, "is_wearable": True }, "location": "The Brush Den" } }, "characters": { "Faelin": { "name": "Faelin", "description": "Faelin is petite, with sparkling green eyes and a nimble body. His wings are transparent, shimmering in the faint light and his attire consists of tattered cloth and leaf armor.", "persona": "I love the forest, it\u2019s full of adventure and life. I enjoy adding new brush and decorations to our den and taking care of our animal friends.", "goal": "I aim to preserve and protect the forest and its inhabitants.", "location": "The Brush Den", "inventory": { "Leaf Armor": { "name": "Leaf Armor", "description": "A light and intricate armor piece made of sturdy leaves and vines", "examine_text": "Upon closer look, you can see the careful selection of the sturdiest leaves and strongest vines laced together to create this lightweight armor. It's designed beautifully with tiny flowers and stems to blend in with the forest surroundings.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": True, "is_surface": False, "is_weapon": False, "is_wearable": True } }, "Berries": { "name": "Berries", "description": "Freshly picked sweet and juicy berries", "examine_text": "A handful of bright red and blue berries, freshly picked off a nearby bush. These berries look incredibly sweet and juicy, perfect for a quick snack or making a potion.", "properties": { "is_container": False, "is_drink": False, "is_food": True, "is_gettable": True, "is_surface": False, "is_weapon": False, "is_wearable": False } }, "Small Wooden Knife": { "name": "Small Wooden Knife", "description": "A simple but effective weapon crafted from sturdy wood", "examine_text": "Looking closer, the knife seems to be carved from a solid piece of dense wood, with intricate vine decorations etched into the blade, most likely by Faelin. The handle is worn, showing years of use, yet it's still strong and functional.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": True, "is_surface": False, "is_weapon": True, "is_wearable": False } } } }, "Lila": { "name": "Lila", "description": "Lila is delicate fairy with luminescent wings that reflect off the glowing flora around her. Her dress is made from soft petals of native flowers, and her hair is silver like moonlight.", "persona": "The forest is my True home. I love tending to our garden and collecting magical herbs that can aid in our journey.", "goal": "My ultimate goal is to gather and learn as much about magical herbs and their properties.", "location": "The Brush Den", "inventory": { "Petalled Dress": { "name": "Petalled Dress", "description": "A beautifully crafted dress from the petals of the forest's flowers.", "examine_text": "The dress looks delicate and vibrant, displaying an array of colors and patterns. The petals are carefully arranged to seem like they are naturally blooming. When closely examined, it gets clear that magical essence has been woven into the petals to keep them fresh.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": True, "is_surface": False, "is_weapon": False, "is_wearable": True } }, "Magical Herbs": { "name": "Magical Herbs", "description": "An assortment of herbs, emanating a mystical aura.", "examine_text": "Upon closer inspection, each herb appears to contain its own unique magical property. Some seem to give off a glow, while others vary in colors in a way not found in normal herbs. The scent coming from the herbs is intense and captivating, reminiscent of the heart of the forest itself.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": True, "is_surface": False, "is_weapon": False, "is_wearable": False } }, "Healing Salve": { "name": "Healing Salve", "description": "A small wooden jar containing a magical healing salve.", "examine_text": "The small wooden jar is unassuming from the outside. The healing salve is a radiant green, glittering with magical essence. It gives off a calming scent, and you can feel a sense of relief just by being in close proximity.", "properties": { "is_container": True, "is_drink": False, "is_food": False, "is_gettable": True, "is_surface": False, "is_weapon": False, "is_wearable": False } } } }, "Renn": { "name": "Renn", "description": "Renn, the eldest, is full of wisdom and has a calming presence. He has lost his wings due to an old battle wound. His clothing is more modest, made from woven grass.", "persona": "The forest is full of danger, but it's also full of potential allies. I may not have my wings, but my knowledge and guidance aid our clan.", "goal": "I want to educate my clanmates about the importance of unity and strength in numbers.", "location": "The Brush Den", "inventory": { "Woven Grass Attire": { "name": "Woven Grass Attire", "description": "A suit made from interwoven grass and leaves.", "examine_text": "The attire is light and airy, with individual blades of grass skillfully woven into a naturally camouflaged suit. Tiny flowers are adorn the edges, adding color to it. The detail and craftsmanship suggest the hand of an expert, someone who knows the forest well.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": True, "is_surface": False, "is_weapon": False, "is_wearable": True } }, "Tattered Map": { "name": "Tattered Map", "description": "A worn out map of the forest.", "examine_text": "The map, despite being tattered, is still readable. It appears to consist of all the important locations around the forest, including the safest paths for travel. It's intricate, clearly made by one who traverses the forest regularly.", "properties": { "is_container": False, "is_drink": False, "is_food": False, "is_gettable": True, "is_surface": False, "is_weapon": False, "is_wearable": False } }, "Dented Flask": { "name": "Dented Flask", "description": "A flask with a notable dent on one side.", "examine_text": "The flask, though dented, seems to be able to hold liquids without any leaks. It's made of metal with a leather wrap for insulation. Beads of moisture on the outside suggest something inside is cold.", "properties": { "is_container": True, "is_drink": True, "is_food": False, "is_gettable": True, "is_surface": False, "is_weapon": False, "is_wearable": False } } } } } }]
|
36 |
+
input_dagger_jsons = [json.dumps(o, indent=4) for o in input_dagger_objects]
|
37 |
+
streamer = TextStreamer(
|
38 |
+
pipe.tokenizer, skip_prompt=True
|
39 |
+
) # Streams the output to your terminal
|
40 |
+
output_stories = pipe(
|
41 |
+
input_dagger_jsons,
|
42 |
+
streamer=streamer,
|
43 |
+
max_new_tokens=2048,
|
44 |
+
top_p=0.3,
|
45 |
+
repetition_penalty=1.1,
|
46 |
+
exponential_decay_length_penalty=(850, 1.05),
|
47 |
+
do_sample=True,
|
48 |
+
return_full_text=False,
|
49 |
+
batch_size=1,
|
50 |
+
)
|
51 |
|
|
|
|
|
52 |
```
|
53 |
|
54 |
---
|