fufufukakaka's picture
Upload config.json with huggingface_hub
7aefb75
raw
history blame
12.8 kB
{
"_name_or_path": "microsoft/swin-base-patch4-window7-224-in22k",
"architectures": [
"SwinForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"depths": [
2,
2,
18,
2
],
"drop_path_rate": 0.1,
"embed_dim": 128,
"encoder_stride": 32,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 1024,
"id2label": {
"0": "\u30a2\u30de\u30fc\u30b8\u30e7",
"1": "\u30a2\u30e1\u30e2\u30fc\u30b9",
"2": "\u30a2\u30e9\u30d6\u30eb\u30bf\u30b1",
"3": "\u30a2\u30fc\u30de\u30fc\u30ac\u30a2",
"4": "\u30a4\u30a8\u30c3\u30b5\u30f3",
"5": "\u30a4\u30ad\u30ea\u30f3\u30b3",
"6": "\u30a4\u30c0\u30a4\u30ca\u30ad\u30d0",
"7": "\u30a4\u30eb\u30ab\u30de\u30f3",
"8": "\u30a4\u30fc\u30e6\u30a4",
"9": "\u30a6\u30a4\u30f3\u30c7\u30a3",
"10": "\u30a6\u30a7\u30fc\u30cb\u30d0\u30eb",
"11": "\u30a6\u30a9\u30c3\u30b7\u30e5\u30ed\u30c8\u30e0",
"12": "\u30a6\u30eb\u30ac\u30e2\u30b9",
"13": "\u30a6\u30fc\u30e9\u30aa\u30b9",
"14": "\u30a8\u30eb\u30ec\u30a4\u30c9",
"15": "\u30a8\u30f3\u30cb\u30e5\u30fc\u30c8",
"16": "\u30a8\u30fc\u30d5\u30a3",
"17": "\u30aa\u30c8\u30b7\u30c9\u30ea",
"18": "\u30aa\u30cb\u30b4\u30fc\u30ea",
"19": "\u30aa\u30ce\u30ce\u30af\u30b9",
"20": "\u30aa\u30ea\u30fc\u30f4\u30a1",
"21": "\u30aa\u30fc\u30ed\u30f3\u30b2",
"22": "\u30ab\u30a4\u30ea\u30e5\u30fc",
"23": "\u30ab\u30c3\u30c8\u30ed\u30c8\u30e0",
"24": "\u30ab\u30d0\u30eb\u30c9\u30f3",
"25": "\u30ab\u30e9\u30df\u30f3\u30b4",
"26": "\u30ac\u30c1\u30b0\u30de",
"27": "\u30ac\u30d6\u30ea\u30a2\u30b9",
"28": "\u30ad\u30ce\u30ac\u30c3\u30b5",
"29": "\u30ad\u30e7\u30b8\u30aa\u30fc\u30f3",
"30": "\u30ad\u30e9\u30d5\u30ed\u30eb",
"31": "\u30ae\u30e3\u30e9\u30c9\u30b9",
"32": "\u30af\u30a8\u30b9\u30d1\u30c8\u30e9",
"33": "\u30af\u30ec\u30d9\u30fc\u30b9",
"34": "\u30b0\u30ec\u30f3\u30a2\u30eb\u30de",
"35": "\u30b2\u30f3\u30ac\u30fc",
"36": "\u30b3\u30ce\u30e8\u30b6\u30eb",
"37": "\u30b3\u30fc\u30bf\u30b9",
"38": "\u30b4\u30c1\u30eb\u30bc\u30eb",
"39": "\u30b5\u30b1\u30d6\u30b7\u30c3\u30dd",
"40": "\u30b5\u30b6\u30f3\u30c9\u30e9",
"41": "\u30b5\u30f3\u30c0\u30fc",
"42": "\u30b5\u30fc\u30ca\u30a4\u30c8",
"43": "\u30b5\u30fc\u30d5\u30b4\u30fc",
"44": "\u30b7\u30d3\u30eb\u30c9\u30f3",
"45": "\u30b7\u30e3\u30ef\u30fc\u30ba",
"46": "\u30b8\u30d0\u30b3\u30a4\u30eb",
"47": "\u30b9\u30b3\u30f4\u30a3\u30e9\u30f3",
"48": "\u30b9\u30c8\u30ea\u30f3\u30c0\u30fc",
"49": "\u30b9\u30ca\u30ce\u30b1\u30ac\u30ef",
"50": "\u30bb\u30b0\u30ec\u30a4\u30d6",
"51": "\u30bd\u30a6\u30d6\u30ec\u30a4\u30ba",
"52": "\u30be\u30ed\u30a2\u30fc\u30af",
"53": "\u30bf\u30a4\u30ab\u30a4\u30c7\u30f3",
"54": "\u30bf\u30ae\u30f3\u30b0\u30eb",
"55": "\u30bf\u30eb\u30c3\u30d7\u30eb",
"56": "\u30c1\u30aa\u30f3\u30b8\u30a7\u30f3",
"57": "\u30c1\u30e3\u30fc\u30ec\u30e0",
"58": "\u30c1\u30eb\u30bf\u30ea\u30b9",
"59": "\u30c1\u30f2\u30cf\u30a6\u30cf\u30cd",
"60": "\u30c6\u30c4\u30ce\u30ab\u30a4\u30ca",
"61": "\u30c6\u30c4\u30ce\u30c4\u30c4\u30df",
"62": "\u30c6\u30c4\u30ce\u30c9\u30af\u30ac",
"63": "\u30c6\u30c4\u30ce\u30d6\u30b8\u30f3",
"64": "\u30c6\u30c4\u30ce\u30ef\u30c0\u30c1",
"65": "\u30c7\u30a3\u30f3\u30eb\u30fc",
"66": "\u30c7\u30ab\u30cc\u30c1\u30e3\u30f3",
"67": "\u30c8\u30c9\u30ed\u30af\u30c4\u30ad",
"68": "\u30c8\u30ea\u30c8\u30c9\u30f3",
"69": "\u30c9\u30aa\u30fc",
"70": "\u30c9\u30c9\u30b2\u30b6\u30f3",
"71": "\u30c9\u30d2\u30c9\u30a4\u30c7",
"72": "\u30c9\u30e9\u30d1\u30eb\u30c8",
"73": "\u30c9\u30f3\u30d5\u30a1\u30f3",
"74": "\u30c9\u30fc\u30bf\u30af\u30f3",
"75": "\u30cb\u30f3\u30d5\u30a3\u30a2",
"76": "\u30cc\u30e1\u30eb\u30b4\u30f3",
"77": "\u30ce\u30b3\u30b3\u30c3\u30c1",
"78": "\u30cf\u30ab\u30c9\u30c3\u30b0",
"79": "\u30cf\u30c3\u30b5\u30e0",
"80": "\u30cf\u30d0\u30bf\u30af\u30ab\u30df",
"81": "\u30cf\u30d4\u30ca\u30b9",
"82": "\u30cf\u30e9\u30d0\u30ea\u30fc",
"83": "\u30cf\u30ea\u30c6\u30e4\u30de",
"84": "\u30cf\u30ea\u30fc\u30de\u30f3",
"85": "\u30cf\u30eb\u30af\u30b8\u30e9",
"86": "\u30d0\u30f3\u30ae\u30e9\u30b9",
"87": "\u30d0\u30f3\u30d0\u30c9\u30ed",
"88": "\u30d1\u30aa\u30b8\u30a2\u30f3",
"89": "\u30d1\u30eb\u30b7\u30a7\u30f3",
"90": "\u30d1\u30eb\u30c7\u30a2\u30b1\u30f3\u30bf\u30ed\u30b9\u6c34",
"91": "\u30d1\u30fc\u30e2\u30c3\u30c8",
"92": "\u30d2\u30b9\u30a4\u30c9\u30ec\u30c7\u30a3\u30a2",
"93": "\u30d2\u30b9\u30a4\u30cc\u30e1\u30eb\u30b4\u30f3",
"94": "\u30d2\u30fc\u30c8\u30ed\u30c8\u30e0",
"95": "\u30d2\u30fc\u30c9\u30e9\u30f3",
"96": "\u30d4\u30ab\u30c1\u30e5\u30a6",
"97": "\u30d5\u30a1\u30a4\u30a2\u30ed\u30fc",
"98": "\u30d5\u30a9\u30ec\u30c8\u30b9",
"99": "\u30d5\u30e9\u30fc\u30b8\u30a7\u30b9",
"100": "\u30d5\u30ea\u30fc\u30b8\u30aa",
"101": "\u30d5\u30ef\u30e9\u30a4\u30c9",
"102": "\u30d6\u30e9\u30c3\u30ad\u30fc",
"103": "\u30d6\u30ea\u30e0\u30aa\u30f3",
"104": "\u30d6\u30ed\u30ed\u30ed\u30fc\u30e0",
"105": "\u30d8\u30a4\u30e9\u30c3\u30b7\u30e3",
"106": "\u30d9\u30c8\u30d9\u30c8\u30f3",
"107": "\u30da\u30ea\u30c3\u30d1\u30fc",
"108": "\u30da\u30eb\u30b7\u30a2\u30f3",
"109": "\u30de\u30b9\u30ab\u30fc\u30cb\u30e3",
"110": "\u30de\u30de\u30f3\u30dc\u30a6",
"111": "\u30de\u30ea\u30eb\u30ea",
"112": "\u30de\u30eb\u30ce\u30fc\u30e0",
"113": "\u30df\u30df\u30ba\u30ba",
"114": "\u30df\u30df\u30c3\u30ad\u30e5",
"115": "\u30e0\u30af\u30db\u30fc\u30af",
"116": "\u30e1\u30bf\u30e2\u30f3",
"117": "\u30e2\u30ed\u30d0\u30ec\u30eb",
"118": "\u30e4\u30c9\u30e9\u30f3",
"119": "\u30e4\u30df\u30e9\u30df",
"120": "\u30e4\u30eb\u30ad\u30e2\u30ce",
"121": "\u30e9\u30a4\u30c1\u30e5\u30a6",
"122": "\u30e9\u30a6\u30c9\u30dc\u30fc\u30f3",
"123": "\u30e9\u30c3\u30ad\u30fc",
"124": "\u30ea\u30ad\u30ad\u30ea\u30f3",
"125": "\u30ea\u30af\u30af\u30e9\u30b2",
"126": "\u30ea\u30f3\u30b0\u30de",
"127": "\u30eb\u30ab\u30ea\u30aa",
"128": "\u30eb\u30ac\u30eb\u30ac\u30f3\u305f\u305d\u304c\u308c",
"129": "\u30eb\u30c1\u30e3\u30d6\u30eb",
"130": "\u970a\u7363\u30dc\u30eb\u30c8\u30ed\u30b9",
"131": "\u970a\u7363\u30e9\u30f3\u30c9\u30ed\u30b9"
},
"image_size": 224,
"initializer_range": 0.02,
"label2id": {
"\u30a2\u30de\u30fc\u30b8\u30e7": 0,
"\u30a2\u30e1\u30e2\u30fc\u30b9": 1,
"\u30a2\u30e9\u30d6\u30eb\u30bf\u30b1": 2,
"\u30a2\u30fc\u30de\u30fc\u30ac\u30a2": 3,
"\u30a4\u30a8\u30c3\u30b5\u30f3": 4,
"\u30a4\u30ad\u30ea\u30f3\u30b3": 5,
"\u30a4\u30c0\u30a4\u30ca\u30ad\u30d0": 6,
"\u30a4\u30eb\u30ab\u30de\u30f3": 7,
"\u30a4\u30fc\u30e6\u30a4": 8,
"\u30a6\u30a4\u30f3\u30c7\u30a3": 9,
"\u30a6\u30a7\u30fc\u30cb\u30d0\u30eb": 10,
"\u30a6\u30a9\u30c3\u30b7\u30e5\u30ed\u30c8\u30e0": 11,
"\u30a6\u30eb\u30ac\u30e2\u30b9": 12,
"\u30a6\u30fc\u30e9\u30aa\u30b9": 13,
"\u30a8\u30eb\u30ec\u30a4\u30c9": 14,
"\u30a8\u30f3\u30cb\u30e5\u30fc\u30c8": 15,
"\u30a8\u30fc\u30d5\u30a3": 16,
"\u30aa\u30c8\u30b7\u30c9\u30ea": 17,
"\u30aa\u30cb\u30b4\u30fc\u30ea": 18,
"\u30aa\u30ce\u30ce\u30af\u30b9": 19,
"\u30aa\u30ea\u30fc\u30f4\u30a1": 20,
"\u30aa\u30fc\u30ed\u30f3\u30b2": 21,
"\u30ab\u30a4\u30ea\u30e5\u30fc": 22,
"\u30ab\u30c3\u30c8\u30ed\u30c8\u30e0": 23,
"\u30ab\u30d0\u30eb\u30c9\u30f3": 24,
"\u30ab\u30e9\u30df\u30f3\u30b4": 25,
"\u30ac\u30c1\u30b0\u30de": 26,
"\u30ac\u30d6\u30ea\u30a2\u30b9": 27,
"\u30ad\u30ce\u30ac\u30c3\u30b5": 28,
"\u30ad\u30e7\u30b8\u30aa\u30fc\u30f3": 29,
"\u30ad\u30e9\u30d5\u30ed\u30eb": 30,
"\u30ae\u30e3\u30e9\u30c9\u30b9": 31,
"\u30af\u30a8\u30b9\u30d1\u30c8\u30e9": 32,
"\u30af\u30ec\u30d9\u30fc\u30b9": 33,
"\u30b0\u30ec\u30f3\u30a2\u30eb\u30de": 34,
"\u30b2\u30f3\u30ac\u30fc": 35,
"\u30b3\u30ce\u30e8\u30b6\u30eb": 36,
"\u30b3\u30fc\u30bf\u30b9": 37,
"\u30b4\u30c1\u30eb\u30bc\u30eb": 38,
"\u30b5\u30b1\u30d6\u30b7\u30c3\u30dd": 39,
"\u30b5\u30b6\u30f3\u30c9\u30e9": 40,
"\u30b5\u30f3\u30c0\u30fc": 41,
"\u30b5\u30fc\u30ca\u30a4\u30c8": 42,
"\u30b5\u30fc\u30d5\u30b4\u30fc": 43,
"\u30b7\u30d3\u30eb\u30c9\u30f3": 44,
"\u30b7\u30e3\u30ef\u30fc\u30ba": 45,
"\u30b8\u30d0\u30b3\u30a4\u30eb": 46,
"\u30b9\u30b3\u30f4\u30a3\u30e9\u30f3": 47,
"\u30b9\u30c8\u30ea\u30f3\u30c0\u30fc": 48,
"\u30b9\u30ca\u30ce\u30b1\u30ac\u30ef": 49,
"\u30bb\u30b0\u30ec\u30a4\u30d6": 50,
"\u30bd\u30a6\u30d6\u30ec\u30a4\u30ba": 51,
"\u30be\u30ed\u30a2\u30fc\u30af": 52,
"\u30bf\u30a4\u30ab\u30a4\u30c7\u30f3": 53,
"\u30bf\u30ae\u30f3\u30b0\u30eb": 54,
"\u30bf\u30eb\u30c3\u30d7\u30eb": 55,
"\u30c1\u30aa\u30f3\u30b8\u30a7\u30f3": 56,
"\u30c1\u30e3\u30fc\u30ec\u30e0": 57,
"\u30c1\u30eb\u30bf\u30ea\u30b9": 58,
"\u30c1\u30f2\u30cf\u30a6\u30cf\u30cd": 59,
"\u30c6\u30c4\u30ce\u30ab\u30a4\u30ca": 60,
"\u30c6\u30c4\u30ce\u30c4\u30c4\u30df": 61,
"\u30c6\u30c4\u30ce\u30c9\u30af\u30ac": 62,
"\u30c6\u30c4\u30ce\u30d6\u30b8\u30f3": 63,
"\u30c6\u30c4\u30ce\u30ef\u30c0\u30c1": 64,
"\u30c7\u30a3\u30f3\u30eb\u30fc": 65,
"\u30c7\u30ab\u30cc\u30c1\u30e3\u30f3": 66,
"\u30c8\u30c9\u30ed\u30af\u30c4\u30ad": 67,
"\u30c8\u30ea\u30c8\u30c9\u30f3": 68,
"\u30c9\u30aa\u30fc": 69,
"\u30c9\u30c9\u30b2\u30b6\u30f3": 70,
"\u30c9\u30d2\u30c9\u30a4\u30c7": 71,
"\u30c9\u30e9\u30d1\u30eb\u30c8": 72,
"\u30c9\u30f3\u30d5\u30a1\u30f3": 73,
"\u30c9\u30fc\u30bf\u30af\u30f3": 74,
"\u30cb\u30f3\u30d5\u30a3\u30a2": 75,
"\u30cc\u30e1\u30eb\u30b4\u30f3": 76,
"\u30ce\u30b3\u30b3\u30c3\u30c1": 77,
"\u30cf\u30ab\u30c9\u30c3\u30b0": 78,
"\u30cf\u30c3\u30b5\u30e0": 79,
"\u30cf\u30d0\u30bf\u30af\u30ab\u30df": 80,
"\u30cf\u30d4\u30ca\u30b9": 81,
"\u30cf\u30e9\u30d0\u30ea\u30fc": 82,
"\u30cf\u30ea\u30c6\u30e4\u30de": 83,
"\u30cf\u30ea\u30fc\u30de\u30f3": 84,
"\u30cf\u30eb\u30af\u30b8\u30e9": 85,
"\u30d0\u30f3\u30ae\u30e9\u30b9": 86,
"\u30d0\u30f3\u30d0\u30c9\u30ed": 87,
"\u30d1\u30aa\u30b8\u30a2\u30f3": 88,
"\u30d1\u30eb\u30b7\u30a7\u30f3": 89,
"\u30d1\u30eb\u30c7\u30a2\u30b1\u30f3\u30bf\u30ed\u30b9\u6c34": 90,
"\u30d1\u30fc\u30e2\u30c3\u30c8": 91,
"\u30d2\u30b9\u30a4\u30c9\u30ec\u30c7\u30a3\u30a2": 92,
"\u30d2\u30b9\u30a4\u30cc\u30e1\u30eb\u30b4\u30f3": 93,
"\u30d2\u30fc\u30c8\u30ed\u30c8\u30e0": 94,
"\u30d2\u30fc\u30c9\u30e9\u30f3": 95,
"\u30d4\u30ab\u30c1\u30e5\u30a6": 96,
"\u30d5\u30a1\u30a4\u30a2\u30ed\u30fc": 97,
"\u30d5\u30a9\u30ec\u30c8\u30b9": 98,
"\u30d5\u30e9\u30fc\u30b8\u30a7\u30b9": 99,
"\u30d5\u30ea\u30fc\u30b8\u30aa": 100,
"\u30d5\u30ef\u30e9\u30a4\u30c9": 101,
"\u30d6\u30e9\u30c3\u30ad\u30fc": 102,
"\u30d6\u30ea\u30e0\u30aa\u30f3": 103,
"\u30d6\u30ed\u30ed\u30ed\u30fc\u30e0": 104,
"\u30d8\u30a4\u30e9\u30c3\u30b7\u30e3": 105,
"\u30d9\u30c8\u30d9\u30c8\u30f3": 106,
"\u30da\u30ea\u30c3\u30d1\u30fc": 107,
"\u30da\u30eb\u30b7\u30a2\u30f3": 108,
"\u30de\u30b9\u30ab\u30fc\u30cb\u30e3": 109,
"\u30de\u30de\u30f3\u30dc\u30a6": 110,
"\u30de\u30ea\u30eb\u30ea": 111,
"\u30de\u30eb\u30ce\u30fc\u30e0": 112,
"\u30df\u30df\u30ba\u30ba": 113,
"\u30df\u30df\u30c3\u30ad\u30e5": 114,
"\u30e0\u30af\u30db\u30fc\u30af": 115,
"\u30e1\u30bf\u30e2\u30f3": 116,
"\u30e2\u30ed\u30d0\u30ec\u30eb": 117,
"\u30e4\u30c9\u30e9\u30f3": 118,
"\u30e4\u30df\u30e9\u30df": 119,
"\u30e4\u30eb\u30ad\u30e2\u30ce": 120,
"\u30e9\u30a4\u30c1\u30e5\u30a6": 121,
"\u30e9\u30a6\u30c9\u30dc\u30fc\u30f3": 122,
"\u30e9\u30c3\u30ad\u30fc": 123,
"\u30ea\u30ad\u30ad\u30ea\u30f3": 124,
"\u30ea\u30af\u30af\u30e9\u30b2": 125,
"\u30ea\u30f3\u30b0\u30de": 126,
"\u30eb\u30ab\u30ea\u30aa": 127,
"\u30eb\u30ac\u30eb\u30ac\u30f3\u305f\u305d\u304c\u308c": 128,
"\u30eb\u30c1\u30e3\u30d6\u30eb": 129,
"\u970a\u7363\u30dc\u30eb\u30c8\u30ed\u30b9": 130,
"\u970a\u7363\u30e9\u30f3\u30c9\u30ed\u30b9": 131
},
"layer_norm_eps": 1e-05,
"mlp_ratio": 4.0,
"model_type": "swin",
"num_channels": 3,
"num_heads": [
4,
8,
16,
32
],
"num_layers": 4,
"out_features": [
"stage4"
],
"out_indices": [
4
],
"patch_size": 4,
"path_norm": true,
"problem_type": "single_label_classification",
"qkv_bias": true,
"stage_names": [
"stem",
"stage1",
"stage2",
"stage3",
"stage4"
],
"torch_dtype": "float32",
"transformers_version": "4.29.0",
"use_absolute_embeddings": false,
"window_size": 7
}