Document Question Answering
Transformers
PyTorch
vision-encoder-decoder
image-text-to-text
donut
image-to-text
vision
Instructions to use nafiz09/docvqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nafiz09/docvqa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="nafiz09/docvqa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("nafiz09/docvqa") model = AutoModelForMultimodalLM.from_pretrained("nafiz09/docvqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.36921b0
-
Upload 11 files
Verified signature8a87927 -
Delete tokenizer.json
Verified signature3896254 -
Delete special_tokens_map.json
Verified signature34d8e15 -
Delete sentencepiece.bpe.model
Verified signature74a8371 -
Delete pytorch_model.bin
Verified signature3e66658 -
Delete preprocessor_config.json
Verified signaturefcc2be7 -
Delete config.json
Verified signaturea201076 -
Delete added_tokens.json
Verified signature1044d54 -
Delete README.md
Verified signature57fae48 -
Delete .gitignore
Verified signatureabef748 -
Delete .gitattributes
Verified signature0796ca7 -
Delete tokenizer_config.json
Verified signature60c2cb8
-
Upload 11 files
Verified signatureb0ee482 -
Delete tokenizer_config.json
Verified signatureb0f9758 -
Delete tokenizer.json
Verified signature039a006 -
Delete special_tokens_map.json
Verified signaturec61c89b -
Delete sentencepiece.bpe.model
Verified signature45fa456 -
Delete pytorch_model.bin
Verified signature503d20b -
Delete preprocessor_config.json
Verified signaturedd2406b -
Delete config.json
Verified signature3e2a746 -
Delete added_tokens.json
Verified signaturea29aadd -
Delete README.md
Verified signature1fd56eb -
Delete .gitignore
Verified signaturedd59716 -
Delete .gitattributes
Verified signatureca12660 -
Rename gitignore to .gitignore
Verified signatureae80b0f -
Delete gitattributes
Verified signature97e9a2b -
Update .gitattributes
Verified signature443c775 -
Rename gitattributes to .gitattributes
Verified signature60cdb34 -
Delete .gitattributes
Verified signature62bb502 -
Rename gitattributes to .gitattributes
Verified signaturedccbce0 -
Delete .gitattributes
Verified signatureed558c4 -
Upload 11 files
Verified signatureec67ff3 -
initial commit
Verified signature4eb166b