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
      • Hardware
      • 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
15

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", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-base-cased-distilled-squad
1.79 GB
Ctrl+K
Ctrl+K
  • 10 contributors
History: 21 commits
lysandre's picture
lysandre HF Staff
Updates incorrect tokenizer configuration file (#10)
564e9b5 verified over 2 years ago
  • .gitattributes
    399 Bytes
    Adding `safetensors` variant of this model (#7) over 3 years ago
  • README.md
    9.52 kB
    Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#6) over 3 years ago
  • config.json
    473 Bytes
    Update config.json over 6 years ago
  • model.safetensors
    261 MB
    xet
    Adding `safetensors` variant of this model (#7) over 3 years ago
  • openvino_model.bin
    261 MB
    xet
    Adding OpenVINO file of this model (#8) over 3 years ago
  • openvino_model.xml
    513 kB
    Adding OpenVINO file of this model (#8) over 3 years ago
  • pytorch_model.bin
    261 MB
    xet
    Update pytorch_model.bin over 6 years ago
  • rust_model.ot
    261 MB
    xet
    Update rust_model.ot over 6 years ago
  • saved_model.tar.gz
    241 MB
    xet
    Update saved_model.tar.gz over 6 years ago
  • tf_model.h5
    261 MB
    xet
    Update tf_model.h5 over 6 years ago
  • tfjs.tar.gz
    241 MB
    xet
    Update tfjs.tar.gz over 6 years ago
  • tokenizer.json
    436 kB
    Update tokenizer.json almost 6 years ago
  • tokenizer_config.json
    49 Bytes
    Updates incorrect tokenizer configuration file (#10) over 2 years ago
  • vocab.txt
    213 kB
    Add vocab over 5 years ago