Instructions to use U4R/ChartVLM-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use U4R/ChartVLM-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("U4R/ChartVLM-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download auxiliary_decoder/base/generation_config.json from U4R/ChartVLM-base: direct link, hf CLI and curl.
- Browser
- Download file 162 Bytes
-
https://huggingface.co/U4R/ChartVLM-base/resolve/main/auxiliary_decoder/base/generation_config.json
- Command line
-
hf download hf://U4R/ChartVLM-base/auxiliary_decoder/base/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/U4R/ChartVLM-base/resolve/main/auxiliary_decoder/base/generation_config.json
162 Bytes
| { | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "max_length": 4096, | |
| "pad_token_id": 0, | |
| "temperature": 0.9, | |
| "top_p": 0.6, | |
| "transformers_version": "4.31.0" | |
| } | |