YeungNLP commited on
Commit
05eb5fd
1 Parent(s): cda427c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -72,7 +72,7 @@ generated_ids = model.generate(
72
  top_p = 0.9,
73
  temperature = 0.35,
74
  repetition_penalty = 1.0,
75
- eos_token_id=tokenizer.encode('<|eos>', add_special_tokens=False)
76
  )
77
  generated_ids = [
78
  output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
 
72
  top_p = 0.9,
73
  temperature = 0.35,
74
  repetition_penalty = 1.0,
75
+ eos_token_id=tokenizer.encode('<eos>', add_special_tokens=False)
76
  )
77
  generated_ids = [
78
  output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)