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