This repository contains the code for a machine learning context based question answering project. It uses a pre-trained natural language model gathered from Hugging Face models hub, the inference is made using Pytorch as the Deep learning framework.
- In order to test it locally, first you need to have a enviroment with Python 3.8+ installed, and then install the project dependencies:
pip install -r requirements.txt
- After installing the dependencies, you need to run it using Streamlit:
streamlit run src/main.py
- You can also use docker to run:
docker build -t question-answering .
docker run -p 8501:8501 question-answering