Instructions to use FINAL-Bench/Darwin-2B-webgpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use FINAL-Bench/Darwin-2B-webgpu with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('any-to-any', 'FINAL-Bench/Darwin-2B-webgpu');
Download preprocessor_config.json from FINAL-Bench/Darwin-2B-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 43 Bytes
-
https://huggingface.co/FINAL-Bench/Darwin-2B-webgpu/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://FINAL-Bench/Darwin-2B-webgpu/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/FINAL-Bench/Darwin-2B-webgpu/resolve/main/preprocessor_config.json
43 Bytes
| { | |
| "processor_class": "Gemma4Processor" | |
| } | |