imone commited on
Commit
a736e30
1 Parent(s): aa960d8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -124,8 +124,8 @@ input_ids = tokenizer.apply_chat_template(messages, add_generation_prompt=True,
124
 
125
  outputs = model.generate(input_ids,
126
  do_sample=True,
127
- temperature=0.6,
128
- top_p=0.9,
129
  )
130
  response = outputs[0][input_ids.shape[-1]:]
131
  print(tokenizer.decode(response, skip_special_tokens=True))
 
124
 
125
  outputs = model.generate(input_ids,
126
  do_sample=True,
127
+ temperature=0.5,
128
+ max_new_tokens=1024
129
  )
130
  response = outputs[0][input_ids.shape[-1]:]
131
  print(tokenizer.decode(response, skip_special_tokens=True))