{ | |
"_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": "a", | |
"1": "b", | |
"10": "j", | |
"11": "k", | |
"12": "l", | |
"13": "m", | |
"14": "n", | |
"15": "o", | |
"16": "p", | |
"17": "period", | |
"18": "q", | |
"19": "question%20mark", | |
"2": "c", | |
"20": "r", | |
"21": "s", | |
"22": "t", | |
"23": "u", | |
"24": "v", | |
"25": "w", | |
"26": "x", | |
"27": "y", | |
"28": "z", | |
"3": "capital", | |
"4": "d", | |
"5": "e", | |
"6": "f", | |
"7": "g", | |
"8": "h", | |
"9": "i" | |
}, | |
"image_size": 224, | |
"initializer_range": 0.02, | |
"intermediate_size": 3072, | |
"label2id": { | |
"a": "0", | |
"b": "1", | |
"c": "2", | |
"capital": "3", | |
"d": "4", | |
"e": "5", | |
"f": "6", | |
"g": "7", | |
"h": "8", | |
"i": "9", | |
"j": "10", | |
"k": "11", | |
"l": "12", | |
"m": "13", | |
"n": "14", | |
"o": "15", | |
"p": "16", | |
"period": "17", | |
"q": "18", | |
"question%20mark": "19", | |
"r": "20", | |
"s": "21", | |
"t": "22", | |
"u": "23", | |
"v": "24", | |
"w": "25", | |
"x": "26", | |
"y": "27", | |
"z": "28" | |
}, | |
"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.30.2" | |
} | |