{ | |
"architectures": [ | |
"UdopForTokenClassification" | |
], | |
"d_ff": 4096, | |
"d_kv": 64, | |
"d_model": 1024, | |
"dense_act_fn": "relu", | |
"dropout_rate": 0.1, | |
"eos_token_id": 1, | |
"feed_forward_proj": "relu", | |
"id2label": { | |
"0": "Caption", | |
"1": "Footnote", | |
"2": "Formula", | |
"3": "List-item", | |
"4": "Page-footer", | |
"5": "Page-header", | |
"6": "Picture", | |
"7": "Section-header", | |
"8": "Table", | |
"9": "Text", | |
"10": "Title" | |
}, | |
"image_size": 224, | |
"initializer_factor": 1.0, | |
"is_encoder_decoder": true, | |
"is_gated_act": false, | |
"label2id": { | |
"Caption": 0, | |
"Footnote": 1, | |
"Formula": 2, | |
"List-item": 3, | |
"Page-footer": 4, | |
"Page-header": 5, | |
"Picture": 6, | |
"Section-header": 7, | |
"Table": 8, | |
"Text": 9, | |
"Title": 10 | |
}, | |
"layer_norm_epsilon": 1e-06, | |
"max_2d_position_embeddings": 1024, | |
"model_type": "udop", | |
"num_channels": 3, | |
"num_decoder_layers": 24, | |
"num_heads": 16, | |
"num_layers": 24, | |
"pad_token_id": 0, | |
"patch_size": 16, | |
"relative_attention_max_distance": 128, | |
"relative_attention_num_buckets": 32, | |
"relative_bias_args": [ | |
{ | |
"type": "1d" | |
}, | |
{ | |
"type": "horizontal" | |
}, | |
{ | |
"type": "vertical" | |
} | |
], | |
"torch_dtype": "float32", | |
"transformers_version": "4.39.0.dev0", | |
"use_cache": true, | |
"vocab_size": 33201 | |
} | |