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
Create config.json
Browse files- config.json +10 -0
config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"InceptinV3ForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"hidden_act": "relu",
|
| 6 |
+
"id2label": {
|
| 7 |
+
"0": "Negative",
|
| 8 |
+
"1": "Positive"
|
| 9 |
+
}
|
| 10 |
+
}
|