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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

PrimWong
/
layout_lmqa2

Document Question Answering
Transformers
TensorBoard
Safetensors
layoutlmv2
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

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")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering
    
    processor = AutoProcessor.from_pretrained("PrimWong/layout_lmqa2")
    model = AutoModelForDocumentQuestionAnswering.from_pretrained("PrimWong/layout_lmqa2")
  • Notebooks
  • Google Colab
  • Kaggle
layout_lmqa2
803 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 54 commits
PrimWong's picture
PrimWong
End of training
b34c37a over 2 years ago
  • runs
    End of training over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    12.9 kB
    End of training over 2 years ago
  • config.json
    2.74 kB
    Training in progress, step 200 over 2 years ago
  • model.safetensors
    802 MB
    xet
    End of training over 2 years ago
  • preprocessor_config.json
    317 Bytes
    Training in progress, step 200 over 2 years ago
  • special_tokens_map.json
    695 Bytes
    Training in progress, step 200 over 2 years ago
  • tokenizer.json
    712 kB
    Training in progress, step 200 over 2 years ago
  • tokenizer_config.json
    1.59 kB
    Training in progress, step 200 over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.training_args.TrainingArguments",
    • "transformers.training_args.OptimizerNames",
    • "torch.device"

    How to fix it?

    4.6 kB
    xet
    Training in progress, step 200 over 2 years ago
  • vocab.txt
    232 kB
    Training in progress, step 200 over 2 years ago