vit-finetune-scrap / config.json
d071696's picture
Model save
580050a verified
raw
history blame
1.6 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": "carton boxes",
"1": "old newspapers",
"10": "used juice box",
"11": "used plastic bottles labels",
"2": "old newspapers with plastic bottles and plastic garbage",
"3": "paper boxes and plastic trash bags",
"4": "paper waste",
"5": "plastic bottles",
"6": "plastic bottles and plastic bags with paper boxes",
"7": "plastic bottles and plastic garbage",
"8": "plastic garbage",
"9": "plastic garbage and paper garbage"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"carton boxes": "0",
"old newspapers": "1",
"old newspapers with plastic bottles and plastic garbage": "2",
"paper boxes and plastic trash bags": "3",
"paper waste": "4",
"plastic bottles": "5",
"plastic bottles and plastic bags with paper boxes": "6",
"plastic bottles and plastic garbage": "7",
"plastic garbage": "8",
"plastic garbage and paper garbage": "9",
"used juice box": "10",
"used plastic bottles labels": "11"
},
"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.0"
}