Block oscr:b:XBHGCG2T91K9M-P
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:XBHGCG2T91K9M-P- Status
- Current: the registry links these lines to the paper today.
- Paper
- doi:10.64898/2026.01.30.702777 · its page here
- Code
- github.com/ennyvanbeest/unitmatch,
UnitMatchPy/DeepUnitMatch/utils/losses.py, lines 39 to 100 (CustomClipLoss) - Commit read
95b6fed5db84d12f67487b92d07f0a2664a6122f- SWHID
swh:1:cnt:a1e66d0e6dbe1e08ae50d6117bcffc1594b2a444;origin=https://github.com/ennyvanbeest/unitmatch;anchor=swh:1:rev:95b6fed5db84d12f67487b92d07f0a2664a6122f;path=/UnitMatchPy/DeepUnitMatch/utils/losses.py;lines=39-100(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 25 (Methods › Network training › Training step 2: contrastive learning)
- 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:XBHGCG2T91K9M-P (https://openscicode.org/b/oscr:b:XBHGCG2T91K9M-P)
UnitMatchPy/DeepUnitMatch/utils/losses.py, lines 39 to 100, in github.com/ennyvanbeest/unitmatch (https://github.com/ennyvanbeest/unitmatch), commit 95b6fed5db84d12f67487b92d07f0a2664a6122f.
Paper: https://doi.org/10.64898/2026.01.30.702777
SWHID: swh:1:cnt:a1e66d0e6dbe1e08ae50d6117bcffc1594b2a444;origin=https://github.com/ennyvanbeest/unitmatch;anchor=swh:1:rev:95b6fed5db84d12f67487b92d07f0a2664a6122f;path=/UnitMatchPy/DeepUnitMatch/utils/losses.py;lines=39-100