Commit
•
a98c146
1
Parent(s):
6f7231f
Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ from deepsparse import TextGeneration
|
|
26 |
prompt = "James decides to run 3 sprints 3 times a week. He runs 60 meters each sprint. How many total meters does he run a week?"
|
27 |
formatted_prompt = f"Question:{prompt}\nAnswer:"
|
28 |
|
29 |
-
model = TextGeneration(model_path="hf:nm-testing/
|
30 |
print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
|
31 |
"""
|
32 |
First find the total distance of one sprint: 60 meters * 3 = <<60*3=180>>180 meters
|
|
|
26 |
prompt = "James decides to run 3 sprints 3 times a week. He runs 60 meters each sprint. How many total meters does he run a week?"
|
27 |
formatted_prompt = f"Question:{prompt}\nAnswer:"
|
28 |
|
29 |
+
model = TextGeneration(model_path="hf:nm-testing/llama2-7b-gsm8k-pt-pruned50-quant-ds")
|
30 |
print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
|
31 |
"""
|
32 |
First find the total distance of one sprint: 60 meters * 3 = <<60*3=180>>180 meters
|