Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于recbole中知识图谱数据集的问题请教 #2041

Open
yunshanlucky opened this issue Apr 28, 2024 · 2 comments
Open

关于recbole中知识图谱数据集的问题请教 #2041

yunshanlucky opened this issue Apr 28, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@yunshanlucky
Copy link

本人是新手,希望得到您的帮助,翻阅论文时,发现很多基于recbole实现推荐算法的知识图谱数据集却不是自带的ml、amazon_book、lfm_1b数据集,碰到了如下问题:
1、如果他们的数据集是如何导入recbole框架,能否请您给出些可能?十分感谢
2、如果要外部导入自己的数据集,需要用kb4rec方法,自己研究了好几天,并没有入门怎么导入,网络上缺乏相应的学习资源,请问我应该怎么完成这个recbole的数据集构建
3、由于已完成转化的amazon_book跟lfm_1b数据集过于庞大,计算电脑经常加载数据集就显示killed,停止,能否有办法可以让自带的这两个数据集变小,可以正常运行
受益良多,感谢您的答复,十分感谢你们的贡献!受益良多

@yunshanlucky yunshanlucky added the enhancement New feature or request label Apr 28, 2024
@TayTroye
Copy link
Collaborator

TayTroye commented May 6, 2024

@yunshanlucky 你好
伯乐提供了数据集的转换工具;如果想缩小数据集的规模,可以选择增强数据集的过滤规则,例如: 在配置文件中修改
user_inter_num_interval

@yunshanlucky
Copy link
Author

@yunshanlucky 你好 伯乐提供了数据集的转换工具;如果想缩小数据集的规模,可以选择增强数据集的过滤规则,例如: 在配置文件中修改 user_inter_num_interval

感谢您的回复,您的回复对我帮助很大,我想再提问个另外的问题,在配置文件中修改如下配置

data preprocessing for knowledge graph triples

kg_reverse_r: True
entity_kg_num_interval: "[5,inf)"
relation_kg_num_interval: "[5,inf)"
请问entity_kg_num_interval、relation_kg_num_interval有什么作用,我尝试修改这两个配置,发现没有对数据集产生任何影响,再次感谢您的回复,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants