Instructions to use hf-internal-testing/tiny-random-layoutlmv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-layoutlmv2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="hf-internal-testing/tiny-random-layoutlmv2")# Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-layoutlmv2") model = AutoModelForDocumentQuestionAnswering.from_pretrained("hf-internal-testing/tiny-random-layoutlmv2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 816cbb92cbcc12526d644a90f6dd6abad53d243c537255d229d1b17ad618a085
- Size of remote file:
- 17.1 MB
- SHA256:
- 78b808255d4d8ee9c3c7350bcc35ed50aa9970b0225308b1c98da1a02caba869
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.