majoferenc / local_llama3_ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local Llama 3 UI

Chat UI for local offline Llama3 Model to chat with.

Architecture

Alt text

Streamlit UI

Alt text

Prerequisites

Download Llama 3 model

In your terminal:

ollama pull llama3:latest

Install Python libraries

In your terminal:

pip install -r requirements.txt

Run the Streamlit app

streamlit run streamlit_app_v2.py

Create Shell alias

Add into your bashrc or zshrc file:

alias llama='cd ~/llama3_local; streamlit run streamlit_app_v2.py'

NOTE: update the cd ~/llama3_local with the path, where you've saved this project.

Run the shell alias to call it from any directory

llama

About

License:MIT License


Languages

Language:Python 100.0%