Instructions to use jays009/Restnet50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jays009/Restnet50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jays009/Restnet50") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jays009/Restnet50", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +7 -1
config.json
CHANGED
|
@@ -1 +1,7 @@
|
|
| 1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": ["ResNet50"],
|
| 3 |
+
"model_type": "resnet",
|
| 4 |
+
"input_ids": "image",
|
| 5 |
+
"task": "image-classification",
|
| 6 |
+
"framework": "pytorch"
|
| 7 |
+
}
|