Hacker News new | ask | show | jobs
by barefeg 949 days ago
Do you need to have the same number of positive and negatives? Is there any meaning of pairing a positive an a negative in the triplet?
1 comments

It's because of the loss of the model. I ask the model to produce a higher similarity between the query and the positive document rather than between the query and the negative document. I'll add more losses soon so there are more choices
is the loss the usual lambdarank?