Vanessasml commited on
Commit
e9b582d
1 Parent(s): 16e162f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -66,7 +66,7 @@ The insurer polled over 1000 adults over the age of 45 in the latest update to i
66
  Further, 6% said they had actually fallen victim to such an online attack, amounting to around 1.2 million adults. \
67
  Some 22% more people it surveyed had been targeted by ...
68
  """
69
- pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=200)
70
  # To generate text:
71
  result = pipe(f"<s>[INST] {prompt} [/INST]")
72
  print(result[0]['generated_text'])
 
66
  Further, 6% said they had actually fallen victim to such an online attack, amounting to around 1.2 million adults. \
67
  Some 22% more people it surveyed had been targeted by ...
68
  """
69
+ pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=2048, repetition_penalty=1.2,temperature=0)
70
  # To generate text:
71
  result = pipe(f"<s>[INST] {prompt} [/INST]")
72
  print(result[0]['generated_text'])