Skip to content
WebAI

Transformers.js · Model

BiRefNet-lite 512

BiRefNet-lite at 512x512, the HD background-removal path: a dichotomous segmentation model that keeps hair and thin edges the ISNet models lose. Loaded as fp16 on WebGPU, so it falls back to nothing on devices without WebGPU fp16 support.

Upstream browser example

Catalog comparison

Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.

Catalog comparison
EntryEntry typeFrameworkResourcesLicenseBrowser evidenceLinks

BiRefNet-lite 512

BiRefNet-lite at 512x512, the HD background-removal path: a dichotomous segmentation model that keeps hair and thin edges the ISNet models lose. Loaded as fp16 on WebGPU, so it falls back to nothing on devices without WebGPU fp16 support.

Tasks: Background removal

ModelTransformers.js

fp16: 93.9 MiB

fp32: 183.0 MiB

Code license: Apache-2.0

Weight license: MIT

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
studioludens/birefnet-lite-512
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
512x512 input, Requires WebGPU fp16
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
webgpu
Code license
Apache-2.0
Weight license
MIT

Deployment variants

fp16
Download size: 93.9 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 4a3c40c36c94093cc1e724d9ea428b8fa4b57dc7
Weight artifact ↗
fp32
Download size: 183.0 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 4a3c40c36c94093cc1e724d9ea428b8fa4b57dc7
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Running BiRefNet-lite 512 in the browser

BiRefNet-lite 512 sits under Vision / Background removal and is listed as a Model running on Transformers.js. Its verified weight size is 93.9 MiB. The evidence is an upstream browser example; this site has not tested it yet.

The typical way to load weights like these is to serve quantised ONNX from a CDN or your own origin, run them through the in-page runtime, and fall back to WebAssembly when WebGPU is unavailable. Code licence: Apache-2.0; weight licence: MIT — check the original repository before commercial use.

BiRefNet-lite 512: common questions

Can BiRefNet-lite 512 be used commercially?
This catalogue records “Apache-2.0 / MIT”. Terms come from the model repository; the label here only reflects what was checked. If no licence is stated, do not ship it commercially.
How large are BiRefNet-lite 512 weights?
The recorded size is 93.9 MiB. Quantisation variants differ a lot, so prefer the int8 or 4-bit build for the browser.
How do I call BiRefNet-lite 512 from a project?
Most entries load through Transformers.js: host the weights somewhere the browser can fetch, initialise the runtime on the page, then submit text, image or audio for the task. The exact API lives in the model repository and the runtime docs.
Does running a model here upload my data?
The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.

Background removal