trocr_TB17215 / generation_config.json
oodremxx's picture
Upload model
e4b7248
raw
history blame
281 Bytes
{
"_from_model_config": true,
"bos_token_id": 0,
"decoder_start_token_id": 0,
"early_stopping": true,
"eos_token_id": 2,
"length_penalty": 2.0,
"max_length": 10,
"no_repeat_ngram_size": 3,
"num_beams": 7,
"pad_token_id": 1,
"transformers_version": "4.26.1"
}