Difference between revisions of "LLM: RAG Thomas Jay"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Sumber: https://github.com/ThomasJay/RAG ==Referensi=== * https://github.com/ThomasJay/RAG")
 
Line 1: Line 1:
 
Sumber: https://github.com/ThomasJay/RAG
 
Sumber: https://github.com/ThomasJay/RAG
  
 +
Persiapkan ollama
  
 +
ollama pull llama3
  
  
 +
Persiapkan Virtualenv
  
 +
sudo apt install python3-virtualenv python3-pip libgl1
 +
virtualenv --python=python3 venv
 +
source venv/bin/activate
  
 +
Clone Source
 +
 +
mkdir RAG
 +
cd RAG
 +
git clone https://github.com/ThomasJay/RAG.git
 +
pip install -r requirements.txt
 +
 +
 +
Run
 +
 +
streamlit run streamlit_app.py
  
 
==Referensi===
 
==Referensi===
  
 
* https://github.com/ThomasJay/RAG
 
* https://github.com/ThomasJay/RAG

Revision as of 08:48, 16 July 2024

Sumber: https://github.com/ThomasJay/RAG

Persiapkan ollama

ollama pull llama3


Persiapkan Virtualenv

sudo apt install python3-virtualenv python3-pip libgl1
virtualenv --python=python3 venv
source venv/bin/activate

Clone Source

mkdir RAG
cd RAG
git clone https://github.com/ThomasJay/RAG.git
pip install -r requirements.txt


Run

streamlit run streamlit_app.py

Referensi=