AI-Lab-Makerere/beans
Viewer โข Updated โข 1.3k โข 8.82k โข 49
How to use jorgeduardo13/platzi_vit_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="jorgeduardo13/platzi_vit_model") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("jorgeduardo13/platzi_vit_model")
model = AutoModelForSequenceClassification.from_pretrained("jorgeduardo13/platzi_vit_model", device_map="auto")This model is a fine-tuned version of google/vit-base-patch16-224-in21k 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 | F1 |
|---|---|---|---|---|---|
| 0.068 | 3.85 | 500 | 0.0061 | 1.0 | 1.0 |
Base model
google/vit-base-patch16-224-in21k