jfzhouyoo/CR-GIS

Label of the recommendation task

wxl1999 opened this issue · 2 comments

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.

"movie_target": [kg_path_id[-1][-1]],

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?

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.

Thanks!