Instructions to use needle-tools/Sharp-webgpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sharp
How to use needle-tools/Sharp-webgpu with Sharp:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Transformers.js
How to use needle-tools/Sharp-webgpu with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-to-3d', 'needle-tools/Sharp-webgpu');
Download config.json from needle-tools/Sharp-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 132 Bytes
-
https://huggingface.co/needle-tools/Sharp-webgpu/resolve/main/config.json
- Command line
-
hf download hf://needle-tools/Sharp-webgpu/config.json
-
curl -L -o config.json https://huggingface.co/needle-tools/Sharp-webgpu/resolve/main/config.json
132 Bytes
| { | |
| "architectures": [ | |
| "SharpWebGpuStage" | |
| ], | |
| "model_type": "custom", | |
| "transformers_js_model_type": "sharp-webgpu-stage" | |
| } | |