Instructions to use pedro1111/layout2_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pedro1111/layout2_large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="pedro1111/layout2_large")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("pedro1111/layout2_large") model = AutoModelForDocumentQuestionAnswering.from_pretrained("pedro1111/layout2_large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
af240a5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8e06a66d8f8260de856d381317fb343ab921ae59b4fe4cb36c5ef0f9cc4bbd1f
size 4027
|