Instructions to use Nablo404/birefnet-lite-webgpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Nablo404/birefnet-lite-webgpu with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-segmentation', 'Nablo404/birefnet-lite-webgpu');
Download config.json from Nablo404/birefnet-lite-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 81 Bytes
-
https://huggingface.co/Nablo404/birefnet-lite-webgpu/resolve/main/config.json
- Command line
-
hf download hf://Nablo404/birefnet-lite-webgpu/config.json
-
curl -L -o config.json https://huggingface.co/Nablo404/birefnet-lite-webgpu/resolve/main/config.json
81 Bytes
| { | |
| "model_type": "swin", | |
| "transformers.js_config": { | |
| "dtype": "fp32" | |
| } | |
| } |