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

AdamCodd
/
distilroberta-squad2

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

Instructions to use AdamCodd/distilroberta-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AdamCodd/distilroberta-squad2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="AdamCodd/distilroberta-squad2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("AdamCodd/distilroberta-squad2")
    model = AutoModelForQuestionAnswering.from_pretrained("AdamCodd/distilroberta-squad2")
  • Notebooks
  • Google Colab
  • Kaggle
distilroberta-squad2 / onnx
330 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
AdamCodd's picture
AdamCodd
Adding ONNX file of this model (#1)
98435ce over 2 years ago
  • added_tokens.json
    75 Bytes
    Adding ONNX file of this model (#1) over 2 years ago
  • config.json
    669 Bytes
    Adding ONNX file of this model (#1) over 2 years ago
  • merges.txt
    456 kB
    Adding ONNX file of this model (#1) over 2 years ago
  • model.onnx
    326 MB
    xet
    Adding ONNX file of this model (#1) over 2 years ago
  • special_tokens_map.json
    267 Bytes
    Adding ONNX file of this model (#1) over 2 years ago
  • tokenizer.json
    2.11 MB
    Adding ONNX file of this model (#1) over 2 years ago
  • tokenizer_config.json
    1.51 kB
    Adding ONNX file of this model (#1) over 2 years ago
  • vocab.json
    798 kB
    Adding ONNX file of this model (#1) over 2 years ago