FrancescoPeriti
commited on
Update README.md
Browse files
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
|
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,
|