A web UI for my fine tuned LLAMA2 and Stable Diffusion model with RAG and voice prompt capabilities.
Added the Stable Diffusion XL model fine-tuned using Dreambooth. Type <GEN>
before prompt to generate image!
ChatLLAMA now supports Retrieval Augmented Generation (RAG) via Langchain. Click on Upload file to use a document.
This repository contains the fine tuned version of llama-2-7b-chat model trained on my dataset with a web interface. Converts voice prompts to text via OpenAI's Whisper model. Model trained using QLoRA and deployed using HuggingFace ecosystem. Frontend in react and served using Flask.
- Run
git clone https://github.com/mohitpg/chatllama.git
- Run
python -m venv <path>
- Activate
Bashsource <path>/bin/activate
Windows<path>\Scripts\activate.bat
- Run
pip install -r requirements.txt
- Go to chatllama/front and run
npm run build
- Login with huggingface-cli
- Finally run
python server.py
This will run the server at localhost port:5000
https://arxiv.org/abs/2305.14314
https://arxiv.org/abs/2402.18158
https://arxiv.org/abs/2208.12242