Instructions to use fxmarty/resnet-tiny-beans with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fxmarty/resnet-tiny-beans with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="fxmarty/resnet-tiny-beans") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("fxmarty/resnet-tiny-beans") model = AutoModelForImageClassification.from_pretrained("fxmarty/resnet-tiny-beans", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download train_results.json from fxmarty/resnet-tiny-beans: direct link, hf CLI and curl.
- Browser
- Download file 166 Bytes
-
https://huggingface.co/fxmarty/resnet-tiny-beans/resolve/main/train_results.json
- Command line
-
hf download hf://fxmarty/resnet-tiny-beans/train_results.json
-
curl -L -o train_results.json https://huggingface.co/fxmarty/resnet-tiny-beans/resolve/main/train_results.json
166 Bytes
| { | |
| "epoch": 6.0, | |
| "train_loss": 0.8289703215011442, | |
| "train_runtime": 36.6127, | |
| "train_samples_per_second": 169.449, | |
| "train_steps_per_second": 5.408 | |
| } |