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") - Notebooks
- Google Colab
- Kaggle
| { | |
| "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 | |
| } |