mwitiderrick
commited on
Commit
•
e3ae560
1
Parent(s):
005d074
Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,7 @@ from deepsparse import TextGeneration
|
|
27 |
prompt = "How to make banana bread?"
|
28 |
formatted_prompt = f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n"
|
29 |
|
30 |
-
model = TextGeneration(
|
31 |
print(model(formatted_prompt, max_new_tokens=500).generations[0].text)
|
32 |
|
33 |
"""
|
|
|
27 |
prompt = "How to make banana bread?"
|
28 |
formatted_prompt = f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n"
|
29 |
|
30 |
+
model = TextGeneration(model_path="hf:nm-testing/TinyLlama-1.1B-Chat-v1.0-pruned50-quant-ds")
|
31 |
print(model(formatted_prompt, max_new_tokens=500).generations[0].text)
|
32 |
|
33 |
"""
|