AI-Lab-Makerere/beans
Viewer • Updated • 1.3k • 6.91k • 46
How to use Thamer/beit_large512_fine_tuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="Thamer/beit_large512_fine_tuned")
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("Thamer/beit_large512_fine_tuned")
model = AutoModelForImageClassification.from_pretrained("Thamer/beit_large512_fine_tuned")This model is a fine-tuned version of microsoft/beit-base-patch16-384 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 |
|---|---|---|---|---|
| 4.6571 | 0.98 | 16 | 0.3870 | 0.8722 |
| 0.2299 | 1.97 | 32 | 0.0632 | 0.9850 |
| 0.1435 | 2.95 | 48 | 0.0353 | 0.9925 |
Base model
microsoft/beit-base-patch16-384