{ | |
"_name_or_path": "google/vit-base-patch16-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": "donuts", | |
"1": "hamburguer", | |
"2": "feijoada", | |
"3": "batatas_fritas", | |
"4": "esparguete_bolonhesa", | |
"5": "caldo_verde", | |
"6": "pasteis_bacalhau", | |
"7": "cozido_portuguesa", | |
"8": "jardineira", | |
"9": "arroz_cabidela", | |
"10": "nata", | |
"11": "croissant", | |
"12": "cachorro", | |
"13": "tripas_moda_porto", | |
"14": "aletria", | |
"15": "pizza", | |
"16": "bacalhau_natas", | |
"17": "ovo", | |
"18": "waffles", | |
"19": "francesinha", | |
"20": "bolo_chocolate", | |
"21": "gelado", | |
"22": "bacalhau_bras" | |
}, | |
"image_size": 224, | |
"initializer_range": 0.02, | |
"intermediate_size": 3072, | |
"label2id": { | |
"aletria": 14, | |
"arroz_cabidela": 9, | |
"bacalhau_bras": 22, | |
"bacalhau_natas": 16, | |
"batatas_fritas": 3, | |
"bolo_chocolate": 20, | |
"cachorro": 12, | |
"caldo_verde": 5, | |
"cozido_portuguesa": 7, | |
"croissant": 11, | |
"donuts": 0, | |
"esparguete_bolonhesa": 4, | |
"feijoada": 2, | |
"francesinha": 19, | |
"gelado": 21, | |
"hamburguer": 1, | |
"jardineira": 8, | |
"nata": 10, | |
"ovo": 17, | |
"pasteis_bacalhau": 6, | |
"pizza": 15, | |
"tripas_moda_porto": 13, | |
"waffles": 18 | |
}, | |
"layer_norm_eps": 1e-12, | |
"model_type": "vit", | |
"num_attention_heads": 12, | |
"num_channels": 3, | |
"num_hidden_layers": 12, | |
"patch_size": 16, | |
"problem_type": "single_label_classification", | |
"qkv_bias": true, | |
"torch_dtype": "float32", | |
"transformers_version": "4.33.2" | |
} | |