trocr-kurrent / generation_config.json
Jonas Widmer
new model version
2a3575e
raw
history blame contribute delete
275 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": 128,
"num_beams": 4,
"pad_token_id": 1,
"transformers_version": "4.26.0",
"use_cache": false
}