Skip to content

Commit

Permalink
fix get_auto_embedding_dim function
Browse files Browse the repository at this point in the history
  • Loading branch information
1985312383 authored Jan 2, 2025
1 parent 38340dd commit 466ab90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_rechub/utils/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_auto_embedding_dim(num_classes):
Returns:
the dim of embedding vector
"""
return int(np.floor(6 * np.pow(num_classes, 0.26)))
return int(np.floor(6 * np.pow(num_classes, 0.25)))


def get_loss_func(task_type="classification"):
Expand Down

0 comments on commit 466ab90

Please sign in to comment.