|
3 mesiacov pred | |
---|---|---|
.. | ||
media | 3 mesiacov pred | |
README.md | 3 mesiacov pred | |
gradio_lightrag_querying.py | 3 mesiacov pred | |
ollama_llama.py | 3 mesiacov pred |
This folder contains the Scripts and Index files for the LearnOpenCV article - LightRAG: Simple and Fast Retrieval-Augmented Generation for Legal Doc Analysis.
llama3.1:latest 8b
model and the nomic-embed-text
model from the Ollama Hub. You can download this from this Dropbox Link. This simplifies if you like to immediately see some results at start without spending time about an hour to test it out. Feel free to try indexing on your own files and model configs.gradio_lightrag_querying.py file
num_ctx: 16000
as it may throw CUDA error while querying in hybrid
mode.git clone https://github.com/HKUDS/LightRAG.git
cd LightRAG
pip install -e .
Setup ollama locally and ollama pull llama3.1:latest
Open a new terminal ollama serve
to monitor logs.
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.