Code Monkey home page Code Monkey logo

kagglebot's Introduction

Kagil BOT

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.


Screenshot (84)

Screenshot (87)


How to run:

  1. clone the repo
  2. download the kaggle json file containing your credentials and copy it to your local directory ~/.kaggle
  • on Windows:

    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
  • on WSL:

    in a shell terminal, cd to the repo directory and run: bash start.sh

Under the hood:

arch

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.

limitation:

with 8gb RAM, the model takes about 120 seconds to generate a full answer.

kagglebot's People

Contributors

kaoutaar avatar

Stargazers

mark avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.