Instructions to use habibi26/ocr_struk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use habibi26/ocr_struk with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/paligemma-3b-ft-ocrvqa-224") model = PeftModel.from_pretrained(base_model, "habibi26/ocr_struk") - Notebooks
- Google Colab
- Kaggle
| { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "image_processor_type": "Pix2StructImageProcessor", | |
| "is_vqa": false, | |
| "max_patches": 2048, | |
| "patch_size": { | |
| "height": 16, | |
| "width": 16 | |
| }, | |
| "processor_class": "Pix2StructProcessor" | |
| } | |