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

deepset
/
xlm-roberta-base-squad2-distilled

Question Answering
Transformers
PyTorch
Safetensors
multilingual
xlm-roberta
exbert
Model card Files Files and versions
xet
Community
6

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

  • Libraries
  • Transformers

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

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

[AUTOMATED] Model Memory Requirements

#6 opened over 2 years ago by
model-sizer-bot

This is roberta-base not distilled

4
#4 opened over 3 years ago by
bilalghanem

Add evaluation results on the squad_v2 config of squad_v2

#3 opened over 3 years ago by
autoevaluator

Add evaluation results on the squad_v2 config of squad_v2

7
#1 opened almost 4 years ago by
autoevaluator
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs