Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Using MLflow to track a RAG pipeline, using LLamaIndex and Ollama/HuggingfaceLLMs

Notifications You must be signed in to change notification settings

AnasAber/MLflow_with_RAG

Repository files navigation

Project ongoing...🥀

This project is for people that want to use MLflow to evaluate their RAG pipeline.

The project uses:

  • LlamaIndex as an orchestrator
  • Ollama and HuggingfaceLLMs
  • MLflow as an MLOps framework

Project Overview Diagram

How to start

  1. Clone the repository
git clone https://github.com/AnasAber/RAG_in_CPU.git
  1. Install the dependencies
pip install -r requirements.txt
  1. Notebook Prep:
  • Put your own data files in the data/ folder
  • Go to the notebook, and replace "api_key_here" with your huggingface_api_key
  • If you have GPU, you're fine, if not, run it on google colab, and make sure to download the json file output at the end of the run.
  1. Open two terminals:
python tune_rag.py

And after the run, do:

mlflow ui