Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

AmazonScience
/
qanlu

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

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

  • Libraries
  • Transformers

    How to use AmazonScience/qanlu with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="AmazonScience/qanlu")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("AmazonScience/qanlu")
    model = AutoModelForQuestionAnswering.from_pretrained("AmazonScience/qanlu")
  • Notebooks
  • Google Colab
  • Kaggle
qanlu
Ctrl+K
Ctrl+K
  • 2 contributors
History: 24 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
ce46a20 about 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model about 3 years ago
  • README.md
    2.88 kB
    Update README.md over 4 years ago
  • config.json
    777 Bytes
    Upload config.json over 4 years ago
  • merges.txt
    456 kB
    Upload merges.txt over 4 years ago
  • model.safetensors
    496 MB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    496 MB
    xet
    Upload pytorch_model.bin with git-lfs over 4 years ago
  • special_tokens_map.json
    772 Bytes
    Upload special_tokens_map.json over 4 years ago
  • tokenizer_config.json
    1.38 kB
    Upload tokenizer_config.json over 4 years ago
  • training_args.bin

    Detected Pickle imports (2)

    • "torch.device",
    • "argparse.Namespace"

    How to fix it?

    1.71 kB
    xet
    Upload training_args.bin with git-lfs over 4 years ago
  • vocab.json
    899 kB
    Upload vocab.json over 4 years ago