Instructions to use kittypdf/BEN2-transformersjs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use kittypdf/BEN2-transformersjs with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-segmentation', 'kittypdf/BEN2-transformersjs');
metadata
license: apache-2.0
library_name: transformers.js
pipeline_tag: image-segmentation
tags:
- background-removal
- transformers.js
- onnx
BEN2 Transformers.js
Transformers.js-compatible mirror of onnx-community/BEN2-ONNX for browser-side background removal.
Contents
config.jsonpreprocessor_config.jsononnx/model_fp16.onnx
Source
Original model: https://huggingface.co/onnx-community/BEN2-ONNX
Check the original repository for license, citation, intended use, and limitations.