Image Classification
Transformers
TensorBoard
Safetensors
vit
HHD
3_class
ViT
Generated from Trainer
Instructions to use heado/ViT_beans with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use heado/ViT_beans with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="heado/ViT_beans") 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("heado/ViT_beans") model = AutoModelForImageClassification.from_pretrained("heado/ViT_beans", device_map="auto") - Notebooks
- Google Colab
- Kaggle
heado
Browse filesFiles changed (4)
18 unmodified lines1920212223242524 unmodified lines505152535455565718 unmodified linesThis model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the beans dataset.It achieves the following results on the evaluation set:- Loss: 0.6952## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| No log | 1.0 | 17 | 0.7837 || No log | 2.0 | 34 | 0.6952 |### Framework versions18 unmodified lines1920212223242524 unmodified lines505152535455565718 unmodified linesThis model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the beans dataset.It achieves the following results on the evaluation set:- Loss: 0.6899## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| No log | 1.0 | 17 | 0.7851 || No log | 2.0 | 34 | 0.6899 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:92c07045df7dd74f924d74739dcf21ad0953ae8402eeebef1f29af5efc5bef21size 343227052123version https://git-lfs.github.com/spec/v1oid sha256:3dd0c6b849fe31b0de96ec621761d902faf09aef7c526b98a4119bb4e6b4b8a1size 343227052
123version https://git-lfs.github.com/spec/v1oid sha256:6eb0318fe3daa3d6bd8c8cadaa9c02c18bc3f88c89f115c7fd5891bf21e235e4size 5892123version https://git-lfs.github.com/spec/v1oid sha256:aa05aaa67dbddc125c50a7c6b8b1e39f284da485a59ed059a21de3badc042bddsize 5176123version https://git-lfs.github.com/spec/v1oid sha256:dc8da59856d9d93a6ad45b0ce8d6d492115b78edacab7bb733c28c4e5f787bb5size 5176
README.md+3-3
model.safetensors+1-1
runs/Oct31_01-59-47_f50eb53ec214/events.out.tfevents.1730339994.f50eb53ec214.433.2Added+3
training_args.bin+1-1