-
Notifications
You must be signed in to change notification settings - Fork 15
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
[feat] add hstu #55
base: master
Are you sure you want to change the base?
[feat] add hstu #55
Conversation
|
||
|
||
@torch.fx.wrap | ||
def _update_dict_tensor( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_update_dict_tensor_while_v_not_none
// similarity scaling factor | ||
optional float temperature = 5 [default = 1.0]; | ||
// use in batch items as negative items. | ||
optional bool in_batch_negative = 6 [default = false]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is_ in_batch_negative ?
required Tower item_tower = 2; | ||
// user and item tower output dimension | ||
required int32 output_dim = 3; | ||
// similarity method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
支持那几种在这里注释都加上?
No description provided.