opus-mt-pt-tl / generation_config.json
joaogante's picture
joaogante HF staff
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
fdb2af4
raw
history blame
293 Bytes
{
"bad_words_ids": [
[
59777
]
],
"bos_token_id": 0,
"decoder_start_token_id": 59777,
"eos_token_id": 0,
"forced_eos_token_id": 0,
"max_length": 512,
"num_beams": 6,
"pad_token_id": 59777,
"renormalize_logits": true,
"transformers_version": "4.32.0.dev0"
}