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

sjrhuschlee
/
bart-base-squad2

Question Answering
Transformers
PyTorch
Safetensors
English
bart
squad
squad_v2
Eval Results (legacy)
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use sjrhuschlee/bart-base-squad2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="sjrhuschlee/bart-base-squad2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("sjrhuschlee/bart-base-squad2")
    model = AutoModelForQuestionAnswering.from_pretrained("sjrhuschlee/bart-base-squad2")
  • Notebooks
  • Google Colab
  • Kaggle
bart-base-squad2
1.12 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 14 commits
librarian-bot's picture
librarian-bot
Librarian Bot: Add base_model information to model
478aa2f over 2 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    3.19 kB
    Librarian Bot: Add base_model information to model over 2 years ago
  • config.json
    1.7 kB
    Upload config.json with huggingface_hub about 3 years ago
  • merges.txt
    456 kB
    Upload merges.txt with huggingface_hub about 3 years ago
  • model.safetensors
    558 MB
    xet
    Upload model.safetensors with huggingface_hub about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    558 MB
    xet
    Upload pytorch_model.bin with huggingface_hub about 3 years ago
  • special_tokens_map.json
    280 Bytes
    Upload special_tokens_map.json with huggingface_hub about 3 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer.json with huggingface_hub about 3 years ago
  • tokenizer_config.json
    348 Bytes
    Upload tokenizer_config.json with huggingface_hub about 3 years ago
  • vocab.json
    798 kB
    Upload vocab.json with huggingface_hub about 3 years ago