Run this model with HF Jobs
Run ivensamdh/swinv2 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/ivensamdh/swinv2. 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/ivensamdh/swinv2 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 ivensamdh/swinv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ivensamdh/swinv2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ivensamdh/swinv2") 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("ivensamdh/swinv2") model = AutoModelForImageClassification.from_pretrained("ivensamdh/swinv2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (4)
- .gitignoreAdded+1
- config.jsonAdded+52
- pytorch_model.binAdded+3
- training_args.binAdded+3
1checkpoint-*/12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ "_name_or_path": "microsoft/swinv2-base-patch4-window12to16-192to256-22kto1k-ft", "architectures": [ "Swinv2ForImageClassification" ], "attention_probs_dropout_prob": 0.0, "depths": [ 2, 2, 18, 2 ], "drop_path_rate": 0.1, "embed_dim": 128, "encoder_stride": 32, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 1024, "id2label": { "0": "LABEL_0" }, "image_size": 256, "initializer_range": 0.02, "label2id": { "LABEL_0": 0 }, "layer_norm_eps": 1e-05, "mlp_ratio": 4.0, "model_type": "swinv2", "num_channels": 3, "num_heads": [ 4, 8, 16, 32 ], "num_layers": 4, "patch_size": 4, "path_norm": true, "pretrained_window_sizes": [ 0, 0, 0, 0 ], "problem_type": "multi_label_classification", "qkv_bias": true, "torch_dtype": "float32", "transformers_version": "4.26.0", "use_absolute_embeddings": false, "window_size": 16}123version https://git-lfs.github.com/spec/v1oid sha256:f02599b1f039f742a30765336bd43f0d7a090220301e14b4a372222e8c6f92acsize 347748017123version https://git-lfs.github.com/spec/v1oid sha256:8e4afa3ecb60518cabf21477a6a6f09999c041115356cf433eb1670718336496size 3515.gitignoreAdded+1
config.jsonAdded+52
pytorch_model.binAdded+3
training_args.binAdded+3