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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

aware-ai
/
longformer-squadv2

Question Answering
Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
longformer
Model card Files Files and versions
xet
Community
1

Instructions to use aware-ai/longformer-squadv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use aware-ai/longformer-squadv2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="aware-ai/longformer-squadv2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("aware-ai/longformer-squadv2")
    model = AutoModelForQuestionAnswering.from_pretrained("aware-ai/longformer-squadv2")
  • Notebooks
  • Google Colab
  • Kaggle
longformer-squadv2
3.03 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 23 commits
flozi00's picture
flozi00
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
b040cae almost 3 years ago
  • .gitattributes
    399 Bytes
    Adding `safetensors` variant of this model (#1) almost 3 years ago
  • config.json
    757 Bytes
    Update config.json almost 6 years ago
  • merges.txt
    456 kB
    Update merges.txt about 6 years ago
  • model.safetensors
    595 MB
    xet
    Adding `safetensors` variant of this model (#1) almost 3 years ago
  • model_args.json
    1.46 kB
    Update model_args.json about 6 years ago
  • nbest_predictions_test.json
    60.5 MB
    xet
    Update nbest_predictions_test.json about 6 years ago
  • null_odds_test.json
    557 kB
    Update null_odds_test.json about 6 years ago
  • optimizer.pt
    1.18 GB
    xet
    Update optimizer.pt about 6 years ago
  • predictions_test.json
    589 kB
    Update predictions_test.json about 6 years ago
  • pytorch_model.bin
    595 MB
    xet
    Update pytorch_model.bin about 6 years ago
  • scheduler.pt
    330 Bytes
    Update scheduler.pt about 6 years ago
  • special_tokens_map.json
    150 Bytes
    Update special_tokens_map.json about 6 years ago
  • tf_model.h5
    595 MB
    xet
    Update tf_model.h5 almost 6 years ago
  • tokenizer_config.json
    200 Bytes
    Update tokenizer_config.json about 6 years ago
  • training_args.bin
    1.79 kB
    xet
    Update training_args.bin about 6 years ago
  • vocab.json
    899 kB
    Update vocab.json about 6 years ago