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

JohnDoe70
/
tinyroberta-squad2

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

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

  • Libraries
  • Transformers

    How to use JohnDoe70/tinyroberta-squad2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="JohnDoe70/tinyroberta-squad2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("JohnDoe70/tinyroberta-squad2")
    model = AutoModelForQuestionAnswering.from_pretrained("JohnDoe70/tinyroberta-squad2")
  • Notebooks
  • Google Colab
  • Kaggle
tinyroberta-squad2
738 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
JohnDoe70's picture
JohnDoe70
Add model files
ba538c4 over 2 years ago
  • onnx
    Add model files over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    775 Bytes
    Add model files over 2 years ago
  • merges.txt
    456 kB
    Add model files over 2 years ago
  • model.safetensors
    326 MB
    xet
    Add model files over 2 years ago
  • special_tokens_map.json
    280 Bytes
    Add model files over 2 years ago
  • tokenizer.json
    2.11 MB
    Add model files over 2 years ago
  • tokenizer_config.json
    1.22 kB
    Add model files over 2 years ago
  • vocab.json
    798 kB
    Add model files over 2 years ago