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 trainer_state.json from fxmarty/resnet-tiny-beans: direct link, hf CLI and curl.
- Browser
- Download file 592 Bytes
-
https://huggingface.co/fxmarty/resnet-tiny-beans/resolve/main/trainer_state.json
- Command line
-
hf download hf://fxmarty/resnet-tiny-beans/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/fxmarty/resnet-tiny-beans/resolve/main/trainer_state.json
592 Bytes
| { | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 6.0, | |
| "global_step": 198, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 6.0, | |
| "step": 198, | |
| "total_flos": 1064007556964352.0, | |
| "train_loss": 0.8289703215011442, | |
| "train_runtime": 36.6127, | |
| "train_samples_per_second": 169.449, | |
| "train_steps_per_second": 5.408 | |
| } | |
| ], | |
| "max_steps": 198, | |
| "num_train_epochs": 6, | |
| "total_flos": 1064007556964352.0, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |