Instructions to use lysandre/bidaf-elmo-model-2020.03.19 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- AllenNLP
How to use lysandre/bidaf-elmo-model-2020.03.19 with AllenNLP:
import allennlp_models from allennlp.predictors.predictor import Predictor predictor = Predictor.from_path("hf://lysandre/bidaf-elmo-model-2020.03.19") 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
Example of AllenNLP question answering model.
- Downloads last month
- 13