kiseich commited on
Commit
1e15c2f
1 Parent(s): a626b75

fix number of tokens

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -87,7 +87,7 @@ for data in tqdm(datasets):
87
  outputs = model.generate(
88
  tokenized_input,
89
  attention_mask=attention_mask,
90
- max_new_tokens=512,
91
  do_sample=False,
92
  repetition_penalty=1.2,
93
  pad_token_id=tokenizer.eos_token_id
 
87
  outputs = model.generate(
88
  tokenized_input,
89
  attention_mask=attention_mask,
90
+ max_new_tokens=100,
91
  do_sample=False,
92
  repetition_penalty=1.2,
93
  pad_token_id=tokenizer.eos_token_id