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

Why is labels = zeros(N) set to zero? #145

Open
Dorothea5 opened this issue Oct 12, 2023 · 3 comments
Open

Why is labels = zeros(N) set to zero? #145

Dorothea5 opened this issue Oct 12, 2023 · 3 comments

Comments

@Dorothea5
Copy link

Why are labels set to all zeros when the first column of logits represents positive similarity and the subsequent K columns represent negative similarity? Shouldn't the labels be 1 for the first column and 0 for the rest?

@solauky
Copy link

solauky commented Oct 12, 2023 via email

@VaticanCameos99
Copy link

VaticanCameos99 commented Dec 3, 2023

Hi, please can you explain this observation on the code?

@solauky
Copy link

solauky commented Dec 3, 2023 via email

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

3 participants