Instructions to use InternScience/ChartVLM-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use InternScience/ChartVLM-large with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("InternScience/ChartVLM-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download base_decoder/preprocessor_config.json from InternScience/ChartVLM-large: direct link, hf CLI and curl.
- Browser
- Download file 249 Bytes
-
https://huggingface.co/InternScience/ChartVLM-large/resolve/main/base_decoder/preprocessor_config.json
- Command line
-
hf download hf://InternScience/ChartVLM-large/base_decoder/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/InternScience/ChartVLM-large/resolve/main/base_decoder/preprocessor_config.json
249 Bytes
| { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "image_processor_type": "Pix2StructImageProcessor", | |
| "is_vqa": true, | |
| "max_patches": 2048, | |
| "patch_size": { | |
| "height": 16, | |
| "width": 16 | |
| }, | |
| "processor_class": "Pix2StructProcessor" | |
| } | |