Instructions to use pwk666/Beans_disease_classficationv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pwk666/Beans_disease_classficationv2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="pwk666/Beans_disease_classficationv2") 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("pwk666/Beans_disease_classficationv2") model = AutoModelForImageClassification.from_pretrained("pwk666/Beans_disease_classficationv2") - Notebooks
- Google Colab
- Kaggle
Beans_disease_classficationv2
This model is a fine-tuned version of pwk666/Beans_disease_classficationv4 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4798
- Accuracy: 0.9219
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 64
- eval_batch_size: 32
- seed: 1337
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.0115 | 1.0 | 19 | 0.4415 | 0.9453 |
| 0.3081 | 2.0 | 38 | 0.2257 | 0.9453 |
| 0.1559 | 3.0 | 57 | 0.2166 | 0.9453 |
Framework versions
- Transformers 4.28.0
- Pytorch 2.2.1+cu121
- Datasets 2.19.1
- Tokenizers 0.13.3
- Downloads last month
- 3