alonzogarbanzo
commited on
Commit
•
6f7b55d
1
Parent(s):
44a7440
Update README.md
Browse files
README.md
CHANGED
@@ -33,6 +33,7 @@ The model was instruction tuned on the dataset in the following way:
|
|
33 |
|
34 |
Given the set of promts:
|
35 |
|
|
|
36 |
prompts = [
|
37 |
"Write a creative short story based on the following title:",
|
38 |
"Here is a title for a story. Craft a short narrative around it:",
|
@@ -40,10 +41,13 @@ prompts = [
|
|
40 |
"Imagine a short story that starts with this title:",
|
41 |
"Create a brief story with the following title:"
|
42 |
]
|
|
|
43 |
|
44 |
each training example is generated by concatenating one of the prompts with the 'title' and 'selftext' in the following way:
|
45 |
|
46 |
-
|
|
|
|
|
47 |
|
48 |
### Training hyperparameters
|
49 |
|
|
|
33 |
|
34 |
Given the set of promts:
|
35 |
|
36 |
+
``` python
|
37 |
prompts = [
|
38 |
"Write a creative short story based on the following title:",
|
39 |
"Here is a title for a story. Craft a short narrative around it:",
|
|
|
41 |
"Imagine a short story that starts with this title:",
|
42 |
"Create a brief story with the following title:"
|
43 |
]
|
44 |
+
```
|
45 |
|
46 |
each training example is generated by concatenating one of the prompts with the 'title' and 'selftext' in the following way:
|
47 |
|
48 |
+
``` python
|
49 |
+
concatenated_texts = [random.choice(prompts) + " " + title + "</s>" + "Story: " + selftext for title, selftext in zip(titles, selftexts)]
|
50 |
+
```
|
51 |
|
52 |
### Training hyperparameters
|
53 |
|