|
{ |
|
"_name_or_path": "google/vit-large-patch16-224-in21k", |
|
"architectures": [ |
|
"ViTForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"encoder_stride": 16, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 1024, |
|
"id2label": { |
|
"0": "Actinic keratoses", |
|
"1": "Basal cell carcinoma", |
|
"10": "Melanoma", |
|
"11": "Monkeypox", |
|
"12": "Squamous cell carcinoma", |
|
"13": "Vascular lesions", |
|
"2": "Benign keratosis-like lesions", |
|
"3": "Chickenpox", |
|
"4": "Cowpox", |
|
"5": "Dermatofibroma", |
|
"6": "HFMD", |
|
"7": "Healthy", |
|
"8": "Measles", |
|
"9": "Melanocytic nevi" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 4096, |
|
"label2id": { |
|
"Actinic keratoses": "0", |
|
"Basal cell carcinoma": "1", |
|
"Benign keratosis-like lesions": "2", |
|
"Chickenpox": "3", |
|
"Cowpox": "4", |
|
"Dermatofibroma": "5", |
|
"HFMD": "6", |
|
"Healthy": "7", |
|
"Measles": "8", |
|
"Melanocytic nevi": "9", |
|
"Melanoma": "10", |
|
"Monkeypox": "11", |
|
"Squamous cell carcinoma": "12", |
|
"Vascular lesions": "13" |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"model_type": "vit", |
|
"num_attention_heads": 16, |
|
"num_channels": 3, |
|
"num_hidden_layers": 24, |
|
"patch_size": 16, |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.36.2" |
|
} |
|
|