{ | |
"_name_or_path": "Xrenya/pvt-small-224", | |
"architectures": [ | |
"PvtForImageClassification" | |
], | |
"attention_probs_dropout_prob": 0.0, | |
"depths": [ | |
3, | |
4, | |
6, | |
3 | |
], | |
"drop_path_rate": 0.0, | |
"hidden_act": "gelu", | |
"hidden_dropout_prob": 0.0, | |
"hidden_sizes": [ | |
64, | |
128, | |
320, | |
512 | |
], | |
"id2label": { | |
"0": "ASCUS", | |
"1": "Cancer", | |
"2": "HSIL", | |
"3": "LSIL", | |
"4": "NILM", | |
"5": "Non-Diagnostic" | |
}, | |
"image_size": 224, | |
"initializer_range": 0.02, | |
"label2id": { | |
"ASCUS": 0, | |
"Cancer": 1, | |
"HSIL": 2, | |
"LSIL": 3, | |
"NILM": 4, | |
"Non-Diagnostic": 5 | |
}, | |
"layer_norm_eps": 1e-06, | |
"mlp_ratios": [ | |
8, | |
8, | |
4, | |
4 | |
], | |
"model_type": "pvt", | |
"num_attention_heads": [ | |
1, | |
2, | |
5, | |
8 | |
], | |
"num_channels": 3, | |
"num_encoder_blocks": 4, | |
"patch_sizes": [ | |
4, | |
2, | |
2, | |
2 | |
], | |
"problem_type": "single_label_classification", | |
"qkv_bias": true, | |
"reshape_last_stage": true, | |
"sequence_reduction_ratios": [ | |
8, | |
4, | |
2, | |
1 | |
], | |
"sr_ratios": [ | |
8, | |
4, | |
2, | |
1 | |
], | |
"strides": [ | |
4, | |
2, | |
2, | |
2 | |
], | |
"torch_dtype": "float32", | |
"transformers_version": "4.44.2" | |
} | |