AI-Lab-Makerere/beans
Viewer • Updated • 1.3k • 8.81k • 45
How to use mrm8488/convnext-tiny-finetuned-beans with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="mrm8488/convnext-tiny-finetuned-beans")
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("mrm8488/convnext-tiny-finetuned-beans")
model = AutoModelForImageClassification.from_pretrained("mrm8488/convnext-tiny-finetuned-beans")This model is a fine-tuned version of facebook/convnext-tiny-224 on the beans dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 37 | 0.6175 | 0.8828 |
| No log | 2.0 | 74 | 0.2307 | 0.9609 |
| 0.5237 | 3.0 | 111 | 0.1406 | 0.9531 |
| 0.5237 | 4.0 | 148 | 0.1165 | 0.9688 |
| 0.5237 | 5.0 | 185 | 0.1255 | 0.9609 |