Image Classification
Transformers
Safetensors
timm
timm_wrapper
vision
trackio
Generated from Trainer
Instructions to use evalstate/ic-smoke-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use evalstate/ic-smoke-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="evalstate/ic-smoke-test") 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("evalstate/ic-smoke-test") model = AutoModelForImageClassification.from_pretrained("evalstate/ic-smoke-test", device_map="auto") - timm
How to use evalstate/ic-smoke-test with timm:
import timm model = timm.create_model("hf_hub:evalstate/ic-smoke-test", pretrained=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "best_global_step": 7, | |
| "best_metric": 0.58, | |
| "best_model_checkpoint": "ic-smoke-test/checkpoint-7", | |
| "epoch": 2.0, | |
| "eval_steps": 500, | |
| "global_step": 14, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 1.0, | |
| "eval_accuracy": 0.58, | |
| "eval_loss": 1.0294157266616821, | |
| "eval_runtime": 0.3989, | |
| "eval_samples_per_second": 125.331, | |
| "eval_steps_per_second": 10.026, | |
| "step": 7 | |
| }, | |
| { | |
| "epoch": 2.0, | |
| "eval_accuracy": 0.54, | |
| "eval_loss": 1.0277507305145264, | |
| "eval_runtime": 0.3198, | |
| "eval_samples_per_second": 156.352, | |
| "eval_steps_per_second": 12.508, | |
| "step": 14 | |
| }, | |
| { | |
| "epoch": 2.0, | |
| "step": 14, | |
| "total_flos": 274731241881600.0, | |
| "train_loss": 1.033449445452009, | |
| "train_runtime": 3.106, | |
| "train_samples_per_second": 64.392, | |
| "train_steps_per_second": 4.507 | |
| } | |
| ], | |
| "logging_steps": 500, | |
| "max_steps": 14, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 2, | |
| "save_steps": 500, | |
| "stateful_callbacks": { | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": true | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 274731241881600.0, | |
| "train_batch_size": 16, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |