mwitiderrick
commited on
Commit
·
fd4ab10
1
Parent(s):
21bb078
Update README.md
Browse files
README.md
CHANGED
@@ -75,12 +75,37 @@ from transformers import AutoTokenizer, AutoModelForCausalLM,pipeline
|
|
75 |
|
76 |
tokenizer = AutoTokenizer.from_pretrained("mwitiderrick/shearedplats-2.7b-v2-instruct-v0.1")
|
77 |
model = AutoModelForCausalLM.from_pretrained("mwitiderrick/shearedplats-2.7b-v2-instruct-v0.1")
|
78 |
-
Provide step-by-step instructions for making a sweet chicken bugger
|
79 |
-
text_gen = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=
|
80 |
output = text_gen(f"### Instruction:\n{query}\n### Response:\n")
|
81 |
print(output[0]['generated_text'])
|
82 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
|
|
|
84 |
"""
|
85 |
```
|
86 |
## TruthfulQA metrics
|
|
|
75 |
|
76 |
tokenizer = AutoTokenizer.from_pretrained("mwitiderrick/shearedplats-2.7b-v2-instruct-v0.1")
|
77 |
model = AutoModelForCausalLM.from_pretrained("mwitiderrick/shearedplats-2.7b-v2-instruct-v0.1")
|
78 |
+
query = "Provide step-by-step instructions for making a sweet chicken bugger"
|
79 |
+
text_gen = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=450)
|
80 |
output = text_gen(f"### Instruction:\n{query}\n### Response:\n")
|
81 |
print(output[0]['generated_text'])
|
82 |
"""
|
83 |
+
### Instruction:
|
84 |
+
Provide step-by-step instructions for making a sweet chicken bugger
|
85 |
+
### Response:
|
86 |
+
Step 1: Prepare the ingredients
|
87 |
+
|
88 |
+
You will need a mixture of ground chicken, breadcrumbs, butter, Worcestershire sauce, garlic powder, onion powder, salt, and pepper.
|
89 |
+
|
90 |
+
Step 2: Form the bugger
|
91 |
+
|
92 |
+
Take a piece of chicken breast meat and use a sharp knife to cut it into small cubes. Place the cubes in a bowl and add the remaining ingredients: breadcrumbs, butter, Worcestershire sauce, garlic powder, onion powder, salt, and pepper. Mix the ingredients together until they are well combined.
|
93 |
+
|
94 |
+
Step 3: Shape the bugger
|
95 |
+
|
96 |
+
Take a piece of the bugger mixture and form it into a ball. Place the ball on a plate or in a bag and refrigerate it for 30 minutes.
|
97 |
+
|
98 |
+
Step 4: Cook the bugger
|
99 |
+
|
100 |
+
Heat a grill pan or grill to medium-high heat. Take the bugger out of the refrigerator and place it on the grill. Cook the bugger for 5-7 minutes on each side, or until it is cooked through.
|
101 |
+
|
102 |
+
Step 5: Serve and enjoy!
|
103 |
+
|
104 |
+
Once the bugger is cooked, serve it hot and enjoy!
|
105 |
+
|
106 |
+
Note: You can also use a sweet chicken bugger mix to make sweet chicken buggers. Simply follow the instructions above, but use the sweet chicken bugger mix instead of the ground chicken.
|
107 |
|
108 |
+
Enjoy your sweet chicken buggers!
|
109 |
"""
|
110 |
```
|
111 |
## TruthfulQA metrics
|