Instructions to use Owos/tb-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Owos/tb-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Owos/tb-classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import InceptinV3ForImageClassification model = InceptinV3ForImageClassification.from_pretrained("Owos/tb-classifier", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +4 -1
config.json
CHANGED
|
@@ -6,5 +6,8 @@
|
|
| 6 |
"id2label": {
|
| 7 |
"0": "Negative",
|
| 8 |
"1": "Positive"
|
| 9 |
-
}
|
|
|
|
|
|
|
|
|
|
| 10 |
}
|
|
|
|
| 6 |
"id2label": {
|
| 7 |
"0": "Negative",
|
| 8 |
"1": "Positive"
|
| 9 |
+
},
|
| 10 |
+
"layer_type": "basic",
|
| 11 |
+
"model_type": "inception",
|
| 12 |
+
"transformers_version": "4.18.0.dev0"
|
| 13 |
}
|