Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

unsloth
/
sam3.1

Mask Generation
Transformers
Safetensors
English
sam3
feature-extraction
unsloth
sam3.1
segment-anything
segmentation
text-prompted-segmentation
inpainting
bf16
fp8
int8
Model card Files Files and versions
xet
Community

Instructions to use unsloth/sam3.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use unsloth/sam3.1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("mask-generation", model="unsloth/sam3.1")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoProcessor, AutoModel
    
    processor = AutoProcessor.from_pretrained("unsloth/sam3.1")
    model = AutoModel.from_pretrained("unsloth/sam3.1", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Desktop
sam3.1 / samples
3.05 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
danielhanchen's picture
danielhanchen
SAM 3.1 detector in transformers Sam3Model format: BF16, FP8, INT8 and INT8-ConvRot
6cfffd0 about 18 hours ago
  • living_room.png
    1.27 MB
    xet
    SAM 3.1 detector in transformers Sam3Model format: BF16, FP8, INT8 and INT8-ConvRot about 18 hours ago
  • street.png
    1.79 MB
    xet
    SAM 3.1 detector in transformers Sam3Model format: BF16, FP8, INT8 and INT8-ConvRot about 18 hours ago