Instructions to use Craftimon/slimsam-77-uniform with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Craftimon/slimsam-77-uniform with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('mask-generation', 'Craftimon/slimsam-77-uniform');
Ctrl+K
Add model files (onnx\vision_encoder_quantized.onnx, onnx\prompt_encoder_mask_decoder_quantized.onnx)
1b57fef