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
File size: 592 Bytes
f296fc3 df4084d 76b3c59 f296fc3 df4084d f296fc3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | {
"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
}
|