Run this model with HF Jobs
Run CollectionStudio/sam2-hiera-base-plus 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/CollectionStudio/sam2-hiera-base-plus. 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/CollectionStudio/sam2-hiera-base-plus 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 CollectionStudio/sam2-hiera-base-plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CollectionStudio/sam2-hiera-base-plus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="CollectionStudio/sam2-hiera-base-plus")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("CollectionStudio/sam2-hiera-base-plus") model = AutoModel.from_pretrained("CollectionStudio/sam2-hiera-base-plus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from CollectionStudio/sam2-hiera-base-plus: direct link, hf CLI and curl.
- Browser
- Download file 323 MB
-
https://huggingface.co/CollectionStudio/sam2-hiera-base-plus/resolve/main/model.safetensors
- Command line
-
hf download hf://CollectionStudio/sam2-hiera-base-plus/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/CollectionStudio/sam2-hiera-base-plus/resolve/main/model.safetensors
323 MB
- Xet hash:
- 5436ec8b0505d2fcd48aec48c1439346683d27431f6cd3bf23156c33b52523a9
- Size of remote file:
- 323 MB
- SHA256:
- cce38e86bf9fb50a6c7a454776d280b992ea16f763ed0db3f9db9fde4655b3f1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.