Skip to content

关于使用label field自定义负样本 #2184

@hjnnjh

Description

@hjnnjh

我现在希望recbole中的几个基线模型使用我预先保存在本地的负样本(每个user的负样本集合不一样,这是因为我自己的模型如果运行时采样会很慢),于是我想到了在inter文件中手动添加每个user的负样本然后将负样本的label设置为0,请问在full模式下,像SASRec这样的模型训练和验证测试时是如何使用这些负样本的呢?训练和验证使用的是相同的全部负样本吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions