Instructions to use avinasht/paligemma-bill with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use avinasht/paligemma-bill with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("avinasht/paligemma-bill", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from avinasht/paligemma-bill: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/avinasht/paligemma-bill/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://avinasht/paligemma-bill/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/avinasht/paligemma-bill/resolve/main/preprocessor_config.json
424 Bytes
| { | |
| "do_convert_rgb": null, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "SiglipImageProcessor", | |
| "image_seq_length": 256, | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "processor_class": "PaliGemmaProcessor", | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 224, | |
| "width": 224 | |
| } | |
| } | |