History1.95 kB
| 1 | # sam3 |
| 2 | |
| 3 | **sam3** is a promptable segmentation model for images and videos. It was released by **facebook** with 860M parameters. |
| 4 | |
| 5 | ## Model details |
| 6 | |
| 7 | ### Model description |
| 8 | |
| 9 | - **Developed by:** facebook |
| 10 | - **Model type:** sam3 (Mask Generation) |
| 11 | - **Parameters:** 860M |
| 12 | - **Language(s):** English (primary), multilingual |
| 13 | - **License:** cc-by-4.0 |
| 14 | |
| 15 | ### Model sources |
| 16 | |
| 17 | - **Repository:** `facebook/sam3` |
| 18 | - **Report:** coming soon |
| 19 | |
| 20 | ## Uses |
| 21 | |
| 22 | ### Direct use |
| 23 | |
| 24 | sam3 can be used out of the box for mask generation. Typical uses include prototyping, research on generative media, and building applications on top of the released weights. |
| 25 | |
| 26 | ### Out-of-scope use |
| 27 | |
| 28 | The model should not be used to generate content that violates the license, to impersonate real people, or for high-stakes decisions without human review. |
| 29 | |
| 30 | ## How to use |
| 31 | |
| 32 | ```python |
| 33 | from PIL import Image |
| 34 | from transformers import pipeline |
| 35 | |
| 36 | segmenter = pipeline("mask-generation", model="facebook/sam3", device_map="auto") |
| 37 | masks = segmenter(Image.open("street.jpg"), points_per_batch=64) |
| 38 | print(len(masks["masks"]), "masks") |
| 39 | ``` |
| 40 | |
| 41 | ## Training data |
| 42 | |
| 43 | The model was trained on a mixture of 36T tokens of licensed, publicly available and synthetic data, followed by supervised fine-tuning and preference optimization. Data was filtered for quality, deduplicated and decontaminated against the evaluation sets listed below. |
| 44 | |
| 45 | ## Evaluation |
| 46 | |
| 47 | | Benchmark | sam3 | Previous release | |
| 48 | | --- | --- | --- | |
| 49 | | SA-V J&F | **81.6** | 76.4 | |
| 50 | | COCO mIoU | **50.0** | 46.9 | |
| 51 | | LVIS AP | **67.8** | 62.8 | |
| 52 | | DAVIS J&F | **51.3** | 46.7 | |
| 53 | |
| 54 | Scores are self-reported by the authors with greedy decoding unless stated otherwise. |
| 55 | |
| 56 | ## Limitations and bias |
| 57 | |
| 58 | Like other models of its class, sam3 can produce inaccurate or biased outputs. Evaluate it on your own use case before deploying it. |
| 59 | |
| 60 | ## Citation |
| 61 | |
| 62 | ```bibtex |
| 63 | @misc{facebook2026sam3, |
| 64 | title = {sam3}, |
| 65 | author = {facebook Team}, |
| 66 | year = {2026}, |
| 67 | note = {Model card} |
| 68 | } |
| 69 | ``` |