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 training_args.bin from pedro1111/layout2: direct link, hf CLI and curl.
- Browser
- Download file 4.03 kB
-
https://huggingface.co/pedro1111/layout2/resolve/main/training_args.bin
- Command line
-
hf download hf://pedro1111/layout2/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/pedro1111/layout2/resolve/main/training_args.bin
4.03 kB
- Xet hash:
- 800e0df8c9277c31ba5d890dacbe93a4e3caadf121e31965c3e7e8dc430bb71d
- Size of remote file:
- 4.03 kB
- SHA256:
- f4a15fe3953ec514c28f6af16837511280e22f2b6b792a9dddec28c306823b5a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.