Instructions to use JayRay5/DIVE-Doc-ARD-LRes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JayRay5/DIVE-Doc-ARD-LRes with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("JayRay5/DIVE-Doc-ARD-LRes", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "auto_map": { | |
| "AutoProcessor": "processing_divedoc.DIVEdocProcessor" | |
| }, | |
| "do_align_long_axis": false, | |
| "do_normalize": true, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_thumbnail": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "DonutImageProcessor", | |
| "image_seq_length": 4096, | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "processor_class": "DIVEdocProcessor", | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 2048, | |
| "width": 2048 | |
| } | |
| } | |