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

ahotrod
/
electra_large_discriminator_squad2_512

Question Answering
Transformers
PyTorch
google-tensorflow TensorFlow
electra
Model card Files Files and versions
xet
Community
2

Instructions to use ahotrod/electra_large_discriminator_squad2_512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ahotrod/electra_large_discriminator_squad2_512 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="ahotrod/electra_large_discriminator_squad2_512")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("ahotrod/electra_large_discriminator_squad2_512")
    model = AutoModelForQuestionAnswering.from_pretrained("ahotrod/electra_large_discriminator_squad2_512", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
electra_large_discriminator_squad2_512
2.67 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
julien-c's picture
julien-c HF Staff
Migrate model card from transformers-repo
fe230d4 over 5 years ago
  • .gitattributes
    345 Bytes
    initial commit about 6 years ago
  • README.md
    1.47 kB
    Migrate model card from transformers-repo over 5 years ago
  • config.json
    475 Bytes
    Update config.json about 6 years ago
  • electra_large_squad2_512.sh
    947 Bytes
    Update electra_large_squad2_512.sh about 6 years ago
  • nvidia-smi.png
    58.8 kB
    Update nvidia-smi.png about 6 years ago
  • pytorch_model.bin
    1.34 GB
    xet
    Update pytorch_model.bin about 6 years ago
  • special_tokens_map.json
    112 Bytes
    Update special_tokens_map.json about 6 years ago
  • tensorboard_learning_rate.png
    45.9 kB
    Update tensorboard_learning_rate.png about 6 years ago
  • tensorboard_loss.png
    42.9 kB
    Update tensorboard_loss.png about 6 years ago
  • tf_model.h5
    1.34 GB
    xet
    Update tf_model.h5 about 6 years ago
  • tokenizer_config.json
    48 Bytes
    Update tokenizer_config.json about 6 years ago
  • vocab.txt
    232 kB
    Update vocab.txt about 6 years ago