GraphRAG icon indicating copy to clipboard operation
GraphRAG copied to clipboard

AttributeError: 'float' object has no attribute 'replace'

Open dihorial opened this issue 8 months ago • 6 comments

Hi! I need some help. I'm trying to run the system using the multihop-rag-summary dataset to evaluate LightRAG, but I've encountered the issue:

Image

And here's my config2.yaml file

Image

I'm not sure if this has any impact, but I have manually moved the nltk_data to the corresponding path.

Image

dihorial avatar Apr 02 '25 11:04 dihorial

This is a bug about the nltk_data, I also often meet it. So just ignore it.

JayLZhou avatar Apr 02 '25 11:04 JayLZhou

Ok, thank you! What about the Attribute Error I mentioned at first, what should I do to solve it?

dihorial avatar Apr 02 '25 12:04 dihorial

Wait me a moment, we will try to fix it !

JayLZhou avatar Apr 02 '25 13:04 JayLZhou

The "multihop-rag-summary" dataset is designed for abstract questions. Currently, the existing code does not support evaluating abstract questions. We will integrate the evaluation code into our repo as soon as possible.

sam234990 avatar Apr 02 '25 13:04 sam234990

I get it. So, those two datasets (multihop-rag & multihop-rag-summary) can't be evaluated with the current code, right? Does this apply to all GraphRAG models?

dihorial avatar Apr 02 '25 14:04 dihorial

Hi, we will release the evaluating code a.s.a.p

JayLZhou avatar Apr 03 '25 04:04 JayLZhou