bart-large-cnn / generation_config_for_summarization.json
joaogante's picture
joaogante HF staff
Adding generation config file(s)
3d22493
raw
history blame contribute delete
363 Bytes
{
"_from_model_config": true,
"bos_token_id": 0,
"decoder_start_token_id": 2,
"early_stopping": true,
"eos_token_id": 2,
"forced_bos_token_id": 0,
"forced_eos_token_id": 2,
"length_penalty": 2.0,
"max_length": 142,
"min_length": 56,
"no_repeat_ngram_size": 3,
"num_beams": 4,
"pad_token_id": 1,
"transformers_version": "4.27.0.dev0"
}