Label of the recommendation task
wxl1999 opened this issue · 2 comments
wxl1999 commented
Hi, I read your code and find that the label of the recommendation task is the last entity in each triple of the path in metadata.
CR-GIS/CR-GIS/src/dataset_opendialkg.py
Line 107 in a6d4816
However, in the dataset, some of the last entity in each triple is not the item but the attribute.
I am quite confused about this, can you give an explanation about it?
jfzhouyoo commented
We found that NER is difficult to accurately extract the item in the response, so here we simply use the last entity of the KG path parallel to the conversation in OpenDialKG as the recommendation target.
Both attribute and item are presented in the form of entities in the knowledge graph, so we also extend the attribute as the recommendation target.
wxl1999 commented
Thanks!