{ | |
"_name_or_path": "openai/clip-vit-base-patch32", | |
"architectures": [ | |
"CLIPForImageClassification" | |
], | |
"id2label": { | |
"0": "apple", | |
"1": "banana", | |
"10": "cucumber", | |
"11": "eggplant", | |
"12": "garlic", | |
"13": "ginger", | |
"14": "grapes", | |
"15": "jalepeno", | |
"16": "kiwi", | |
"17": "lemon", | |
"18": "lettuce", | |
"19": "mango", | |
"2": "beetroot", | |
"20": "onion", | |
"21": "orange", | |
"22": "paprika", | |
"23": "pear", | |
"24": "peas", | |
"25": "pineapple", | |
"26": "pomegranate", | |
"27": "potato", | |
"28": "raddish", | |
"29": "soy beans", | |
"3": "bell pepper", | |
"30": "spinach", | |
"31": "sweetcorn", | |
"32": "sweetpotato", | |
"33": "tomato", | |
"34": "turnip", | |
"35": "watermelon", | |
"4": "cabbage", | |
"5": "capsicum", | |
"6": "carrot", | |
"7": "cauliflower", | |
"8": "chilli pepper", | |
"9": "corn" | |
}, | |
"initializer_factor": 1.0, | |
"label2id": { | |
"apple": "0", | |
"banana": "1", | |
"beetroot": "2", | |
"bell pepper": "3", | |
"cabbage": "4", | |
"capsicum": "5", | |
"carrot": "6", | |
"cauliflower": "7", | |
"chilli pepper": "8", | |
"corn": "9", | |
"cucumber": "10", | |
"eggplant": "11", | |
"garlic": "12", | |
"ginger": "13", | |
"grapes": "14", | |
"jalepeno": "15", | |
"kiwi": "16", | |
"lemon": "17", | |
"lettuce": "18", | |
"mango": "19", | |
"onion": "20", | |
"orange": "21", | |
"paprika": "22", | |
"pear": "23", | |
"peas": "24", | |
"pineapple": "25", | |
"pomegranate": "26", | |
"potato": "27", | |
"raddish": "28", | |
"soy beans": "29", | |
"spinach": "30", | |
"sweetcorn": "31", | |
"sweetpotato": "32", | |
"tomato": "33", | |
"turnip": "34", | |
"watermelon": "35" | |
}, | |
"logit_scale_init_value": 2.6592, | |
"model_type": "clip", | |
"problem_type": "single_label_classification", | |
"projection_dim": 512, | |
"text_config": { | |
"bos_token_id": 0, | |
"dropout": 0.0, | |
"eos_token_id": 2, | |
"model_type": "clip_text_model" | |
}, | |
"torch_dtype": "float32", | |
"transformers_version": "4.39.2", | |
"vision_config": { | |
"dropout": 0.0, | |
"model_type": "clip_vision_model" | |
} | |
} | |