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

Do you use a different loss function? #9

Open
jaelgu opened this issue Nov 18, 2022 · 1 comment
Open

Do you use a different loss function? #9

jaelgu opened this issue Nov 18, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@jaelgu
Copy link

jaelgu commented Nov 18, 2022

Is the loss function different from the original paper? Also the method to calculate validate score? I can't find any details about them in your thesis.

@stdio2016
Copy link
Owner

I use NT-Xent loss function, the same as the original paper.
The validation score during training should be 1-second query accuracy, however it turned out to be way too high because I reused training pipeline for validation query generator. So I did not include the validation score from training process in my thesis.
Instead I wrote another query generator genquery.py that more accurately simulates the query process, and only computed accuracy during testing.

@stdio2016 stdio2016 added the documentation Improvements or additions to documentation label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants