File size: 3,196 Bytes
50a23d2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
{
"model_name": "tombstone_tiny_llama",
"base_model": "unsloth/tinyllama",
"train_dataset": "tombstone_train",
"test_dataset": "tombstone_test",
"rank": 32,
"alpha": 32,
"epoch": 8,
"learning_rate": 0.001,
"learning_rate_scheduler": "LINEAR",
"template": {
"name": "tombstone_writer",
"version": "0.0.1",
"template_description": "A tombstone generator for a medieval game, generates based on characters recent events",
"inputs": [
{
"variable_name": "age",
"type": "int",
"description": "the age of the character"
},
{
"variable_name": "name",
"type": "str",
"description": "The name of the character"
},
{
"variable_name": "cause_of_death",
"type": "str",
"description": "The cause of death of the character"
},
{
"variable_name": "defining_traits",
"type": "str",
"description": "The defining traits of the character, ex. job or marital status"
},
{
"variable_name": "occupation",
"type": "str",
"description": ""
}
],
"output": {
"header": "str",
"text": "str"
},
"prompt": "Based on the characters name : {{name}}, age : {{age}}, cause of death: {{cause_of_death}} and defining traits : {{defining_traits}}, generate a tombstone with a short headline (10-15 words) and a text (20-30 words). The text should include mentions of one or more of the characters defining_traits, it can include cause_of_death if appropriate. It should include the name({{name}}) in the header. You need to be able to account for several different professions, here are some example\n{\"name\": \"Filibert Froste\", age : 55 , occupation :\"alderman\", cause_of_death : \"Killed by an angry farmer who disagrees with filiberts policys\", defining_traits: [\"loyal\", \"married\", \"has three kids\", \"good relation with the church\", \"A lawful citizen\"} The tombstone reads {header : \"Filibert Froste, server of the community\", text : \"The beastiality of his murder will never be forgotten, just like his devotion to his people\"}\n\n\n{\"name\": \"Fridumar Fultone Froste\", age : 45 , occupation :\"bishop\", cause_of_death : \"Heart attack\", defining_traits: [\"devoted to his religion\", \"no family\", \"Loved by his village\", \"Always ready to listen\"} The tombstone reads {header : \"Fridumar Fultone\", text : \"A cornerstone of this community, may god serve you as you served him\"}\n\n{ \"name\" : \"Odina Blumg\", age : 40, \"occupation\": \"Gem saleswoman\", \"cause_of_death\" : \"Crashed her horse carriage during a storm\", defining traits : [\"no family\", \"not religious\", \"had few friends\", \"travelled mostly alone and always on the move\", \"wealthy\"]} the tombstone reads {header : \"Odina, the queen of gems\", text : \"May her soul find the peace, it couldn't find in life\"}\n"
}
} |