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');
Download config.json from kittypdf/BEN2-transformersjs: direct link, hf CLI and curl.
- Browser
- Download file 80 Bytes
-
https://huggingface.co/kittypdf/BEN2-transformersjs/resolve/main/config.json
- Command line
-
hf download hf://kittypdf/BEN2-transformersjs/config.json
-
curl -L -o config.json https://huggingface.co/kittypdf/BEN2-transformersjs/resolve/main/config.json
80 Bytes
| { | |
| "model_type": "ben", | |
| "transformers.js_config": { | |
| "dtype": "fp16" | |
| } | |
| } |