uniem icon indicating copy to clipboard operation
uniem copied to clipboard

问题

Open haizeiwanglf opened this issue 10 months ago • 3 comments

🐛 bug 说明

如果只有Input和正例,那么损失函数是什么呢

Python Version

None

haizeiwanglf avatar Apr 20 '24 13:04 haizeiwanglf

基于 batch 内的样本进行负采样,通过对比学习的方式来训练模型

wangyuxinwhy avatar Apr 22 '24 02:04 wangyuxinwhy

例如simsce,batch其它样本作为负样本的话,是不是有可能采样错误,采成正样本 

吴广硕 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年4月22日(星期一) 上午10:49 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [wangyuxinwhy/uniem] 问题 (Issue #125)

基于 batch 内的样本进行负采样,通过对比学习的方式来训练模型

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

haizeiwanglf avatar Apr 22 '24 02:04 haizeiwanglf

大概率不会的,除非凑巧 batch 内有正样本,这种极其少量的干扰其实影响不大。

wangyuxinwhy avatar Apr 22 '24 08:04 wangyuxinwhy