Image Classification
Transformers
TensorBoard
Safetensors
swinv2
Generated from Trainer
Eval Results (legacy)
Instructions to use Angy309/swinv2-tiny-patch4-window16-256-prueba3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Angy309/swinv2-tiny-patch4-window16-256-prueba3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Angy309/swinv2-tiny-patch4-window16-256-prueba3") 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("Angy309/swinv2-tiny-patch4-window16-256-prueba3") model = AutoModelForImageClassification.from_pretrained("Angy309/swinv2-tiny-patch4-window16-256-prueba3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from Angy309/swinv2-tiny-patch4-window16-256-prueba3: direct link, hf CLI and curl.
- Browser
- Download file 1.73 kB
-
https://huggingface.co/Angy309/swinv2-tiny-patch4-window16-256-prueba3/resolve/main/trainer_state.json
- Command line
-
hf download hf://Angy309/swinv2-tiny-patch4-window16-256-prueba3/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/Angy309/swinv2-tiny-patch4-window16-256-prueba3/resolve/main/trainer_state.json
1.73 kB
| { | |
| "best_metric": 0.717948717948718, | |
| "best_model_checkpoint": "swinv2-tiny-patch4-window16-256-prueba3/checkpoint-11", | |
| "epoch": 2.7272727272727275, | |
| "eval_steps": 500, | |
| "global_step": 15, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.9090909090909091, | |
| "eval_accuracy": 0.6666666666666666, | |
| "eval_loss": 0.616500735282898, | |
| "eval_runtime": 0.7044, | |
| "eval_samples_per_second": 110.728, | |
| "eval_steps_per_second": 4.259, | |
| "step": 5 | |
| }, | |
| { | |
| "epoch": 1.8181818181818183, | |
| "grad_norm": 2.8319458961486816, | |
| "learning_rate": 1.923076923076923e-05, | |
| "loss": 0.6601, | |
| "step": 10 | |
| }, | |
| { | |
| "epoch": 2.0, | |
| "eval_accuracy": 0.717948717948718, | |
| "eval_loss": 0.5599234700202942, | |
| "eval_runtime": 0.7351, | |
| "eval_samples_per_second": 106.109, | |
| "eval_steps_per_second": 4.081, | |
| "step": 11 | |
| }, | |
| { | |
| "epoch": 2.7272727272727275, | |
| "eval_accuracy": 0.717948717948718, | |
| "eval_loss": 0.5461894869804382, | |
| "eval_runtime": 0.6997, | |
| "eval_samples_per_second": 111.469, | |
| "eval_steps_per_second": 4.287, | |
| "step": 15 | |
| }, | |
| { | |
| "epoch": 2.7272727272727275, | |
| "step": 15, | |
| "total_flos": 4.767600833578598e+16, | |
| "train_loss": 0.6222841421763102, | |
| "train_runtime": 42.1958, | |
| "train_samples_per_second": 49.839, | |
| "train_steps_per_second": 0.355 | |
| } | |
| ], | |
| "logging_steps": 10, | |
| "max_steps": 15, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 3, | |
| "save_steps": 500, | |
| "total_flos": 4.767600833578598e+16, | |
| "train_batch_size": 32, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |