Instructions to use PrimWong/layout_lmqa2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PrimWong/layout_lmqa2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="PrimWong/layout_lmqa2")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("PrimWong/layout_lmqa2") model = AutoModelForDocumentQuestionAnswering.from_pretrained("PrimWong/layout_lmqa2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 10200
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:820f693aa4d581b7a258879eb8b71fdc1cfe02d0c28524c4a7cf65ef25370be6size 802053752123version https://git-lfs.github.com/spec/v1oid sha256:55ac37bbb901cf43cd3da7a90f0e3bbbdab4c8bd84b0ca2db01bfe4a987dc710size 802053752
123version https://git-lfs.github.com/spec/v1oid sha256:fe495ddd2f8ff4613e93f5355adba50431e91727d767f0a728249a50a3e30c2csize 91915123version https://git-lfs.github.com/spec/v1oid sha256:b1e24871f9ea07105d5c1087ad95c22ffc0e5bc9e66f34c5da62f7f7bb71a267size 93627
model.safetensors+1-1
runs/Dec12_14-44-44_cmkl-MS-7C06/events.out.tfevents.1702367086.cmkl-MS-7C06.6206.0+2-2