Downloads · 30 days
6
30% of all-time downloads
mille055/duke_chatbot
duke_chatbot is a machine learning model from mille055. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
This project includes chat bot using a fine-tuned local LLM and a Retrieval Augmented Generation (RAG) System to chat with documents from the Duke University AI Master's program. It creates an interactive chat experie…
Downloads · 30 days
6
30% of all-time downloads
All-time downloads
20
Public
Repo size
370 MB
Likes
0
Public
Click a slice to open those files.
.safetensors369 MB · 99%
From the Hugging Face model README
This project includes chat bot using a fine-tuned local LLM and a Retrieval Augmented Generation (RAG) System to chat with documents from the Duke University AI Master's program. It creates an interactive chat experience with the data gleaned from the Duke websites. Inspiration drawn from https://github.com/architkaila/Chat-With-Documents.

Following are the steps to run the StreamLit Application:
1. Create a new conda environment and activate it:
conda create --name chat python=3.8.17
conda activate chat
2. Install python package requirements:
pip install -r requirements.txt
4. Add OpenAI API Key
- Copy the `env.example` file and rename the copy to `.env`.
- Open the `.env` file and replace `your_api_key_here` with your actual OpenAI API key.
5. Run the application
streamlit run app.py