{"id":"oscr:b:K6SG8KPVNY287-J","url":"https://openscicode.org/b/oscr:b:K6SG8KPVNY287-J","status":"current","doi":"10.1364/boe.579532","since":"2026-11-14","page":"doi_10.1364_boe.579532","repo":"github.com/brainsmatics/brain-sam","commit":"722a3562e57993297ae1e56305fa7e3d816bb877","path":"loss_functions/nt_xent.py","swhid":"swh:1:cnt:54369ac713e62c5fac9c9eeca5c118403cb56e85","lines":[5,65],"symbol":"NTXentLoss","paragraphs":[[44,"Experiments on datasets › Implementation details"],[43,"Experiments on datasets › Implementation details"]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.1364/boe.579532","swhid_qualified":"swh:1:cnt:54369ac713e62c5fac9c9eeca5c118403cb56e85;origin=https://github.com/brainsmatics/brain-sam;anchor=swh:1:rev:722a3562e57993297ae1e56305fa7e3d816bb877;path=/loss_functions/nt_xent.py;lines=5-65","reader":"https://openscicode.org/paper/doi_10.1364_boe.579532/?path=loss_functions%2Fnt_xent.py#L5-L65","citation":"Code block oscr:b:K6SG8KPVNY287-J (https://openscicode.org/b/oscr:b:K6SG8KPVNY287-J)\nloss_functions/nt_xent.py, lines 5 to 65, in github.com/brainsmatics/brain-sam (https://github.com/brainsmatics/brain-sam), commit 722a3562e57993297ae1e56305fa7e3d816bb877.\nPaper: https://doi.org/10.1364/boe.579532\nSWHID: swh:1:cnt:54369ac713e62c5fac9c9eeca5c118403cb56e85;origin=https://github.com/brainsmatics/brain-sam;anchor=swh:1:rev:722a3562e57993297ae1e56305fa7e3d816bb877;path=/loss_functions/nt_xent.py;lines=5-65"}