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

  • Log In
  • Sign Up

sshleifer
/
tiny-distilbert-base-cased-distilled-squad

Question Answering
Transformers
PyTorch
google-tensorflow TensorFlow
distilbert
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="sshleifer/tiny-distilbert-base-cased-distilled-squad")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("sshleifer/tiny-distilbert-base-cased-distilled-squad")
    model = AutoModelForQuestionAnswering.from_pretrained("sshleifer/tiny-distilbert-base-cased-distilled-squad")
  • Notebooks
  • Google Colab
  • Kaggle
tiny-distilbert-base-cased-distilled-squad
752 kB
Ctrl+K
Ctrl+K
History: 9 commits
system's picture
system HF Staff
Update tf_model.h5
33a976c almost 6 years ago
  • .gitattributes
    345 Bytes
    initial commit about 6 years ago
  • config.json
    467 Bytes
    Update config.json almost 6 years ago
  • pytorch_model.bin
    245 kB
    xet
    Update pytorch_model.bin almost 6 years ago
  • special_tokens_map.json
    112 Bytes
    Update special_tokens_map.json about 6 years ago
  • tf_model.h5
    293 kB
    xet
    Update tf_model.h5 almost 6 years ago
  • tokenizer_config.json
    49 Bytes
    Update tokenizer_config.json about 6 years ago
  • vocab.txt
    213 kB
    Update vocab.txt about 6 years ago