Image Classification
Transformers
TensorBoard
Safetensors
swinv2
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run Angy309/swinv2-tiny-patch4-window16-256-prueba3 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Angy309/swinv2-tiny-patch4-window16-256-prueba3. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Angy309/swinv2-tiny-patch4-window16-256-prueba3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
End of training
Browse filesFiles changed (6)
- README.md+1-1
- all_results.jsonAdded+13
- eval_results.jsonAdded+8
- runs/May13_18-48-31_24cc275b3536/events.out.tfevents.1715626173.24cc275b3536.549.5Added+3
- train_results.jsonAdded+8
- trainer_state.jsonAdded+64
31 unmodified lines3233343536373831 unmodified linesThis model is a fine-tuned version of [microsoft/swinv2-tiny-patch4-window16-256](https://huggingface.co/microsoft/swinv2-tiny-patch4-window16-256) on the imagefolder dataset.It achieves the following results on the evaluation set:- Loss: 0.5462- Accuracy: 0.7179## Model description31 unmodified lines3233343536373831 unmodified linesThis model is a fine-tuned version of [microsoft/swinv2-tiny-patch4-window16-256](https://huggingface.co/microsoft/swinv2-tiny-patch4-window16-256) on the imagefolder dataset.It achieves the following results on the evaluation set:- Loss: 0.5599- Accuracy: 0.7179## Model description
12345678910111213{ "epoch": 2.7272727272727275, "eval_accuracy": 0.717948717948718, "eval_loss": 0.5599234700202942, "eval_runtime": 0.7076, "eval_samples_per_second": 110.236, "eval_steps_per_second": 4.24, "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}12345678{ "epoch": 2.7272727272727275, "eval_accuracy": 0.717948717948718, "eval_loss": 0.5599234700202942, "eval_runtime": 0.7076, "eval_samples_per_second": 110.236, "eval_steps_per_second": 4.24}123version https://git-lfs.github.com/spec/v1oid sha256:cdc06b365cd536e3364c740ed7d11d9e903b1de75de6616db2172ff99070dd31size 40512345678{ "epoch": 2.7272727272727275, "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}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ "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}README.md+1-1
all_results.jsonAdded+13
eval_results.jsonAdded+8
runs/May13_18-48-31_24cc275b3536/events.out.tfevents.1715626173.24cc275b3536.549.5Added+3
train_results.jsonAdded+8
trainer_state.jsonAdded+64