Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 965 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 965 Bytes

ChatDan 🤖

ChatDan is an AI chatbot designed to emulate myself (Dan Jia) using a Large-Language Model (LLM).

Quick Start

  1. Clone the repository and install required Python packages:

    git clone https://github.com/danjia21/chat_dan.git
    cd chat_dan
    pip3 install -r requirements.txt
  2. Launch the Streamlit application:

    streamlit run app.py
  3. If you want to test running flan-t5-large locally on your machine, ensure you've downloaded the pre-trained model weights from Hugging Face before launching the application using the following script. Models on Hugging Face are hosted with Git LFS, so make sure it is installed:

    ./download_weights.sh  # Requires git-lfs
  4. Alternatively, a Dockerfile is provided if you prefer to run ChatDan in a container:

    docker build -t chatdan .
    docker run -p 8501:8501 chatdan

Enjoy conversing with ChatDan!