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")# 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") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a0468eb341e71e73aa6becee995ed6a18cee6b60ce976e7c4ce922373aafbfa
|
| 3 |
+
size 890956
|