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

deepset
/
bert-base-uncased-squad2

Question Answering
Transformers
PyTorch
Safetensors
English
bert
Eval Results (legacy)
Model card Files Files and versions
xet
Community
7

Instructions to use deepset/bert-base-uncased-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use deepset/bert-base-uncased-squad2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="deepset/bert-base-uncased-squad2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("deepset/bert-base-uncased-squad2")
    model = AutoModelForQuestionAnswering.from_pretrained("deepset/bert-base-uncased-squad2")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bert-base-uncased-squad2 / onnx
437 MB
Ctrl+K
Ctrl+K
  • 9 contributors
History: 1 commit
Sinabeana's picture
Sinabeana
Adding ONNX file of this model
a20485f verified about 1 year ago
  • config.json
    703 Bytes
    Adding ONNX file of this model about 1 year ago
  • model.onnx
    436 MB
    xet
    Adding ONNX file of this model about 1 year ago
  • special_tokens_map.json
    695 Bytes
    Adding ONNX file of this model about 1 year ago
  • tokenizer.json
    711 kB
    Adding ONNX file of this model about 1 year ago
  • tokenizer_config.json
    1.19 kB
    Adding ONNX file of this model about 1 year ago
  • vocab.txt
    232 kB
    Adding ONNX file of this model about 1 year ago