OSCR

Block oscr:b:1MP8S5ET29X3Z-Y

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:1MP8S5ET29X3Z-Y
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1162/imag.a.1301 · its page here
Code
github.com/ohba-analysis/osl-foundation, osl_foundation/models/meg_gpt.py, lines 406 to 444 (DecoderLayer.call)
Commit read
ffbeff318811de3adea33d7dfeaa0af15a5b902b
SWHID
swh:1:cnt:3a90b373f73ca4d86e18a85ba44603f4f92d1961;origin=https://github.com/ohba-analysis/osl-foundation;anchor=swh:1:rev:ffbeff318811de3adea33d7dfeaa0af15a5b902b;path=/osl_foundation/models/meg_gpt.py;lines=406-444 (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 40 (Methods › The foundation model: MEG-GPT › Transformer and prediction head)
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:1MP8S5ET29X3Z-Y (https://openscicode.org/b/oscr:b:1MP8S5ET29X3Z-Y)
osl_foundation/models/meg_gpt.py, lines 406 to 444, in github.com/ohba-analysis/osl-foundation (https://github.com/ohba-analysis/osl-foundation), commit ffbeff318811de3adea33d7dfeaa0af15a5b902b.
Paper: https://doi.org/10.1162/imag.a.1301
SWHID: swh:1:cnt:3a90b373f73ca4d86e18a85ba44603f4f92d1961;origin=https://github.com/ohba-analysis/osl-foundation;anchor=swh:1:rev:ffbeff318811de3adea33d7dfeaa0af15a5b902b;path=/osl_foundation/models/meg_gpt.py;lines=406-444