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

  • Log In
  • Sign Up

deepset
/
roberta-base-squad2-distilled

Question Answering
Transformers
PyTorch
Safetensors
English
roberta
exbert
Eval Results (legacy)
Model card Files Files and versions
xet
Community
6

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

  • Libraries
  • Transformers

    How to use deepset/roberta-base-squad2-distilled with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="deepset/roberta-base-squad2-distilled")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("deepset/roberta-base-squad2-distilled")
    model = AutoModelForQuestionAnswering.from_pretrained("deepset/roberta-base-squad2-distilled")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
roberta-base-squad2-distilled
995 MB
Ctrl+K
Ctrl+K
  • 8 contributors
History: 17 commits
julianrisch's picture
julianrisch
Update README.md
165382b verified over 1 year ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#5) about 3 years ago
  • README.md
    8.17 kB
    Update README.md over 1 year ago
  • config.json
    729 Bytes
    add model over 4 years ago
  • merges.txt
    456 kB
    add model over 4 years ago
  • model.safetensors
    496 MB
    xet
    Adding `safetensors` variant of this model (#5) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    496 MB
    xet
    add model over 4 years ago
  • special_tokens_map.json
    239 Bytes
    add model over 4 years ago
  • tokenizer.json
    1.36 MB
    add model over 4 years ago
  • tokenizer_config.json
    295 Bytes
    add model over 4 years ago
  • vocab.json
    798 kB
    add model over 4 years ago