Instructions to use LeonelValencia/vit_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LeonelValencia/vit_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="LeonelValencia/vit_model") 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("LeonelValencia/vit_model") model = AutoModelForImageClassification.from_pretrained("LeonelValencia/vit_model") - Notebooks
- Google Colab
- Kaggle
Leonel Valencia commited on
Training in progress, step 500
Browse files
config.json
CHANGED
|
@@ -27,6 +27,7 @@
|
|
| 27 |
"num_channels": 3,
|
| 28 |
"num_hidden_layers": 12,
|
| 29 |
"patch_size": 16,
|
|
|
|
| 30 |
"qkv_bias": true,
|
| 31 |
"torch_dtype": "float32",
|
| 32 |
"transformers_version": "4.40.0"
|
|
|
|
| 27 |
"num_channels": 3,
|
| 28 |
"num_hidden_layers": 12,
|
| 29 |
"patch_size": 16,
|
| 30 |
+
"problem_type": "single_label_classification",
|
| 31 |
"qkv_bias": true,
|
| 32 |
"torch_dtype": "float32",
|
| 33 |
"transformers_version": "4.40.0"
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343227052
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:680600524347b26c0b181a3ad7f4f3128a69bbe36454c31f9dfeef48a585c81a
|
| 3 |
size 343227052
|
runs/Apr29_00-46-58_f6204f80b109/events.out.tfevents.1714351628.f6204f80b109.655.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b54a082a41dad2441153c1157ce2bfe8691e6657ae004c10100c214db7c482d
|
| 3 |
+
size 5281
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4984
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbdf677ef995d50600a1ad87083c0ace0862b188eefcb606ffa21bf307d742a1
|
| 3 |
size 4984
|