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
/
tinyroberta-squad2

Question Answering
Transformers
PyTorch
Safetensors
English
roberta
Eval Results (legacy)
Model card Files Files and versions
xet
Community
8

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

  • Libraries
  • Transformers

    How to use deepset/tinyroberta-squad2 with Transformers:

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

VORTEXRAG: 7-Layer RAG — Causal Drift Filtering + Context Poison Guard [paper + code + demo]

#8 opened 2 days ago by
vigneshwar234

VORTEXRAG: 7-Layer RAG — Causal Drift Filtering + Context Poison Guard [paper + code + demo]

#7 opened 2 days ago by
vigneshwar234

TemporalMesh Transformer: 29.4 PPL at 48% compute — beats Mamba, new open-source architecture

#6 opened 2 days ago by
vigneshwar234

Unable to load model offline

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