Instructions to use fxmarty/tiny-doc-qa-vision-encoder-decoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fxmarty/tiny-doc-qa-vision-encoder-decoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="fxmarty/tiny-doc-qa-vision-encoder-decoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("fxmarty/tiny-doc-qa-vision-encoder-decoder") model = AutoModelForMultimodalLM.from_pretrained("fxmarty/tiny-doc-qa-vision-encoder-decoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from fxmarty/tiny-doc-qa-vision-encoder-decoder: direct link, hf CLI and curl.
- Browser
- Download file 63 Bytes
-
https://huggingface.co/fxmarty/tiny-doc-qa-vision-encoder-decoder/resolve/20201780da4e56aa014c2ca9d9b40ec27b8c0f39/README.md
- Command line
-
hf download hf://fxmarty/tiny-doc-qa-vision-encoder-decoder@20201780da4e56aa014c2ca9d9b40ec27b8c0f39/README.md
-
curl -L -o README.md https://huggingface.co/fxmarty/tiny-doc-qa-vision-encoder-decoder/resolve/20201780da4e56aa014c2ca9d9b40ec27b8c0f39/README.md
63 Bytes
metadata
license: mit
pipeline_tag: document-question-answering