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

nlpconnect
/
dpr-nq-reader-roberta-base

Question Answering
Transformers
PyTorch
roberta
Model card Files Files and versions
xet
Community
1

Instructions to use nlpconnect/dpr-nq-reader-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use nlpconnect/dpr-nq-reader-roberta-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="nlpconnect/dpr-nq-reader-roberta-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("nlpconnect/dpr-nq-reader-roberta-base")
    model = AutoModelForQuestionAnswering.from_pretrained("nlpconnect/dpr-nq-reader-roberta-base")
  • Notebooks
  • Google Colab
  • Kaggle
dpr-nq-reader-roberta-base
995 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
8e1d81b almost 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model almost 3 years ago
  • config.json
    811 Bytes
    add model over 4 years ago
  • merges.txt
    456 kB
    add tokenizer over 4 years ago
  • model.safetensors
    496 MB
    xet
    Adding `safetensors` variant of this model almost 3 years ago
  • pytorch_model.bin
    496 MB
    xet
    add model over 4 years ago
  • special_tokens_map.json
    772 Bytes
    add tokenizer over 4 years ago
  • tokenizer.json
    1.36 MB
    add tokenizer over 4 years ago
  • tokenizer_config.json
    1.41 kB
    add tokenizer over 4 years ago
  • vocab.json
    798 kB
    add tokenizer over 4 years ago