Instructions to use zhaowenbo/wine_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhaowenbo/wine_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="zhaowenbo/wine_classifier") 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("zhaowenbo/wine_classifier") model = AutoModelForImageClassification.from_pretrained("zhaowenbo/wine_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress epoch 2
Browse files- README.md +5 -4
- tf_model.h5 +1 -1
README.md
CHANGED
|
@@ -14,10 +14,10 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
-
- Train Loss: 0.
|
| 18 |
-
- Validation Loss: 0.
|
| 19 |
-
- Train Accuracy: 0.
|
| 20 |
-
- Epoch:
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
@@ -45,6 +45,7 @@ The following hyperparameters were used during training:
|
|
| 45 |
|:----------:|:---------------:|:--------------:|:-----:|
|
| 46 |
| 0.0707 | 0.0518 | 0.9851 | 0 |
|
| 47 |
| 0.0490 | 0.0325 | 0.9921 | 1 |
|
|
|
|
| 48 |
|
| 49 |
|
| 50 |
### Framework versions
|
|
|
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
+
- Train Loss: 0.0427
|
| 18 |
+
- Validation Loss: 0.0362
|
| 19 |
+
- Train Accuracy: 0.9907
|
| 20 |
+
- Epoch: 2
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 45 |
|:----------:|:---------------:|:--------------:|:-----:|
|
| 46 |
| 0.0707 | 0.0518 | 0.9851 | 0 |
|
| 47 |
| 0.0490 | 0.0325 | 0.9921 | 1 |
|
| 48 |
+
| 0.0427 | 0.0362 | 0.9907 | 2 |
|
| 49 |
|
| 50 |
|
| 51 |
### Framework versions
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343468584
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:220f199953af7979ded3a3148ced767390ebd42ebbf11c95cda3a72a8fe76717
|
| 3 |
size 343468584
|