Noble-Lab / casanovo

De Novo Mass Spectrometry Peptide Sequencing with a Transformer Model
https://casanovo.readthedocs.io
Apache License 2.0
90 stars 31 forks source link

Add contrastive loss term #319

Open wsnoble opened 3 months ago

wsnoble commented 3 months ago

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.