Commit
·
c405269
1
Parent(s):
4c04a2d
Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ tags:
|
|
9 |
```python
|
10 |
from deepsparse import TextGeneration
|
11 |
prompt='### Instruction:\nWrite a Perl script that processes a log file and counts the occurrences of different HTTP status codes. The script should accept the log file path as a command-line argument and print the results to the console in descending order of frequency.\n\n### Response:\n'
|
12 |
-
model = TextGeneration(
|
13 |
print(model(prompt, max_new_tokens=200).generations[0].text)
|
14 |
"""
|
15 |
Here's a Perl script that meets the requirements:
|
|
|
9 |
```python
|
10 |
from deepsparse import TextGeneration
|
11 |
prompt='### Instruction:\nWrite a Perl script that processes a log file and counts the occurrences of different HTTP status codes. The script should accept the log file path as a command-line argument and print the results to the console in descending order of frequency.\n\n### Response:\n'
|
12 |
+
model = TextGeneration(model_path="hf:neuralmagic/zephyr-7b-beta-pruned50-quant-ds")
|
13 |
print(model(prompt, max_new_tokens=200).generations[0].text)
|
14 |
"""
|
15 |
Here's a Perl script that meets the requirements:
|