Skip to content

Conversation

@edyoshikun
Copy link
Member

@edyoshikun edyoshikun commented Oct 30, 2025

This PR adds:

  • Logs the cosine and Euclidean distance between the anchor and the negatives.
  • Logs the margin between the cosine similarity between anchor-positive sample and the mean of anchor-negative sample.
  • Tests for the _valid_anchors() to ensure we are getting the right anchor+positive.

@edyoshikun edyoshikun changed the title Log the similarity of anchor and negatives Log the similarity between anchor and negatives Oct 31, 2025
@edyoshikun edyoshikun marked this pull request as ready for review October 31, 2025 16:17
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

Successfully merging this pull request may close these issues.

2 participants