Commit
·
96b9bfa
1
Parent(s):
d53ce0d
Update README.md
Browse files
README.md
CHANGED
@@ -23,14 +23,23 @@ Run in a [Python pipeline](https://github.com/neuralmagic/deepsparse/blob/main/d
|
|
23 |
```python
|
24 |
from deepsparse import TextGeneration
|
25 |
|
26 |
-
prompt = "How to
|
27 |
formatted_prompt = f"<s> [|User|]\n{prompt}</s>[|Assistant|]\n"
|
28 |
|
29 |
model = TextGeneration(model="hf:nm-testing/MiniChat-1.5-3B-pruned50-quant-ds")
|
30 |
|
31 |
print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
|
32 |
"""
|
|
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
"""
|
35 |
```
|
36 |
|
|
|
23 |
```python
|
24 |
from deepsparse import TextGeneration
|
25 |
|
26 |
+
prompt = "How to make banana bread?"
|
27 |
formatted_prompt = f"<s> [|User|]\n{prompt}</s>[|Assistant|]\n"
|
28 |
|
29 |
model = TextGeneration(model="hf:nm-testing/MiniChat-1.5-3B-pruned50-quant-ds")
|
30 |
|
31 |
print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
|
32 |
"""
|
33 |
+
To make banana bread, you will need banana (also known asplantain), yees, and water. You can make banana bread by mixing banana with yees and water, and then cook it in the oven. Here are the steps to make banana bread:
|
34 |
|
35 |
+
1. Prepare yees: Mix yees with water to create a batter.
|
36 |
+
2. Add banana to the batter: Add banana to the batter to create a banana bread.
|
37 |
+
3. Mix the batter: Mix the banana and yees to create a batter.
|
38 |
+
4. Add water to the batter: Add water to the batter to create a batter.
|
39 |
+
5. Mix the batter: Mix the batter to create a batter.
|
40 |
+
6. Add banana to the batter: Add banana to the batter to create a banana bread.
|
41 |
+
7. Mix the batter: Mix the banana and yees to create a batter.
|
42 |
+
8. Add
|
43 |
"""
|
44 |
```
|
45 |
|