alt.freeweights.vision / BiRefNet-DIS5K
From: ZhengPeng7 <huggingface.co/ZhengPeng7>Newsgroups: alt.freeweights.visionSubject:

BiRefNet-DIS5K

Date: 2026-11-15Commit: 343602bSigned: 2DC28CC7B26A283B ✓

Image segmentation model with 221M parameters. Safetensors weights, 885 MB in all. Published by ZhengPeng7 under MIT.

221M params885MBBiRefNet-DIS5Ksafetensorspermissive
FactsParams221MSize885 MBFormatssafetensorsTaskimage segmentationLicenseMITFrom sourcepermissive
$ fw get ZhengPeng7/BiRefNet-DIS5K
# manifest sha256 f3fe8ea2858a… · 885 MB · 8 files
$ fw verify ./BiRefNet-DIS5K ZhengPeng7/BiRefNet-DIS5K
From sourceHosted (signed)ZhengPeng7/BiRefNet-DIS5KLast check: 2026-11-15 02:43 UTC

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

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
885 MB
Weights
885 MB (safetensors)
Parameters
221M
Formats
safetensors
Task
image segmentation
License
MIT (permissive)
Files
8, each with a sha256
Publisher
ZhengPeng7
Added
2026-11-15
Section
alt.freeweights.vision
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:43 UTCpassed

Model card

From the publisher at commit 343602b. Shown as plain text with links; images open at the publisher.

Bilateral Reference for High-Resolution Dichotomous Image Segmentation#

Peng Zheng 1,4,5,6,&thinsp; Dehong Gao 2,&thinsp; Deng-Ping Fan 1*,&thinsp; Li Liu 3,&thinsp; Jorma Laaksonen 4,&thinsp; Wanli Ouyang 5,&thinsp; Nicu Sebe 6

1 Nankai University&ensp; 2 Northwestern Polytechnical University&ensp; 3 National University of Defense Technology&ensp; 4 Aalto University&ensp; 5 Shanghai AI Laboratory&ensp; 6 University of Trento&ensp;

https://arxiv.org/pdf/2401.03407&ensp; https://drive.google.com/file/d/1aBnJ_R9lbnC2dm8dqD0-pzP2Cu-U1Xpt/view?usp=drive_link&ensp; https://www.birefnet.top&ensp; https://drive.google.com/drive/folders/1s2Xe0cjq-2ctnJBR24563yMSCOu4CcxM&ensp; LICENSE&ensp; https://huggingface.co/spaces/ZhengPeng7/BiRefNet_demo&ensp; https://huggingface.co/ZhengPeng7/BiRefNet&ensp; https://colab.research.google.com/drive/14Dqg7oeBkFEtchaHLNpig2BcdkZEogba?usp=drive_link&ensp; https://colab.research.google.com/drive/1MaEiBfJ4xIaZZn0DqKrhydHB8X97hNXl#scrollTo=DJ4meUYjia6S&ensp;

This repo holds the official weights of BiRefNet trained on DIS5K-TR for Dichotomous Image Segmentation (DIS) in the original paper.#

Check the main BiRefNet model repo for more info and how to use it: https://huggingface.co/ZhengPeng7/BiRefNet/blob/main/README.md

Also check the GitHub repo of BiRefNet for all things you may want: https://github.com/ZhengPeng7/BiRefNet

Citation#

@article{zheng2024birefnet,
  title={Bilateral Reference for High-Resolution Dichotomous Image Segmentation},
  author={Zheng, Peng and Gao, Dehong and Fan, Deng-Ping and Liu, Li and Laaksonen, Jorma and Ouyang, Wanli and Sebe, Nicu},
  journal={CAAI Artificial Intelligence Research},
  volume = {3},
  pages = {9150038},
  year={2024}
}

Files

8 files · 885 MBWeights 885 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 8 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
BiRefNet_config.py298 Be7b8c2a74f6cea6a59553d517f71d47f2c1d90e670a13416af17c25fe2f3dc52
README.md3.92 KB68059cdd360f1d5cc30918c85f784cddfd700cf5c62f78f03a991b28f54b06bb
birefnet.py92.1 KB2a45b4e0ece72d7c4212bca1a988e7d7e52bfe9f98ec59c58b8809c8a8b7a831
config.json411 B4273891106aaf380f178281e0fdca01e9f09adcbc7f363e725ab244ab386f92d
handler.py4.70 KBa7e3266cb6b88b1a85c148d92e49dbc884c7fbdf07bfd596068054ddcb315088
model.safetensors885 MB6641691e0484f458e1f72ec15ecf2856c07de1bd9500a05895ba57f9b9da7bee
requirements.txt149 Bbdfdd83a090d31a2acf64f7350653fa63cd8b5d9d6e0ff3e135bea7ce3786341
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
343602b321 pinned now2026-11-15 02:43 UTC8 files · 885 MB

Use it

$ fw get ZhengPeng7/BiRefNet-DIS5K
# manifest sha256 f3fe8ea2858a… · 885 MB · 8 files
$ fw verify ./BiRefNet-DIS5K ZhengPeng7/BiRefNet-DIS5K
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ZhengPeng7/BiRefNet-DIS5K.json --dir ./BiRefNet-DIS5K $ python3 fw.py verify ./BiRefNet-DIS5K ./ZhengPeng7__BiRefNet-DIS5K.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ZhengPeng7/BiRefNet-DIS5K --revision 343602b3219a0e905a86c5012935d5a4a0882390 --local-dir ./BiRefNet-DIS5K

License

Name
MIT License
Id
MIT
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
68059cdd360f1d5cc30918c85f784cddfd700cf5c62f78f03a991b28f54b06bb
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: ZhengPeng7 <huggingface.co/ZhengPeng7>Newsgroups: alt.freeweights.visionSubject: BiRefNet-DIS5KDate: 2026-11-15Commit: 343602bSigned: 2DC28CC7B26A283B ✓
Upstream
ZhengPeng7/BiRefNet-DIS5K
Pinned commit
343602b3219a0e905a86c5012935d5a4a0882390
Manifest
BiRefNet-DIS5K.json · .minisig
Manifest sha256
f3fe8ea2858ab70cc5627392683df9cc7edf01789c7ab8911dc9f1e981b7af8c
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:43 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ZhengPeng7/BiRefNet-DIS5K.json $ curl -O https://freeweights.allternit.com/manifests/ZhengPeng7/BiRefNet-DIS5K.json.minisig $ minisign -Vm BiRefNet-DIS5K.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

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ZhengPeng7/BiRefNet-DIS5K
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. BiRefNet-DIS5K.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of BiRefNet-DIS5K. Each has its own license check and page.

From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX