Instructions to use pedro1111/layout2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pedro1111/layout2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="pedro1111/layout2")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("pedro1111/layout2") model = AutoModelForDocumentQuestionAnswering.from_pretrained("pedro1111/layout2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from pedro1111/layout2: direct link, hf CLI and curl.
- Browser
- Download file 802 MB
-
https://huggingface.co/pedro1111/layout2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://pedro1111/layout2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/pedro1111/layout2/resolve/main/pytorch_model.bin
802 MB
- Xet hash:
- 035f48c208d82378f17c479facdb3f5cda8be78e30d48ef76b1c5ee72fbc9365
- Size of remote file:
- 802 MB
- SHA256:
- 476b97eb7819410101d2a91805ad27ebe9a76d45a006227db284eb88d40e4242
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.