Instructions to use Justin331/sam3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Justin331/sam3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="Justin331/sam3")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("Justin331/sam3") model = AutoModel.from_pretrained("Justin331/sam3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download .gitattributes from Justin331/sam3: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/Justin331/sam3/resolve/main/.gitattributes
- Command line
-
hf download hf://Justin331/sam3/.gitattributes
-
curl -L -o .gitattributes https://huggingface.co/Justin331/sam3/resolve/main/.gitattributes
303 Bytes
| *.pt filter=lfs diff=lfs merge=lfs -text | |
| *.safetensors filter=lfs diff=lfs merge=lfs -text | |
| sam3/perflib/tests/assets/masks.tiff filter=lfs diff=lfs merge=lfs -text | |
| bpe_simple_vocab_16e6.txt.gz filter=lfs diff=lfs merge=lfs -text | |
| assets/bpe_simple_vocab_16e6.txt.gz filter=lfs diff=lfs merge=lfs -text | |