mwitiderrick commited on
Commit
bde02d4
·
verified ·
1 Parent(s): 435f972

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -27,10 +27,13 @@ from deepsparse import TextGeneration
27
  prompt = "How to make banana bread?"
28
  formatted_prompt = f"<|system|> You are a helpful AI assistant.</s><|user|>{prompt}</s><|assistant|>"
29
  model = TextGeneration(model_path="hf:nm-testing/zyte-1B-pruned50-quant-dsnm-testing/zyte-1B-pruned50-quant-ds")
30
- print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
31
 
32
  """
33
-
 
 
 
34
 
35
  """
36
  ```
 
27
  prompt = "How to make banana bread?"
28
  formatted_prompt = f"<|system|> You are a helpful AI assistant.</s><|user|>{prompt}</s><|assistant|>"
29
  model = TextGeneration(model_path="hf:nm-testing/zyte-1B-pruned50-quant-dsnm-testing/zyte-1B-pruned50-quant-ds")
30
+ print(model(formatted_prompt, max_new_tokens=200, repetition_penalty=1.1, do_sample=True).generations[0].text)
31
 
32
  """
33
+ Absolutely! Here's a recipe for banana bread, which can be made using several fresh bananas:
34
+ Banana bread-making recipe 1 cup of oatmeal
35
+ 1 riped banan (approx 10-12 ripe unripened harun);
36
+ 35 grams of unsalted soaked soy flour; Into 8 cups (with two layers) oats (oats as little as one teaspoon/497grts. ), and sugar. The next ingredience is: Soaked rice grains or any kind flat, allso in granulates soled and leaching dried grains, together with shelling grains allso in granulates on the top level are needed to help softening, stirring and preparing the pancakers at 20 degrees Celronic/56°
37
 
38
  """
39
  ```