setfit icon indicating copy to clipboard operation
setfit copied to clipboard

[FR] add documentation about the `loss_class` selection

Open PhilipMay opened this issue 3 years ago • 2 comments

Can you please add documentation about the loss_class selection?

There seems to be a new loss class implemented called SupConLoss. Maybe you could add some documentation how to select them and which advantages and disadvantages that might have.

Many thanks Philip

PhilipMay avatar Oct 29 '22 14:10 PhilipMay

Thanks for raising this @PhilipMay ! Indeed, I should document these options better - will add it to my TODO list :)

lewtun avatar Oct 31 '22 19:10 lewtun

on that note, when should we use SupConLoss? Seems like all the examples use cosine similarty loss?

aaronvg avatar May 09 '23 22:05 aaronvg