A bot that answers your questions about kaggle competitions, choose a competittion in the listBOX, let the backend program gather the necessary data from kaggle website, and here you go! the bot is ready to receive your questions.
- clone the repo
- download the kaggle json file containing your credentials and copy it to your local directory ~/.kaggle
-
pip install the requirements and open 2 separate cmd terminals, cd to the repo directory and run:
- cmd1:
python back_app.py
- cmd2:
streamlit run app.py
- cmd1:
-
in a shell terminal, cd to the repo directory and run:
bash start.sh
after picking a competition, all related data including discussions and notebooks sections get loaded then splitted and stored in faiss vectorstore. we use mistral-7b-gguf model, which can totally run on cpu at the cost of being slow, the model is served using a light weight API.
with 8gb RAM, the model takes about 120 seconds to generate a full answer.