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 ·
0b1fade
1
Parent(s): 937e9d8
Training in progress, epoch 1
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.33.2"
|
| 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:91eae4b0a1634e45b74c5e03514cf1c1c5feedb7bdc9a9808d3e7155e46ba7a6
|
| 3 |
+
size 343287149
|
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:282056a81d896436f7eee3dcda390877da27d51256aa8c5d34172a1d5446d786
|
| 3 |
+
size 4091
|