OSCR

Block oscr:b:DBNBTGY6147C8-O

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:DBNBTGY6147C8-O
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1162/imag.a.1241 · its page here
Code
github.com/mert-o/dat_prediction, embedder/trainer.py, lines 138 to 165 (build_augment_from_strength)
Commit read
a229605f6bc0b7220a6c5e52bcaa13473de3ff74
SWHID
swh:1:cnt:4ba886d700a2f5f88768cbd2e5a6bf6f2b9ef42f;origin=https://github.com/mert-o/dat_prediction;anchor=swh:1:rev:a229605f6bc0b7220a6c5e52bcaa13473de3ff74;path=/embedder/trainer.py;lines=138-165 (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 15 (Methods › Contrastive embedder)
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:DBNBTGY6147C8-O (https://openscicode.org/b/oscr:b:DBNBTGY6147C8-O)
embedder/trainer.py, lines 138 to 165, in github.com/mert-o/dat_prediction (https://github.com/mert-o/dat_prediction), commit a229605f6bc0b7220a6c5e52bcaa13473de3ff74.
Paper: https://doi.org/10.1162/imag.a.1241
SWHID: swh:1:cnt:4ba886d700a2f5f88768cbd2e5a6bf6f2b9ef42f;origin=https://github.com/mert-o/dat_prediction;anchor=swh:1:rev:a229605f6bc0b7220a6c5e52bcaa13473de3ff74;path=/embedder/trainer.py;lines=138-165