File size: 1,070 Bytes
c30b06e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
license: apache-2.0
library_name: transformers
pipeline_tag: mask-generation
tags:
  - libreyolo
  - sam2
  - promptable-segmentation
  - image-segmentation
base_model: facebook/sam2.1-hiera-tiny
---

# LibreSAM2tiny

SAM-2.1 Hiera Tiny rehosted for LibreYOLO's `LibreSAM` promptable segmentation tier.

## Source

Derived from [`facebook/sam2.1-hiera-tiny`](https://huggingface.co/facebook/sam2.1-hiera-tiny) at commit
`de431c4043854a71d8101e17995dfe596bf101a5` 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-tiny")
result = model("image.jpg", points=[500, 375], labels=[1])
```

## License

Apache License 2.0. See [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE).