Instructions to use crapthings/beans with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use crapthings/beans with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="crapthings/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("crapthings/beans") model = AutoModelForImageClassification.from_pretrained("crapthings/beans", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 390 Bytes
fcfcb88 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"epoch": 5.0,
"eval_accuracy": 0.9924812030075187,
"eval_loss": 0.06773073226213455,
"eval_runtime": 1.0346,
"eval_samples_per_second": 128.553,
"eval_steps_per_second": 16.432,
"total_flos": 4.006371770595533e+17,
"train_loss": 0.2191925185918808,
"train_runtime": 70.8951,
"train_samples_per_second": 72.925,
"train_steps_per_second": 9.168
} |