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

What NCE loss is used in your code? #3

Open
seongq opened this issue Jul 6, 2023 · 1 comment
Open

What NCE loss is used in your code? #3

seongq opened this issue Jul 6, 2023 · 1 comment

Comments

@seongq
Copy link

seongq commented Jul 6, 2023

In "main_CD.py", you implemented NCE loss.
Did you use NCE loss in training? If you use NCE loss, which args.lam did you choose?

@Rick-Xu315
Copy link
Contributor

Rick-Xu315 commented Jul 15, 2023

Hi, Thanks for your interest!
NCE loss is implemented only for comparable methods CCL in supplements section 4 as a regularization to CE loss. I tried args.lam from 0.1-1.0 and used the best result as shown in the supplements.

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

No branches or pull requests

2 participants