{ | |
"_name_or_path": "google/vit-base-patch16-224", | |
"architectures": [ | |
"ViTForImageClassification" | |
], | |
"attention_probs_dropout_prob": 0.0, | |
"encoder_stride": 16, | |
"hidden_act": "gelu", | |
"hidden_dropout_prob": 0.0, | |
"hidden_size": 768, | |
"id2label": { | |
"0": "left", | |
"1": "right", | |
"2": "parietal", | |
"3": "temporal", | |
"4": "frontal", | |
"5": "occipital", | |
"6": "basal_ganglia", | |
"7": "necrotic", | |
"8": "cystic", | |
"9": "glioblastoma_multiforme", | |
"10": "astrocytoma", | |
"11": "glioma", | |
"12": "metastasis", | |
"13": "abscess", | |
"14": "dysembryoplastic_neuroepithelial_tumor" | |
}, | |
"image_size": 224, | |
"initializer_range": 0.02, | |
"intermediate_size": 3072, | |
"label2id": { | |
"abscess": 13, | |
"astrocytoma": 10, | |
"basal_ganglia": 6, | |
"cystic": 8, | |
"dysembryoplastic_neuroepithelial_tumor": 14, | |
"frontal": 4, | |
"glioblastoma_multiforme": 9, | |
"glioma": 11, | |
"left": 0, | |
"metastasis": 12, | |
"necrotic": 7, | |
"occipital": 5, | |
"parietal": 2, | |
"right": 1, | |
"temporal": 3 | |
}, | |
"layer_norm_eps": 1e-12, | |
"model_type": "vit", | |
"num_attention_heads": 12, | |
"num_channels": 3, | |
"num_hidden_layers": 12, | |
"patch_size": 16, | |
"problem_type": "multi_label_classification", | |
"qkv_bias": true, | |
"torch_dtype": "float32", | |
"transformers_version": "4.48.3" | |
} | |