Instructions to use PrplHrt/LayoutLMv2_hub_500 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PrplHrt/LayoutLMv2_hub_500 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="PrplHrt/LayoutLMv2_hub_500")# Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("PrplHrt/LayoutLMv2_hub_500") model = AutoModelForDocumentQuestionAnswering.from_pretrained("PrplHrt/LayoutLMv2_hub_500", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
127978b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:379b47581b36b9f8e3b69129d701ef8d6ca54a5bed97337127314336ca44bdd1
size 802224247
|