Instructions to use PrimWong/layout_qa_hparam_tuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PrimWong/layout_qa_hparam_tuning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="PrimWong/layout_qa_hparam_tuning")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("PrimWong/layout_qa_hparam_tuning") model = AutoModelForDocumentQuestionAnswering.from_pretrained("PrimWong/layout_qa_hparam_tuning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
root commited on
Commit ·
1aa4f12
1
Parent(s): 85bfdae
add custom pipeline
Browse files- detectron2 +1 -0
detectron2
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Subproject commit 92ae9f0b92aba5867824b4f12aa06a22a60a45d3
|