Skip to content

Regarding the inference part of LLM #23

@2066537830

Description

@2066537830

Thank you for your great work!
According to the prompt in rag-reasoning.sh, the difference between the operation of GNN-RAG and GNn-rag-RA lies in whether --add_rule is added, that is, whether RA is used, as shown in the figure:

Image

Under the KGQA-GNN-RAG result, RA should not be used, but the result file name you provided uses RA, as shown in the following figure. Why is that?

Image

And rags.txt shows that --add_rule is enabled:

Image

Without the -add_rule parameter, the result I reproduced is:
Accuracy: 51.039005222773895 Hit: 66.15479115479116 Hit1: 60.68796068796069 F1: 49.91688643599812 Precision: 56.828675933272876 Recall: 51.039005222773895。
Add the -add_rule parameter, and the reproduction result is:
Accuracy: 73.76651533728501 Hit: 85.68796068796068 Hit1: 80.58968058968058 F1: 71.28257365406769 Precision: 77.18506449319466 Recall: 73.76651533728501。
I hope you can clear up my doubts!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions