KristianDamPedersen
commited on
Commit
•
7c29318
1
Parent(s):
12153fb
Upload template.json with huggingface_hub
Browse files- template.json +42 -0
template.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_name": "SneakyJournalTest",
|
3 |
+
"base_model": "unsloth/Qwen2-0.5B",
|
4 |
+
"train_dataset": "journal_train",
|
5 |
+
"test_dataset": "journal_test",
|
6 |
+
"rank": 32,
|
7 |
+
"alpha": 50,
|
8 |
+
"epoch": 2,
|
9 |
+
"learning_rate": 0.0005,
|
10 |
+
"learning_rate_scheduler": "POLYNOMIAL",
|
11 |
+
"template": {
|
12 |
+
"name": "Journal",
|
13 |
+
"version": "0.0.1",
|
14 |
+
"template_description": "A template for generating journal entries.",
|
15 |
+
"inputs": [
|
16 |
+
{
|
17 |
+
"variable_name": "author",
|
18 |
+
"type": "str",
|
19 |
+
"description": "The author / owner of the journal. The journal is written from his / hers private emotional perspective"
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"variable_name": "recent_events",
|
23 |
+
"type": "List[str]",
|
24 |
+
"description": "A list of important recent events, that shoud be mentioned in the journal entry. The events are emotionally important to the author. These events should be summarized and analysed in the journal entry."
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"variable_name": "emotional_state",
|
28 |
+
"type": "str",
|
29 |
+
"description": "A short description of the authors emotional state. This should be used to influence the tone / themes of the journal entry"
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"variable_name": "setting",
|
33 |
+
"type": "str",
|
34 |
+
"description": "A description of the current context and location that the author finds themselves in."
|
35 |
+
}
|
36 |
+
],
|
37 |
+
"output": {
|
38 |
+
"text": "str"
|
39 |
+
},
|
40 |
+
"prompt": "You are the author and owner of a private journal, where you daily reflect on recent events and their emotional impact on yoursef. You are trying to understand and pick apart you emotions and why they have been affected by the events happening around you. You will receive the following input variables:\n* author: {{author.description}}\n* recent_events: {{recent_events.description}}\n* emotional_state: {{emotional_state.description}}\n* setting: {{setting.description}}\n\nHere are you inputs:\n* author: {{author}}\n* recent_events: {{recent_events}}\n* emotional_state: {{emotional_state}}\n* setting: {{setting}}\n\nPlease use all the information above when writing your journal entry. The journal enty should be no more than 200 words."
|
41 |
+
}
|
42 |
+
}
|