Instructions to use hf-internal-testing/tiny-random-LayoutLMForQuestionAnswering with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-LayoutLMForQuestionAnswering 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-LayoutLMForQuestionAnswering")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-LayoutLMForQuestionAnswering") model = AutoModelForDocumentQuestionAnswering.from_pretrained("hf-internal-testing/tiny-random-LayoutLMForQuestionAnswering", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-LayoutLMForQuestionAnswering: direct link, hf CLI and curl.
- Browser
- Download file 891 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-LayoutLMForQuestionAnswering/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-LayoutLMForQuestionAnswering@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-LayoutLMForQuestionAnswering/resolve/refs%2Fpr%2F1/model.safetensors
891 kB
- Xet hash:
- cb9154ae3312a333bcc7bbe485b8a6d409a7cc2616b01e4cb254413ca3725c15
- Size of remote file:
- 891 kB
- SHA256:
- 4a0468eb341e71e73aa6becee995ed6a18cee6b60ce976e7c4ce922373aafbfa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.