scribbl-scan / config.json
ericvo's picture
Upload folder using huggingface_hub (#1)
3afb1bf
raw
history blame
1.78 kB
{
"_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": "$",
"1": "&",
"10": "8",
"11": "9",
"12": "@",
"13": "A",
"14": "B",
"15": "C",
"16": "D",
"17": "E",
"18": "F",
"19": "G",
"2": "0",
"20": "H",
"21": "I",
"22": "J",
"23": "K",
"24": "L",
"25": "M",
"26": "N",
"27": "P",
"28": "Q",
"29": "R",
"3": "1",
"30": "S",
"31": "T",
"32": "U",
"33": "V",
"34": "W",
"35": "X",
"36": "Y",
"37": "Z",
"4": "2",
"5": "3",
"6": "4",
"7": "5",
"8": "6",
"9": "7"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"$": "0",
"&": "1",
"0": "2",
"1": "3",
"2": "4",
"3": "5",
"4": "6",
"5": "7",
"6": "8",
"7": "9",
"8": "10",
"9": "11",
"@": "12",
"A": "13",
"B": "14",
"C": "15",
"D": "16",
"E": "17",
"F": "18",
"G": "19",
"H": "20",
"I": "21",
"J": "22",
"K": "23",
"L": "24",
"M": "25",
"N": "26",
"P": "27",
"Q": "28",
"R": "29",
"S": "30",
"T": "31",
"U": "32",
"V": "33",
"W": "34",
"X": "35",
"Y": "36",
"Z": "37"
},
"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.31.0"
}