Run this model with HF Jobs
Run theoberva/UBCO-Model-v2 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/theoberva/UBCO-Model-v2. 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/theoberva/UBCO-Model-v2 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 theoberva/UBCO-Model-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use theoberva/UBCO-Model-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="theoberva/UBCO-Model-v2") 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("theoberva/UBCO-Model-v2") model = AutoModelForImageClassification.from_pretrained("theoberva/UBCO-Model-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (3)
- config.json+7-7
- pytorch_model.bin+2-2
- training_args.binAdded+3
123455 unmodified lines111213141516171819202115 unmodified lines37383940414243444546{"_name_or_path": "microsoft/swinv2-base-patch4-window8-256","architectures": ["Swinv2ForImageClassification"],5 unmodified lines2],"drop_path_rate": 0.1,"embed_dim": 128,"encoder_stride": 32,"hidden_act": "gelu","hidden_dropout_prob": 0.0,"hidden_size": 1024,"id2label": {"0": "HGSC","1": "LGSC",15 unmodified lines"model_type": "swinv2","num_channels": 3,"num_heads": [4,8,16,32],"num_layers": 4,"patch_size": 4,123455 unmodified lines111213141516171819202115 unmodified lines37383940414243444546{"_name_or_path": "microsoft/swinv2-small-patch4-window8-256","architectures": ["Swinv2ForImageClassification"],5 unmodified lines2],"drop_path_rate": 0.1,"embed_dim": 96,"encoder_stride": 32,"hidden_act": "gelu","hidden_dropout_prob": 0.0,"hidden_size": 768,"id2label": {"0": "HGSC","1": "LGSC",15 unmodified lines"model_type": "swinv2","num_channels": 3,"num_heads": [3,6,12,24],"num_layers": 4,"patch_size": 4,
123version https://git-lfs.github.com/spec/v1oid sha256:6792b3285deb5147396d5bfcad09f023b2918d52f450bd113f0661e4046b3129size 347764846123version https://git-lfs.github.com/spec/v1oid sha256:75fd03c865a93a9f0e328f6fee5bc49a93ed96ae948843a090877d3c45327623size 196021166
123version https://git-lfs.github.com/spec/v1oid sha256:8cd1a316641b35d5e9787f71e34d5c5a6e765c749ee4e1f7b5b54c4565667a38size 4536config.json+7-7
pytorch_model.bin+2-2
training_args.binAdded+3