Youtube: Invoice Data Processing with Llama2 13B LLM RAG on Local CPU
- Download the Llama2 13B model, check models/model_download.txt for the download link.
- Install Weaviate local DB with Docker
docker compose up -d
- Install the requirements:
pip install -r requirements.txt
- Copy text PDF files to the
data
folder. - Run the script, to convert text to vector embeddings and save in Weaviate vector storage:
python ingest.py
- Run the script, to process data with Llama2 13B LLM RAG and return the answer:
python main.py "What is the invoice number value?"