• Stars
    star
    253
  • Rank 160,776 (Top 4 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created about 1 year ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Data extraction with LLM on CPU

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"