Instructions to use katanaml-org/invoices-donut-model-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use katanaml-org/invoices-donut-model-v1 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="katanaml-org/invoices-donut-model-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("katanaml-org/invoices-donut-model-v1") model = AutoModelForMultimodalLM.from_pretrained("katanaml-org/invoices-donut-model-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 0c3f277918d78ba7d8d301d86edd8e8a8131b35897441bd5640c592bb9f3f74e
- Size of remote file:
- 809 MB
- SHA256:
- bc3354aa3c57c23d3ac84ccd2a6bb092f64edc50e87a4730833b530593c54f93
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.