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
For a use case, I'm interested to use triplet/hinge loss, looking at the implementation of different losses in Thinc, I can't see something similar. Though there are various implementation in TensorFlow or PyTorch, it's not clear to me how can I leverage them to implement get_grad and get_loss functions.
The text was updated successfully, but these errors were encountered:
Sorry for the late reply! Currently we do not support the Triplet loss, but you could try out L2Distance and CosineDistance losses. Both losses are applicable in the scenario where you are trying to map two spaces onto the same one. Does this help?
For a use case, I'm interested to use triplet/hinge loss, looking at the implementation of different losses in Thinc, I can't see something similar. Though there are various implementation in TensorFlow or PyTorch, it's not clear to me how can I leverage them to implement
get_grad
andget_loss
functions.The text was updated successfully, but these errors were encountered: