Instructions to use iLearn-Lab/CVPRW26-ChartLens with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use iLearn-Lab/CVPRW26-ChartLens with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/data2/caoruping/DataMFM/models/granite-vision-4.1-4b") model = PeftModel.from_pretrained(base_model, "iLearn-Lab/CVPRW26-ChartLens") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from iLearn-Lab/CVPRW26-ChartLens: direct link, hf CLI and curl.
- Browser
- Download file 538 Bytes
-
https://huggingface.co/iLearn-Lab/CVPRW26-ChartLens/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://iLearn-Lab/CVPRW26-ChartLens/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/iLearn-Lab/CVPRW26-ChartLens/resolve/main/tokenizer_config.json
538 Bytes
| { | |
| "add_prefix_space": false, | |
| "auto_map": { | |
| "AutoProcessor": "processing.Granite4VisionProcessor" | |
| }, | |
| "backend": "tokenizers", | |
| "bos_token": "<|end_of_text|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|end_of_text|>", | |
| "errors": "replace", | |
| "is_local": true, | |
| "local_files_only": false, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<|pad|>", | |
| "padding_side": "left", | |
| "processor_class": "Granite4VisionProcessor", | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|unk|>" | |
| } | |