alt.freeweights.text / seggpt-vit-large
From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject:

seggpt-vit-large

Date: 2026-11-15Commit: 77b179bSigned: 2DC28CC7B26A283B ✓

Model with 371M parameters. Safetensors weights, 1.48 GB in all. Published by BAAI under Apache-2.0.

371M params1.48GBseggpt-vit-largesafetensorspermissive
FactsParams371MSize1.48 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get BAAI/seggpt-vit-large
# manifest sha256 cb3c01278be6… · 1.48 GB · 5 files
$ fw verify ./seggpt-vit-large BAAI/seggpt-vit-large
From sourceHosted (signed)BAAI/seggpt-vit-largeLast check: 2026-11-15 02:44 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Overview

Size
1.48 GB
Weights
1.48 GB (safetensors)
Parameters
371M
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
5, each with a sha256
Publisher
BAAI
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:44 UTCpassed

Model card

From the publisher at commit 77b179b. Shown as plain text with links; images open at the publisher.

SegGPT model#

The SegGPT model was proposed in SegGPT: Segmenting Everything In Context by Xinlong Wang, Xiaosong Zhang, Yue Cao, Wen Wang, Chunhua Shen, Tiejun Huang.

Model description#

SegGPT employs a decoder-only (GPT-like) Transformer that can generate a segmentation mask given an input image, a prompt image and its corresponding prompt mask. The model achieves remarkable one-shot results with 56.1 mIoU on COCO-20 and 85.6 mIoU on FSS-1000.

Intended uses & limitations#

You can use the raw model for one-shot image segmentation.

How to use#

Here's how to use the model for one-shot semantic segmentation:

import torch
from datasets import load_dataset
from transformers import SegGptImageProcessor, SegGptForImageSegmentation

model_id = "BAAI/seggpt-vit-large"
image_processor = SegGptImageProcessor.from_pretrained(checkpoint)
model = SegGptForImageSegmentation.from_pretrained(checkpoint)

dataset_id = "EduardoPacheco/FoodSeg103"
ds = load_dataset(dataset_id, split="train")
# Number of labels in FoodSeg103 (not including background)
num_labels = 103

image_input = ds[4]["image"]
ground_truth = ds[4]["label"]
image_prompt = ds[29]["image"]
mask_prompt = ds[29]["label"]

inputs = image_processor(
    images=image_input, 
    prompt_images=image_prompt,
    prompt_masks=mask_prompt, 
    num_labels=num_labels,
    return_tensors="pt"
)

with torch.no_grad():
    outputs = model(**inputs)

target_sizes = [image_input.size[::-1]]
mask = image_processor.post_process_semantic_segmentation(outputs, target_sizes, num_labels=num_labels)[0]
BibTeX entry and citation info#
@misc{wang2023seggpt,
      title={SegGPT: Segmenting Everything In Context}, 
      author={Xinlong Wang and Xiaosong Zhang and Yue Cao and Wen Wang and Chunhua Shen and Tiejun Huang},
      year={2023},
      eprint={2304.03284},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Acknowledgements#

This work is supported by the National Science and Technology Major Project (No. 2022ZD0116300). 本项目受新一代人工智能国家科技重大专项(No. 2022ZD0116300)支持。

Files

5 files · 1.48 GBWeights 1.48 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 5 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md2.23 KB7a25ea5e70395114a28235fc6b2d5e21951af5b0b05f5186c5952a50b0eb67a5
config.json726 B88cf14d056f3f14d2fa0c13bd19948b8f87e11992b3ca8018f0632fbd93f8827
model.safetensors1.48 GB809d3b653873a6fb9e9b5addab94ce2be9f7e49e56ac77da26a1ca0fc03f5c8f
preprocessor_config.json340 B535519227630f792c3b6cb75c5b09073d367fd7f0964eefc93d66fc2cb99fc5d
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
77b179b5a1 pinned now2026-11-15 02:44 UTC5 files · 1.48 GB

Use it

$ fw get BAAI/seggpt-vit-large
# manifest sha256 cb3c01278be6… · 1.48 GB · 5 files
$ fw verify ./seggpt-vit-large BAAI/seggpt-vit-large
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/BAAI/seggpt-vit-large.json --dir ./seggpt-vit-large $ python3 fw.py verify ./seggpt-vit-large ./BAAI__seggpt-vit-large.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/seggpt-vit-large --revision 77b179b5a1b50a48bd04ef3138804cfacc2ced73 --local-dir ./seggpt-vit-large

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
7a25ea5e70395114a28235fc6b2d5e21951af5b0b05f5186c5952a50b0eb67a5
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject: seggpt-vit-largeDate: 2026-11-15Commit: 77b179bSigned: 2DC28CC7B26A283B ✓
Upstream
BAAI/seggpt-vit-large
Pinned commit
77b179b5a1b50a48bd04ef3138804cfacc2ced73
Manifest
seggpt-vit-large.json · .minisig
Manifest sha256
cb3c01278be620abe392f6c9a1584db93dc0cc30173133e35df51cffb23b61e6
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:44 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/seggpt-vit-large.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/seggpt-vit-large.json.minisig $ minisign -Vm seggpt-vit-large.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/seggpt-vit-large
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. seggpt-vit-large.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B