FrancescoPeriti commited on
Commit
122bbcd
·
verified ·
1 Parent(s): 40120ff

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -130,7 +130,7 @@ with torch.no_grad():
130
  model_input[k] = torch.tensor(batch[k]).to('cuda')
131
 
132
  output_ids = lama2dictionary.generate(**model_input,
133
- max_length = max_length * batch_size,
134
  forced_eos_token_id = eos_tokens,
135
  max_time = max_time * batch_size,
136
  eos_token_id = eos_tokens,
 
130
  model_input[k] = torch.tensor(batch[k]).to('cuda')
131
 
132
  output_ids = lama2dictionary.generate(**model_input,
133
+ max_length = max_length,
134
  forced_eos_token_id = eos_tokens,
135
  max_time = max_time * batch_size,
136
  eos_token_id = eos_tokens,