Commit
·
fabd47e
1
Parent(s):
b6f9c09
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"<s>[INST]{prompt}[/INST]"
|
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"<s>[INST]{prompt}[/INST]"
|
12 |
|
13 |
+
model = TextGeneration(model_path="hf:neuralmagic/Yi-6B-Llama-50-quant")
|
14 |
print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
|
15 |
|
16 |
"""
|