Instructions to use changsu/testmodel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use changsu/testmodel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="changsu/testmodel") 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("changsu/testmodel") model = AutoModelForImageClassification.from_pretrained("changsu/testmodel") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
| 2 |
license: openrail
|
| 3 |
tags:
|
| 4 |
- image-classification
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
# Model Card for Model ID
|
|
|
|
| 2 |
license: openrail
|
| 3 |
tags:
|
| 4 |
- image-classification
|
| 5 |
+
widget:
|
| 6 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
| 7 |
+
example_title: Tiger
|
| 8 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
| 9 |
+
example_title: Teapot
|
| 10 |
---
|
| 11 |
|
| 12 |
# Model Card for Model ID
|