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

allenai
/
transformer_qa

Question Answering
AllenNLP
TensorBoard
English
Model card Files Files and versions
xet
Metrics Training metrics Community
1

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

  • Libraries
  • AllenNLP

    How to use allenai/transformer_qa with AllenNLP:

    import allennlp_models
    from allennlp.predictors.predictor import Predictor
    
    predictor = Predictor.from_path("hf://allenai/transformer_qa")
    predictor_input = {"passage": "My name is Wolfgang and I live in Berlin", "question": "Where do I live?"}
    predictions = predictor.predict_json(predictor_input)
  • Notebooks
  • Google Colab
  • Kaggle
transformer_qa
1.42 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
dirkgr's picture
dirkgr
lbourdois's picture
lbourdois
Upload README.md with huggingface_hub (#1)
07487c2 over 3 years ago
  • log
    Update repository over 4 years ago
  • vocabulary
    Update repository over 4 years ago
  • .gitattributes
    1.22 kB
    Update repository over 4 years ago
  • README.md
    579 Bytes
    Upload README.md with huggingface_hub (#1) over 3 years ago
  • config.json
    1.53 kB
    Update repository over 4 years ago
  • metrics.json
    1.01 kB
    Update repository over 4 years ago
  • weights.th
    1.42 GB
    xet
    Update repository over 4 years ago