Run this model with HF Jobs
Run iLearn-Lab/CVPRW26-ChartLens on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/iLearn-Lab/CVPRW26-ChartLens. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/iLearn-Lab/CVPRW26-ChartLens on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/iLearn-Lab/CVPRW26-ChartLens. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/iLearn-Lab/CVPRW26-ChartLens. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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 processor_config.json from iLearn-Lab/CVPRW26-ChartLens: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/iLearn-Lab/CVPRW26-ChartLens/resolve/main/processor_config.json
- Command line
-
hf download hf://iLearn-Lab/CVPRW26-ChartLens/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/iLearn-Lab/CVPRW26-ChartLens/resolve/main/processor_config.json
2.1 kB
| { | |
| "auto_map": { | |
| "AutoProcessor": "processing.Granite4VisionProcessor" | |
| }, | |
| "downsample_rate": "4/8", | |
| "image_processor": { | |
| "auto_map": { | |
| "AutoProcessor": "processing.Granite4VisionProcessor" | |
| }, | |
| "crop_size": { | |
| "height": 384, | |
| "width": 384 | |
| }, | |
| "do_center_crop": true, | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_grid_pinpoints": [ | |
| [ | |
| 384, | |
| 384 | |
| ], | |
| [ | |
| 384, | |
| 768 | |
| ], | |
| [ | |
| 384, | |
| 1152 | |
| ], | |
| [ | |
| 384, | |
| 1536 | |
| ], | |
| [ | |
| 384, | |
| 1920 | |
| ], | |
| [ | |
| 384, | |
| 2304 | |
| ], | |
| [ | |
| 384, | |
| 2688 | |
| ], | |
| [ | |
| 384, | |
| 3072 | |
| ], | |
| [ | |
| 384, | |
| 3456 | |
| ], | |
| [ | |
| 384, | |
| 3840 | |
| ], | |
| [ | |
| 768, | |
| 384 | |
| ], | |
| [ | |
| 768, | |
| 768 | |
| ], | |
| [ | |
| 768, | |
| 1152 | |
| ], | |
| [ | |
| 768, | |
| 1536 | |
| ], | |
| [ | |
| 768, | |
| 1920 | |
| ], | |
| [ | |
| 1152, | |
| 384 | |
| ], | |
| [ | |
| 1152, | |
| 768 | |
| ], | |
| [ | |
| 1152, | |
| 1152 | |
| ], | |
| [ | |
| 1536, | |
| 384 | |
| ], | |
| [ | |
| 1536, | |
| 768 | |
| ], | |
| [ | |
| 1920, | |
| 384 | |
| ], | |
| [ | |
| 1920, | |
| 768 | |
| ], | |
| [ | |
| 2304, | |
| 384 | |
| ], | |
| [ | |
| 2688, | |
| 384 | |
| ], | |
| [ | |
| 3072, | |
| 384 | |
| ], | |
| [ | |
| 3456, | |
| 384 | |
| ], | |
| [ | |
| 3840, | |
| 384 | |
| ] | |
| ], | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "LlavaNextImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 384, | |
| "width": 384 | |
| } | |
| }, | |
| "image_token": "<image>", | |
| "num_additional_image_tokens": 0, | |
| "patch_size": 16, | |
| "processor_class": "Granite4VisionProcessor", | |
| "vision_feature_select_strategy": "full" | |
| } | |