Skip to content

.link 文件在recbole框架中是如何使用的呢 #1348

Answered by Ethan-TZ
Kongxiangzhouye asked this question in Q&A
Discussion options

You must be logged in to vote

@Kongxiangzhouye 您好,感谢您的关注!
RecBole框架中加载.link文件得到entity_id与item_id的对应关系,即变量item2entity与entity2item。而这两个变量的作用是将entity_id和item_id映射到同一internal id空间,其实现参考_merge_item_and_entity方法。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kongxiangzhouye
Comment options

Answer selected by Kongxiangzhouye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants