- CPU-only GraphRag + Default RAG for Multi-Hop QA
- Uses qunatized (Q4) Gemma2 2B through Ollama
curl -fsSL https://ollama.com/install.sh | sh
ollama serve &
ollama pull gemma2:2b
huggingface-cli login # for gemma 2 tokenizer access
poetry run python scripts/batch_index.py dataset/sampled_gold_data.json
poetry run python scripts/batch_query.py dataset/sampled_gold_data.json . dataset/graph_rag_prediction.csv
poetry run python scripts/hotpot_evaluate_v1.py dataset/graph_rag_prediction_formatted.json dataset/sampled_gold_data.json