HKUDS / LightRAG

"LightRAG: Simple and Fast Retrieval-Augmented Generation"
https://arxiv.org/abs/2410.05779
MIT License
10.02k stars 1.25k forks source link

How to evaluate lightrag metrics on private data #159

Closed WanFeng123313 closed 4 weeks ago

WanFeng123313 commented 1 month ago

Hi author, I tested your Lightrag on some of my documents and I am very satisfied with the results, but I see that your evaluation is on some datasets, how can I evaluate on my documents to form multiple evaluation metrics

LarFii commented 1 month ago

There are a few options. First, if you have ground truth, you can directly use it for evaluation. Second, you can use an LLM to generate corresponding queries and ground truth for your documents (though generating ground truth can be challenging for queries that need to consider the entire dataset). Third, if building ground truth is difficult, you can refer to the steps in the reproduce section to generate corresponding queries for your data, then perform one-to-one comparisons with other models.

WanFeng123313 commented 1 month ago

Thank you for your answer!