hanzi_huayu_translate / generation_config.json
linshoufan's picture
Upload MBartForConditionalGeneration
fe636fd verified
raw
history blame
256 Bytes
{
"_from_model_config": true,
"bos_token_id": 0,
"decoder_start_token_id": 2,
"early_stopping": true,
"eos_token_id": 2,
"forced_eos_token_id": 2,
"max_length": 200,
"num_beams": 5,
"pad_token_id": 1,
"transformers_version": "4.39.3"
}