ChatDan is an AI chatbot designed to emulate myself (Dan Jia) using a Large-Language Model (LLM).
-
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
-
Launch the Streamlit application:
streamlit run app.py
-
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
-
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!