surya_layout / config.json
vikp's picture
Upload SegformerForRegressionMask
76a49ba verified
{
"_name_or_path": "vikp/layout3",
"architectures": [
"SegformerForRegressionMask"
],
"attention_probs_dropout_prob": 0.0,
"classifier_dropout_prob": 0.1,
"decoder_hidden_size": 768,
"decoder_layer_hidden_size": 192,
"decoder_upsample_rate": 2,
"depths": [
3,
4,
9,
3
],
"downsampling_rates": [
1,
4,
8,
16
],
"drop_path_rate": 0.1,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_sizes": [
64,
128,
320,
512
],
"id2label": {
"0": "Blank",
"1": "Caption",
"2": "Footnote",
"3": "Formula",
"4": "List-item",
"5": "Page-footer",
"6": "Page-header",
"7": "Picture",
"8": "Section-header",
"9": "Table",
"10": "Text",
"11": "Title"
},
"image_size": 224,
"initializer_range": 0.02,
"label2id": {
"Blank": 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": 11
},
"layer_norm_eps": 1e-06,
"mlp_ratios": [
4,
4,
4,
4
],
"model_type": "segformer",
"num_attention_heads": [
1,
2,
5,
8
],
"num_channels": 3,
"num_encoder_blocks": 4,
"patch_sizes": [
7,
3,
3,
3
],
"reshape_last_stage": true,
"semantic_loss_ignore_index": -1,
"sr_ratios": [
8,
4,
2,
1
],
"strides": [
4,
2,
2,
2
],
"torch_dtype": "float32",
"transformers_version": "4.36.2"
}