--- license: apache-2.0 library_name: transformers pipeline_tag: mask-generation tags: - libreyolo - sam2 - promptable-segmentation - image-segmentation base_model: facebook/sam2.1-hiera-base-plus --- # LibreSAM2base-plus SAM-2.1 Hiera Base Plus rehosted for LibreYOLO's `LibreSAM` promptable segmentation tier. ## Source Derived from [`facebook/sam2.1-hiera-base-plus`](https://huggingface.co/facebook/sam2.1-hiera-base-plus) at commit `b7320756a13354e7530a63935656d35b2f91a290` and the Apache-2.0 [`facebookresearch/sam2`](https://github.com/facebookresearch/sam2) source release. ## Modifications Learned parameters are unchanged. The upstream Transformers-compatible snapshot files are mirrored here for LibreYOLO distribution. This repository adds LibreYOLO model-card packaging plus `LICENSE` and `NOTICE` files for Apache-2.0 redistribution. ## Usage ```python from libreyolo import LibreSAM model = LibreSAM("sam2-base-plus") result = model("image.jpg", points=[500, 375], labels=[1]) ``` ## License Apache License 2.0. See [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE).