Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

impira
/
layoutlm-document-qa

Document Question Answering
Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
English
layoutlm
pdf
Model card Files Files and versions
xet
Community
34

Instructions to use impira/layoutlm-document-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use impira/layoutlm-document-qa with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("document-question-answering", model="impira/layoutlm-document-qa")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-qa")
    model = AutoModelForDocumentQuestionAnswering.from_pretrained("impira/layoutlm-document-qa", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
layoutlm-document-qa
1.37 kB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 1 commit
ankrgyl's picture
ankrgyl
initial commit
57b0bdd about 4 years ago
  • .gitattributes
    1.34 kB
    initial commit about 4 years ago
  • README.md
    21 Bytes
    initial commit about 4 years ago