Commit
·
9bd78e5
1
Parent(s):
dd400dc
Update README.md
Browse files
README.md
CHANGED
@@ -10,7 +10,7 @@ from deepsparse import TextGeneration
|
|
10 |
prompt = "How to get in a good university?"
|
11 |
formatted_prompt = f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n"
|
12 |
|
13 |
-
model = TextGeneration(
|
14 |
print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
|
15 |
|
16 |
"""
|
|
|
10 |
prompt = "How to get in a good university?"
|
11 |
formatted_prompt = f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n"
|
12 |
|
13 |
+
model = TextGeneration(model_path="hf:nm-testing/TinyLlama-1.1B-Chat-v0.4-pruned60-quant")
|
14 |
print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
|
15 |
|
16 |
"""
|