vit-base-pets / config.json
OmAlve's picture
better evaluation and only trained the classifier layer
934882f verified
{
"_name_or_path": "google/vit-base-patch16-224",
"architectures": [
"ViTForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"encoder_stride": 16,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "american pit bull terrier dog",
"1": "Maine Coon cat",
"10": "german shorthaired dog",
"11": "Abyssinian cat",
"12": "havanese dog",
"13": "pomeranian dog",
"14": "newfoundland dog",
"15": "Egyptian Mau cat",
"16": "Russian Blue cat",
"17": "Bombay cat",
"18": "leonberger dog",
"19": "Persian cat",
"2": "english setter dog",
"20": "samoyed dog",
"21": "keeshond dog",
"22": "scottish terrier dog",
"23": "shiba inu dog",
"24": "staffordshire bull terrier dog",
"25": "basset hound dog",
"26": "Siamese cat",
"27": "pug dog",
"28": "miniature pinscher dog",
"29": "japanese chin dog",
"3": "Birman cat",
"30": "chihuahua dog",
"31": "Bengal cat",
"32": "beagle dog",
"33": "Sphynx cat",
"34": "saint bernard dog",
"35": "Ragdoll cat",
"36": "boxer dog",
"4": "wheaten terrier dog",
"5": "great pyrenees dog",
"6": "american bulldog dog",
"7": "english cocker spaniel dog",
"8": "British Shorthair cat",
"9": "yorkshire terrier dog"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Abyssinian cat": "11",
"Bengal cat": "31",
"Birman cat": "3",
"Bombay cat": "17",
"British Shorthair cat": "8",
"Egyptian Mau cat": "15",
"Maine Coon cat": "1",
"Persian cat": "19",
"Ragdoll cat": "35",
"Russian Blue cat": "16",
"Siamese cat": "26",
"Sphynx cat": "33",
"american bulldog dog": "6",
"american pit bull terrier dog": "0",
"basset hound dog": "25",
"beagle dog": "32",
"boxer dog": "36",
"chihuahua dog": "30",
"english cocker spaniel dog": "7",
"english setter dog": "2",
"german shorthaired dog": "10",
"great pyrenees dog": "5",
"havanese dog": "12",
"japanese chin dog": "29",
"keeshond dog": "21",
"leonberger dog": "18",
"miniature pinscher dog": "28",
"newfoundland dog": "14",
"pomeranian dog": "13",
"pug dog": "27",
"saint bernard dog": "34",
"samoyed dog": "20",
"scottish terrier dog": "22",
"shiba inu dog": "23",
"staffordshire bull terrier dog": "24",
"wheaten terrier dog": "4",
"yorkshire terrier dog": "9"
},
"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.39.2"
}