vit-sem-classification / config.json
t0m-R
Upload ViT-B/32 SEM classification model
4d00fc9
{
"_name_or_path": "google/vit-base-patch32-224-in21k",
"architectures": [
"ViTForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"encoder_stride": 16,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "Porous_Sponge",
"1": "Patterned_surface",
"2": "Particles",
"3": "Films_Coated_Surface",
"4": "Powder",
"5": "Tips",
"6": "Nanowires",
"7": "Biological",
"8": "MEMS_devices_and_electrodes",
"9": "Fibres"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Porous_Sponge": "0",
"Patterned_surface": "1",
"Particles": "2",
"Films_Coated_Surface": "3",
"Powder": "4",
"Tips": "5",
"Nanowires": "6",
"Biological": "7",
"MEMS_devices_and_electrodes": "8",
"Fibres": "9"
},
"layer_norm_eps": 1e-12,
"model_type": "vit",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"patch_size": 32,
"problem_type": "single_label_classification",
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.41.2"
}