This project is for people that want to use MLflow to evaluate their RAG pipeline.
The project uses:
LlamaIndex
as an orchestratorOllama
andHuggingfaceLLMs
MLflow
as an MLOps framework
- Clone the repository
git clone https://github.com/AnasAber/RAG_in_CPU.git
- Install the dependencies
pip install -r requirements.txt
- 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.
- Open two terminals:
python tune_rag.py
And after the run, do:
mlflow ui