Comments (2)
您好!抱歉回复晚了,我依次回复一下上述问题。
Q1: RecBole-GNN 中的 DiffNet 是否支持加载 review embedding?应该如何设置?
A1: 支持的。首先需要将 pretrained_review
设置为 True
。接下来,假设您的数据集叫 data1,还需要进一步添加两个输入文件,用户侧特征 data1.user 和商品侧特征 data1.item。文件的格式如下(以 data1.user 为例):
user_id:token user_review_emb:float_seq
xxx 1.00 2.00 3.00
因此如果您有 .npy 文件的话,可能还需要您手动转换一下。但通过这种形式,这些预训练特征会自动链接、对齐在交互数据上。
Q2: 为什么用户/商品数量不匹配?
A2: 一方面是因为用户和商品都会默认有一个 padding 位,另一方面可能由于配置文件中设置了数据筛选,交互数量不足的商品可能被删掉了。但是如果您通过 .user 和 .item 的形式加载预训练特征,则无需考虑数量是否匹配的问题,RecBole 库会自动处理。
from recbole-gnn.
好的,感谢回复,没有其它问题了。
from recbole-gnn.
Related Issues (20)
- 如何指定自己的数据集 HOT 1
- [🐛BUG] MHCN在Douban数据集上并没有复现出原论文的效果 HOT 8
- 执行超参数搜索时KeyError报错 HOT 6
- Question: About LightGCN eval mode. HOT 2
- Question: batch of training HOT 4
- [🐛BUG] Recole -GNN error HOT 5
- [🐛BUG] SGL emb_loss should not be averaged. HOT 1
- 关于不同数据集下超参数搜索 HOT 1
- 复现最佳超参问题 HOT 1
- [❓Question] 请问为什么 `sequential_base.yaml` 中 `train_neg_sample_args` 要设置为 `None`? HOT 2
- New dataset not being detected. Where to save the atomic files? HOT 2
- 关于性能的建议
- 关于数据集的问题 HOT 6
- `model_name` [xxx] is not the name of an existing model. HOT 1
- [🐛BUG] 有个空指针异常能帮忙看看吗? HOT 1
- 运行srgnn时报错 HOT 2
- 关于运行SRGNN在douban和yoochoose数据下评价指标为0
- 当我导入yaml文件,报错会反馈无法使用
- 关于数据集参数entity_kg_num_interval跟relation_kg_num_interval,调整了多次没有产生任何作用
- [💡SUG] 請問會出DiffNet++的解決方案嗎 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recbole-gnn.