You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What does the 2 in the feature dimensions [bs, 2, feat_dim] represent? Does it indicate a pair of features for comparison (e.g., two embeddings per sample)?
For the label dimensions [2bs, label_dim], what value should be set for label_dim? Should it be 1, or does it depend on a specific aspect of the task?
A brief explanation would greatly help me understand how to properly prepare the input features and labels.
Thank you in advance for your time and assistance!
Best regards,
Tien-Hong Lo
The text was updated successfully, but these errors were encountered:
teinhonglo
changed the title
Clarification on the meaning of 2 in feature dimensions [bs, 2, feat_dim]
Questions on Feature and Label Dimensions in RnCLoss
Dec 2, 2024
Hi,
Thank you for your work on the
RnCLoss
implementation! I have a question regarding the feature and label dimensions in the provided example:Specifically, I’d like to clarify two points:
2
in the feature dimensions[bs, 2, feat_dim]
represent? Does it indicate a pair of features for comparison (e.g., two embeddings per sample)?[2bs, label_dim]
, what value should be set forlabel_dim
? Should it be1
, or does it depend on a specific aspect of the task?A brief explanation would greatly help me understand how to properly prepare the input features and labels.
Thank you in advance for your time and assistance!
Best regards,
Tien-Hong Lo
The text was updated successfully, but these errors were encountered: