Block oscr:b:K6SG8KPVNY287-J
A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON
- Identifier
oscr:b:K6SG8KPVNY287-J- Status
- Current: the registry links these lines to the paper today.
- Paper
- doi:10.1364/boe.579532 · its page here
- Code
- github.com/brainsmatics/brain-sam,
loss_functions/nt_xent.py, lines 5 to 65 (NTXentLoss) - Commit read
722a3562e57993297ae1e56305fa7e3d816bb877- SWHID
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(the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)- In the paper
- paragraph 44 (Experiments on datasets › Implementation details); paragraph 43 (Experiments on datasets › Implementation details)
- Linked by
- the registry's matching program (lexical-v1), which can be wrong
- Identifier given
- 2026-11-14
Open these lines beside the paper
Cite this block
Copy this text: the identifier and its page first, then the code, the paper and the SWHID.
Code block oscr:b:K6SG8KPVNY287-J (https://openscicode.org/b/oscr:b:K6SG8KPVNY287-J)
loss_functions/nt_xent.py, lines 5 to 65, in github.com/brainsmatics/brain-sam (https://github.com/brainsmatics/brain-sam), commit 722a3562e57993297ae1e56305fa7e3d816bb877.
Paper: https://doi.org/10.1364/boe.579532
SWHID: 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