Instructions to use fxmarty/sam-vit-tiny-random with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fxmarty/sam-vit-tiny-random with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="fxmarty/sam-vit-tiny-random")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("fxmarty/sam-vit-tiny-random") model = AutoModelForMaskGeneration.from_pretrained("fxmarty/sam-vit-tiny-random", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from fxmarty/sam-vit-tiny-random: direct link, hf CLI and curl.
- Browser
- Download file 21 Bytes
-
https://huggingface.co/fxmarty/sam-vit-tiny-random/resolve/main/README.md
- Command line
-
hf download hf://fxmarty/sam-vit-tiny-random/README.md
-
curl -L -o README.md https://huggingface.co/fxmarty/sam-vit-tiny-random/resolve/main/README.md
21 Bytes
metadata
license: mit