Instructions to use hsarfraz/donut-irs-tax-docs-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hsarfraz/donut-irs-tax-docs-classifier with Transformers:
# Load model directly from transformers import AutoImageProcessor, DonutForImageClassification processor = AutoImageProcessor.from_pretrained("hsarfraz/donut-irs-tax-docs-classifier") model = DonutForImageClassification.from_pretrained("hsarfraz/donut-irs-tax-docs-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training notebook
#1
by barti25 - opened
Hi @barti25 ,
Please find below link to github resource that was used as a reference to fine-tune the Donut model for classification.
I hope this helps.
Regards
It does help, thank you very much, all of the tutorial notebooks refered at Donut model page are outdated and are not really what I was looking for so thats helpful big time πͺ