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.

ECNU-ICALK
maintainer
ECNU-ICALK
अपडेट किया गया 3/16/2026
स्टार
304
फोर्क
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.

इंस्टॉलेशन
$ install --globalskills.sh
उपयोग

इंस्टॉल करने के बाद, आप टर्मिनल में यह कमांड चलाकर इस स्किल का उपयोग कर सकते हैं:

skills use pytorch-triplet-loss-with-multiple-positives-and-hard-negatives