Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • 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
33

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")
  • Notebooks
  • Google Colab
  • Kaggle
layoutlm-document-qa
1.54 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 24 commits
ankrgyl's picture
ankrgyl
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#10)
beed3c4 about 3 years ago
  • .gitattributes
    1.4 kB
    Adding `safetensors` variant of this model (#10) about 3 years ago
  • README.md
    2.33 kB
    Update README.md over 3 years ago
  • config.json
    789 Bytes
    Remove custom pipeline over 3 years ago
  • merges.txt
    456 kB
    Initial commit over 3 years ago
  • model.safetensors
    511 MB
    xet
    Adding `safetensors` variant of this model (#10) about 3 years ago
  • pyproject.toml
    57 Bytes
    Bug fixes + Copy formatting from transformers repo over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    511 MB
    xet
    Update model weights over 3 years ago
  • setup.cfg
    388 Bytes
    Bug fixes + Copy formatting from transformers repo over 3 years ago
  • special_tokens_map.json
    239 Bytes
    Initial commit over 3 years ago
  • tf_model.h5
    511 MB
    xet
    Fix Tensorflow weights over 3 years ago
  • tokenizer.json
    1.36 MB
    Initial commit over 3 years ago
  • tokenizer_config.json
    315 Bytes
    Set the tokenizer config to add_prefix_space=True over 3 years ago
  • vocab.json
    798 kB
    Initial commit over 3 years ago