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

distilbert
/
distilbert-base-cased-distilled-squad

Question Answering
Transformers
PyTorch
google-tensorflow TensorFlow
Rust
Safetensors
OpenVINO
English
distilbert
Eval Results (legacy)
Model card Files Files and versions
xet
Community
12

Instructions to use distilbert/distilbert-base-cased-distilled-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use distilbert/distilbert-base-cased-distilled-squad with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="distilbert/distilbert-base-cased-distilled-squad")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-cased-distilled-squad")
    model = AutoModelForQuestionAnswering.from_pretrained("distilbert/distilbert-base-cased-distilled-squad")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

add AIBOM

#12 opened 12 months ago by
RiccardoDav

Score

#11 opened almost 2 years ago by
vendedora

Add Core ML conversion

1
#9 opened over 2 years ago by
Omkar008

Add evaluation results on the squad_v2 config and validation split of squad_v2

#5 opened over 3 years ago by
autoevaluator

What are the parameters used for the published performance (from F1=87.1 in the dev set of Squad1.1)?

#2 opened almost 4 years ago by
marcusborela
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs