Skip to content

Simple chat app using Falcon7b-instruct, Langchain & Chainlit.

Notifications You must be signed in to change notification settings

cetusian/falcon7b-instruct-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Falcon-7b-Instruct: Chat App 𓅃

Falcon

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

Use the chat:

  1. Fork this repository:

    https://github.com/MadalinTat/falcon7b-instruct-chat.git
    
    cd falcon7b-instruct-chat
    
  2. 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
    
  3. Run the following command in the terminal to install the necessary packages:

    pip install -r requirements.txt
    
  4. Run the following command and start chatting!

    chainlit run app.py -w
    

Soon

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 ✏️

About

Simple chat app using Falcon7b-instruct, Langchain & Chainlit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages