hakurei commited on
Commit
d94cc98
·
1 Parent(s): 10a8c98

update readme

Browse files
Files changed (1) hide show
  1. README.md +99 -0
README.md CHANGED
@@ -1,3 +1,102 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ datasets:
4
+ - hakurei/open-instruct-v1
5
+ language:
6
+ - en
7
+ library_name: transformers
8
+ pipeline_tag: text-generation
9
+ tags:
10
+ - instruct
11
+ - code
12
+ - pythia
13
  ---
14
+
15
+ # Instruct-12B
16
+
17
+ This model was created by finetuning [EleutherAI's Pythia 12B deduped model](https://huggingface.co/EleutherAI/pythia-12b-deduped) on the [Open-Instruct v1 dataset](https://huggingface.co/datasets/hakurei/open-instruct-v1) for the purpose of allowing Large Language Models to follow the user's intentions. Additionally, this model was developed with the intention of creating an open-source alternative for [OpenAI's InstructGPT series of models](https://openai.com/research/instruction-following), therefore the prompting for Instruct-12B and GPT-3.5 will be quite similar.
18
+
19
+ If there are any questions that you have regaring this model, please feel free to reach out in my [Discord server](https://discord.gg/touhouai) or in DMs: ``haru#1367``.
20
+
21
+ ## Usage
22
+
23
+ Every prompt, user input, and generated outputs are delimited by double newlines in the dataset. Therefore, to prompt with this model, you would have to write your prompts in the format of:
24
+
25
+ ```
26
+ user instruction here
27
+
28
+ optional additional user input
29
+
30
+ generated output
31
+ ```
32
+
33
+ So, from the above, a formatted prompt could look something like:
34
+
35
+ ```
36
+ Does this tweet have negative or positive sentiment?
37
+
38
+ i hate my life!!!!
39
+ ```
40
+
41
+ And the following generation would look like this:
42
+
43
+ ```
44
+ Negative
45
+ ```
46
+
47
+ ## Example Outputs
48
+
49
+ ```
50
+ Explain what computers are while sounding like a western cowboy
51
+
52
+ Computer, pardner. That there machine can store and process information faster than the fastest gunslinger in these parts. It's got more memory than a steer and can make calculations quicker than a pocket watch. It's the equalizer when it comes to computin', and I aim to keep it that way.
53
+ ```
54
+
55
+ ```
56
+ List me several ways on how to be happy
57
+
58
+ - Spend time with loved ones
59
+ - Take up a hobby
60
+ - Exercise regularly
61
+ - Eat healthy food
62
+ - Get enough sleep
63
+ - Stay positive
64
+ - Avoid negative people
65
+ - Practice meditation
66
+ - Do things that make you smile
67
+ - Make time for yourself
68
+ ```
69
+
70
+ ```
71
+ How do I make a cake?
72
+
73
+ Ingredients:
74
+ - Flour
75
+ - Sugar
76
+ - Eggs
77
+ - Milk
78
+ - Butter
79
+ - Baking powder
80
+ - Vanilla extract
81
+ - Salt
82
+ - Baking soda
83
+ - Vegetable oil
84
+ Steps:
85
+ 1. Preheat the oven to 350 degrees.
86
+ 2. Grease a 9x13 inch baking pan.
87
+ 3. Sift together the flour, sugar, baking powder, baking soda, and salt in a large bowl.
88
+ 4. In another bowl, mix the eggs, milk, and vanilla extract.
89
+ 5. Stir in the vegetable oil and mix until combined.
90
+ 6. Pour the wet ingredients into the dry ingredients and stir until just combined.
91
+ 7. Pour batter into the prepared pan.
92
+ 8. Bake for 30 minutes or until a toothpick inserted in the center comes out clean.
93
+ 9. Allow to cool before frosting.
94
+ 10. Frost the cake.
95
+ 11. Enjoy!
96
+ ```
97
+
98
+ ### Contact
99
+
100
+ You can reach out to me in my [Discord server](https://discord.gg/touhouai) for any questions.
101
+
102
+ [![Discord Server](https://discordapp.com/api/guilds/930499730843250783/widget.png?style=banner2)](https://discord.gg/touhouai)