Text Generation
Transformers
ONNX
llama
sparse
chat
deepsparse
conversational
mgoin commited on
Commit
4cea4f3
1 Parent(s): 52efa4e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -38,7 +38,7 @@ from deepsparse import TextGeneration
38
  model = TextGeneration(model_path="hf:neuralmagic/Llama-2-7b-pruned70-retrained-ultrachat-quant-ds")
39
 
40
  input_text = "Write me a poem about Machine Learning."
41
- outputs = model(formatted_prompt, max_new_tokens=100)
42
  print(outputs.generations[0].text)
43
  ```
44
 
 
38
  model = TextGeneration(model_path="hf:neuralmagic/Llama-2-7b-pruned70-retrained-ultrachat-quant-ds")
39
 
40
  input_text = "Write me a poem about Machine Learning."
41
+ outputs = model(input_text, max_new_tokens=100)
42
  print(outputs.generations[0].text)
43
  ```
44