{ "_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": "FreshApple", "1": "FreshBanana", "10": "RottenApple", "11": "RottenBanana", "12": "RottenBellpepper", "13": "RottenCarrot", "14": "RottenCucumber", "15": "RottenMango", "16": "RottenOrange", "17": "RottenPotato", "18": "RottenStrawberry", "19": "RottenTomato", "2": "FreshBellpepper", "3": "FreshCarrot", "4": "FreshCucumber", "5": "FreshMango", "6": "FreshOrange", "7": "FreshPotato", "8": "FreshStrawberry", "9": "FreshTomato" }, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "FreshApple": "0", "FreshBanana": "1", "FreshBellpepper": "2", "FreshCarrot": "3", "FreshCucumber": "4", "FreshMango": "5", "FreshOrange": "6", "FreshPotato": "7", "FreshStrawberry": "8", "FreshTomato": "9", "RottenApple": "10", "RottenBanana": "11", "RottenBellpepper": "12", "RottenCarrot": "13", "RottenCucumber": "14", "RottenMango": "15", "RottenOrange": "16", "RottenPotato": "17", "RottenStrawberry": "18", "RottenTomato": "19" }, "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.48.2" }