Noble-Lab/casanovo

Add contrastive loss term

Closed this issue · 1 comments

Experiment with Contranovo's approach: add a contrastive term to the loss function that aims to enhance the similarity between the encoded spectrum and encoded peptide.

We'll skip this for now, considering that Casanovo does not use a peptide encoding.