OSCR

Block oscr:b:0TGXSY5P8TCQW-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:0TGXSY5P8TCQW-P
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s42003-022-03036-1 · its page here
Code
github.com/facebookresearch/xlm, xlm/optim.py, lines 89 to 139 (AdamInverseSqrtWithWarmup)
Commit read
cd281d32612d145c6742b4d3f048f80df8669c30
SWHID
swh:1:cnt:10ab88e34ffd07f4d1d64350c85eaa3e984e6d47;origin=https://github.com/facebookresearch/xlm;anchor=swh:1:rev:cd281d32612d145c6742b4d3f048f80df8669c30;path=/xlm/optim.py;lines=89-139 (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 38 (Methods › Deep language transformers)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-16

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:0TGXSY5P8TCQW-P (https://openscicode.org/b/oscr:b:0TGXSY5P8TCQW-P)
xlm/optim.py, lines 89 to 139, in github.com/facebookresearch/xlm (https://github.com/facebookresearch/xlm), commit cd281d32612d145c6742b4d3f048f80df8669c30.
Paper: https://doi.org/10.1038/s42003-022-03036-1
SWHID: swh:1:cnt:10ab88e34ffd07f4d1d64350c85eaa3e984e6d47;origin=https://github.com/facebookresearch/xlm;anchor=swh:1:rev:cd281d32612d145c6742b4d3f048f80df8669c30;path=/xlm/optim.py;lines=89-139