home/categories/framework-internals/ecnu-icalk-autoskill-skillbank-convskill-english-gpt4-8-pytorch-triplet-loss-with-multiple-positives-and-hard-negatives-skill-md
framework-internalsdevelopment
pytorch-triplet-loss-with-multiple-positives-and-hard-negatives
Implements PyTorch functions for hard negative mining and triplet loss using cosine similarity logits and binary masks, specifically handling scenarios where anchors have multiple positive matches.
maintainer
ECNU-ICALK
Mis à jour 3/16/2026
Étoiles
304
Forks
34
quick start
Installation and usage
Implements PyTorch functions for hard negative mining and triplet loss using cosine similarity logits and binary masks, specifically handling scenarios where anchors have multiple positive matches.
Installation
$ install --globalskills.sh
Utilisation
Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :
skills use pytorch-triplet-loss-with-multiple-positives-and-hard-negatives