Skip to content

Domain-specific chatbot in finance using Large Language Model

Notifications You must be signed in to change notification settings

AFauzulh/finance-chatbot-llama

Repository files navigation

Specific-domain Generative-based Chatbot using Large Language Model

  • Model : Llama 2 7b chat

  • Dataset : finance_questions by 4DR1455

  • Maximum Length : 256

  • Fine Tuning:

    • QLoRA Adapter on Transformer Attentions
  • UI:

    • Streamlit simple chat UI

Note:
If you already download the base pretrained model from huggingface you can create model_cache folder inside this repository place the base pretrained model into model_cache folder.

Deployment

To deploy this project run

Step 1 : Build Docker Image

  docker build -t finance-chatbot-app .

Step 2 : Run Docker Container

  docker run -d --restart always --gpus all --name finance-chatbot-app -p 8501:8501 finance-chatbot-app

To stop and delete the container run

  docker stop chatbot-app && docker rm finance-chatbot-app

Releases

No releases published

Packages

No packages published