Instructions to use itsTomLie/Jaundice_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use itsTomLie/Jaundice_Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="itsTomLie/Jaundice_Classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("itsTomLie/Jaundice_Classifier") model = AutoModelForImageClassification.from_pretrained("itsTomLie/Jaundice_Classifier") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +9 -1
config.json
CHANGED
|
@@ -19,5 +19,13 @@
|
|
| 19 |
"patch_size": 16,
|
| 20 |
"qkv_bias": true,
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
-
"transformers_version": "4.44.2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
}
|
|
|
|
| 19 |
"patch_size": 16,
|
| 20 |
"qkv_bias": true,
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
+
"transformers_version": "4.44.2",
|
| 23 |
+
"id2label": {
|
| 24 |
+
"0": "Jaundiced Eyes",
|
| 25 |
+
"1": "Normal Eyes"
|
| 26 |
+
},
|
| 27 |
+
"label2id": {
|
| 28 |
+
"Jaundiced Eyes": 0,
|
| 29 |
+
"Normal Eyes": 1
|
| 30 |
+
}
|
| 31 |
}
|