Run this model with HF Jobs
Run Kushagra07/autotrain-swinv2-base-patch4-window8-256 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/Kushagra07/autotrain-swinv2-base-patch4-window8-256. 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/Kushagra07/autotrain-swinv2-base-patch4-window8-256 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 Kushagra07/autotrain-swinv2-base-patch4-window8-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kushagra07/autotrain-swinv2-base-patch4-window8-256 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Kushagra07/autotrain-swinv2-base-patch4-window8-256") 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("Kushagra07/autotrain-swinv2-base-patch4-window8-256") model = AutoModelForImageClassification.from_pretrained("Kushagra07/autotrain-swinv2-base-patch4-window8-256", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model Trained Using AutoTrain
- Problem type: Image Classification
Validation Metrics
loss: 0.21217399835586548
f1_macro: 0.8801923417646881
f1_micro: 0.9320587231136906
f1_weighted: 0.9322151264732859
precision_macro: 0.9267115227700036
precision_micro: 0.9320587231136906
precision_weighted: 0.9357267323781668
recall_macro: 0.8522160392320227
recall_micro: 0.9320587231136906
recall_weighted: 0.9320587231136906
accuracy: 0.9320587231136906
- Downloads last month
- 6