{"id":"oscr:b:NT6BY5EDRYYE5-2","url":"https://openscicode.org/b/oscr:b:NT6BY5EDRYYE5-2","status":"current","doi":"10.1038/s41598-025-94806-4","since":"2026-11-14","page":"doi_10.1038_s41598-025-94806-4","repo":"github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning","commit":"d66547f09efed20af9ff8bd1092cd9d784ab1389","path":"losses/losses.py","swhid":"swh:1:cnt:ec564139024a6abc8ed3db5f5e67d2b8f6f119d9","lines":[76,174],"symbol":"ContrastiveLoss_cosine2","paragraphs":[[23,"Materials and methods › Pretraining MRI-report contrastive learning › Global CL "]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.1038/s41598-025-94806-4","swhid_qualified":"swh:1:cnt:ec564139024a6abc8ed3db5f5e67d2b8f6f119d9;origin=https://github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning;anchor=swh:1:rev:d66547f09efed20af9ff8bd1092cd9d784ab1389;path=/losses/losses.py;lines=76-174","reader":"https://openscicode.org/paper/doi_10.1038_s41598-025-94806-4/?path=losses%2Flosses.py#L76-L174","citation":"Code block oscr:b:NT6BY5EDRYYE5-2 (https://openscicode.org/b/oscr:b:NT6BY5EDRYYE5-2)\nlosses/losses.py, lines 76 to 174, in github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning (https://github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning), commit d66547f09efed20af9ff8bd1092cd9d784ab1389.\nPaper: https://doi.org/10.1038/s41598-025-94806-4\nSWHID: swh:1:cnt:ec564139024a6abc8ed3db5f5e67d2b8f6f119d9;origin=https://github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning;anchor=swh:1:rev:d66547f09efed20af9ff8bd1092cd9d784ab1389;path=/losses/losses.py;lines=76-174"}