23MATHQ_TrOCR-large / generation_config.json
SGpirr's picture
Upload model
81dcf93 verified
raw
history blame
329 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,
"max_new_tokens": 128,
"no_repeat_ngram_size": 3,
"num_beams": 4,
"pad_token_id": 1,
"transformers_version": "4.44.0",
"use_cache": false
}