This is a simple UI chat using the Falcon-7b-instruct model. It was created using the Langchain and Chainlit frameworks.
- Falcon - the official HuggingFace model card for Falcon-7b-Instruct
- Langchain - documentation
- Chainlit - UI documentation
Read more about the Falcon model: link
-
Fork this repository:
https://github.com/MadalinTat/falcon7b-instruct-chat.git cd falcon7b-instruct-chat
-
Rename example.env to .env and then place your token in the file. Get your Hugging Face API Token from here.
HUGGINGFACE_API_TOKEN = your-huggingface-api-token-here
-
Run the following command in the terminal to install the necessary packages:
pip install -r requirements.txt
-
Run the following command and start chatting!
chainlit run app.py -w
I am planning to work more on this app:
- Extend the capabilities of Langchain 🦜
- Extra UI features 🕹️
- Implement ChromaDB 💾
- Ability to create tasks and complete them 📝 BabyAGI inspired
- Blog post about how I built and thought through everything ✏️
- Fine-tune Falcon 7b 🪇
- Implement the fined-tuned model ⚙️
- Blog post about fine-tuning ✏️