Instructions to use Xenova/deplot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/deplot with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-text-to-text', 'Xenova/deplot');
Download generation_config.json from Xenova/deplot: direct link, hf CLI and curl.
- Browser
- Download file 164 Bytes
-
https://huggingface.co/Xenova/deplot/resolve/main/generation_config.json
- Command line
-
hf download hf://Xenova/deplot/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Xenova/deplot/resolve/main/generation_config.json
164 Bytes
| { | |
| "_from_model_config": true, | |
| "decoder_start_token_id": 0, | |
| "eos_token_id": 1, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.36.2", | |
| "use_cache": false | |
| } | |