Skip to content

Create a chatbot in less than 2 minutes with MLX Server, Chainlit and Llama3

Notifications You must be signed in to change notification settings

flaviodelgrosso/mlx-chainlit-llama3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLX Server, Chainlit and Llama3.1 Chatbot in less than 2 minutes

MLX Server Chainlit Demo

Installation

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Running Server

python -m mlx_lm.server --model mlx-community/Meta-Llama-3.1-8B-Instruct-4bit --log-level DEBUG

This will start the MLX server and will download the LLM if it is not already downloaded from Hugging Face. Check this link for more information about MLX.

Running App

chainlit run app.py

This will start the Chainlit app. Check this link for more information about ChainLit.

About

Create a chatbot in less than 2 minutes with MLX Server, Chainlit and Llama3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published