Instructions to use yaboidimsum/image_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yaboidimsum/image_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="yaboidimsum/image_classification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("yaboidimsum/image_classification") model = AutoModelForImageClassification.from_pretrained("yaboidimsum/image_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
00af516
1
Parent(s): 9fac8c7
Training in progress, epoch 2
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
- training_args.bin +2 -2
config.json
CHANGED
|
@@ -40,5 +40,5 @@
|
|
| 40 |
"problem_type": "single_label_classification",
|
| 41 |
"qkv_bias": true,
|
| 42 |
"torch_dtype": "float32",
|
| 43 |
-
"transformers_version": "4.
|
| 44 |
}
|
|
|
|
| 40 |
"problem_type": "single_label_classification",
|
| 41 |
"qkv_bias": true,
|
| 42 |
"torch_dtype": "float32",
|
| 43 |
+
"transformers_version": "4.32.0"
|
| 44 |
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:631349211a7fb56fb9d780da931fadd87deb6bf88d95c7cad38ef28daa0238db
|
| 3 |
+
size 343284397
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4f6015fc2847837a8cc06245566aba296f715a8e4192eeb581739498540df66
|
| 3 |
+
size 4027
|