{ | |
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224", | |
"architectures": [ | |
"SwinForImageClassification" | |
], | |
"attention_probs_dropout_prob": 0.0, | |
"depths": [ | |
2, | |
2, | |
6, | |
2 | |
], | |
"drop_path_rate": 0.1, | |
"embed_dim": 96, | |
"encoder_stride": 32, | |
"hidden_act": "gelu", | |
"hidden_dropout_prob": 0.0, | |
"hidden_size": 768, | |
"id2label": { | |
"0": "Afghanistan", | |
"1": "Albania", | |
"2": "Andorra", | |
"3": "Angola", | |
"4": "Argentina", | |
"5": "Armenia", | |
"6": "Australia", | |
"7": "Austria", | |
"8": "Azerbaijan", | |
"9": "Bahamas", | |
"10": "Bahrain", | |
"11": "Bangladesh", | |
"12": "Barbados", | |
"13": "Belarus", | |
"14": "Bhutan", | |
"15": "Bolivia", | |
"16": "Brazil", | |
"17": "Bulgaria", | |
"18": "Cambodia", | |
"19": "Canada", | |
"20": "CapeVerde", | |
"21": "Chile", | |
"22": "China", | |
"23": "Christmas Island", | |
"24": "Colombia", | |
"25": "Congo", | |
"26": "Cook Island", | |
"27": "Costa rica", | |
"28": "Cuba", | |
"29": "Cyprus", | |
"30": "Czech", | |
"31": "Democratic Republic of the Congo", | |
"32": "France", | |
"33": "German", | |
"34": "India", | |
"35": "Iran", | |
"36": "Iraq", | |
"37": "Israel", | |
"38": "Japan", | |
"39": "Jordan", | |
"40": "Laos", | |
"41": "Lebanon", | |
"42": "Malaysia", | |
"43": "Myanmar", | |
"44": "NewZealand", | |
"45": "NorthKoera", | |
"46": "Palestine", | |
"47": "Philippines", | |
"48": "Russia", | |
"49": "Saudi Arabia", | |
"50": "Singapore", | |
"51": "Slovakia", | |
"52": "SouthKoera", | |
"53": "Spain", | |
"54": "Sverige", | |
"55": "Switzerland", | |
"56": "Syrian", | |
"57": "Tailand", | |
"58": "The Central African Republic", | |
"59": "Turkey", | |
"60": "UK", | |
"61": "US", | |
"62": "Ukraine", | |
"63": "Vietnam" | |
}, | |
"image_size": 224, | |
"initializer_range": 0.02, | |
"label2id": { | |
"Afghanistan": 0, | |
"Albania": 1, | |
"Andorra": 2, | |
"Angola": 3, | |
"Argentina": 4, | |
"Armenia": 5, | |
"Australia": 6, | |
"Austria": 7, | |
"Azerbaijan": 8, | |
"Bahamas": 9, | |
"Bahrain": 10, | |
"Bangladesh": 11, | |
"Barbados": 12, | |
"Belarus": 13, | |
"Bhutan": 14, | |
"Bolivia": 15, | |
"Brazil": 16, | |
"Bulgaria": 17, | |
"Cambodia": 18, | |
"Canada": 19, | |
"CapeVerde": 20, | |
"Chile": 21, | |
"China": 22, | |
"Christmas Island": 23, | |
"Colombia": 24, | |
"Congo": 25, | |
"Cook Island": 26, | |
"Costa rica": 27, | |
"Cuba": 28, | |
"Cyprus": 29, | |
"Czech": 30, | |
"Democratic Republic of the Congo": 31, | |
"France": 32, | |
"German": 33, | |
"India": 34, | |
"Iran": 35, | |
"Iraq": 36, | |
"Israel": 37, | |
"Japan": 38, | |
"Jordan": 39, | |
"Laos": 40, | |
"Lebanon": 41, | |
"Malaysia": 42, | |
"Myanmar": 43, | |
"NewZealand": 44, | |
"NorthKoera": 45, | |
"Palestine": 46, | |
"Philippines": 47, | |
"Russia": 48, | |
"Saudi Arabia": 49, | |
"Singapore": 50, | |
"Slovakia": 51, | |
"SouthKoera": 52, | |
"Spain": 53, | |
"Sverige": 54, | |
"Switzerland": 55, | |
"Syrian": 56, | |
"Tailand": 57, | |
"The Central African Republic": 58, | |
"Turkey": 59, | |
"UK": 60, | |
"US": 61, | |
"Ukraine": 62, | |
"Vietnam": 63 | |
}, | |
"layer_norm_eps": 1e-05, | |
"mlp_ratio": 4.0, | |
"model_type": "swin", | |
"num_channels": 3, | |
"num_heads": [ | |
3, | |
6, | |
12, | |
24 | |
], | |
"num_layers": 4, | |
"patch_size": 4, | |
"path_norm": true, | |
"problem_type": "single_label_classification", | |
"qkv_bias": true, | |
"torch_dtype": "float32", | |
"transformers_version": "4.21.1", | |
"use_absolute_embeddings": false, | |
"window_size": 7 | |
} | |