Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

saburbutt
/
xlnet_large_tweetqa

Question Answering
Transformers
PyTorch
xlnet
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use saburbutt/xlnet_large_tweetqa with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "question-answering" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # pip install "transformers<5.0.0"
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="saburbutt/xlnet_large_tweetqa")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("saburbutt/xlnet_large_tweetqa")
    model = AutoModelForQuestionAnswering.from_pretrained("saburbutt/xlnet_large_tweetqa", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
xlnet_large_tweetqa
1.46 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
saburbutt's picture
saburbutt
Create README.md
ed48a14 over 5 years ago
  • .gitattributes
    345 Bytes
    initial commit about 6 years ago
  • README.md
    0 Bytes
    Create README.md over 5 years ago
  • config.json
    811 Bytes
    version1 about 6 years ago
  • pytorch_model.bin
    1.46 GB
    xet
    version1 about 6 years ago
  • special_tokens_map.json
    202 Bytes
    version1 about 6 years ago
  • spiece.model
    798 kB
    version1 about 6 years ago
  • tokenizer_config.json
    308 Bytes
    version1 about 6 years ago