Skip to content

katanaml/llm-mistral-invoice-cpu

Repository files navigation

Invoice data processing with Mistral LLM on local CPU

Youtube: Invoice Data Processing with Mistral LLM on Local CPU


Quickstart

  1. Download the Mistral model, check models/model_download.txt for the download link.
  2. Install the requirements:

pip install -r requirements.txt

  1. Copy text PDF files to the data folder.
  2. Run the script, to convert text to vector embeddings and save in FAISS index:

python ingest.py

  1. Run the script, to process data with Mistral LLL and return the answer:

python main.py "retrieve invoice number value"

Releases

No releases published

Packages

No packages published

Languages