🤖 mask-generation

sam2.1-hiera-large

facebook/sam2.1-hiera-large

Get AI Model →
61.2K
Downloads
❤️
134
Likes
🏷️
9
Tags
📦
transformers
Library
Model Details
Full Model IDfacebook/sam2.1-hiera-large
Pipeline / Taskmask-generation
Librarytransformers
Downloads (all-time)61.2K
Likes134
Last Modified8/15/2025
Author / Orgfacebook
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("mask-generation", model="facebook/sam2.1-hiera-large")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerssafetensorssam2_videofeature-extractionmask-generationarxiv:2408.00714license:apache-2.0endpoints_compatibleregion:us
More mask-generation Models
See all →
sam3

facebook/sam3

2.2M❤️ 1.9K
Get AI Model →
BiRefNet

ZhengPeng7/BiRefNet

730.1K❤️ 559
Get AI Model →
sam-vit-base

facebook/sam-vit-base

365.4K❤️ 166
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
🤖 Task: mask-generation

This model is designed for the mask-generation task. Explore more models for this use case.

All mask-generation Models →
📊 Popularity
Downloads61.2K
❤️ Community Likes134
🛠️ Requirements
  • Install: pip install transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?