Block oscr:b:MTR2MN63AK4N2-7
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:MTR2MN63AK4N2-7- Status
- Current: the registry links these lines to the paper today.
- Paper
- doi:10.1038/s41467-024-49173-5 · its page here
- Code
- github.com/tsumers/bert-brains,
text_processing_and_transformers/transformer_utils.py, lines 163 to 237 (TransformerRSM.process_stimulus_attentions) - Commit read
225b8b3bcee0dd609d313fb72b01ccd08b330e6d- SWHID
swh:1:cnt:1dcac8ff8130a1a12497751698dfee09660fbe97;origin=https://github.com/tsumers/bert-brains;anchor=swh:1:rev:225b8b3bcee0dd609d313fb72b01ccd08b330e6d;path=/text_processing_and_transformers/transformer_utils.py;lines=163-237(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 60 (Methods › Transformer-based features); paragraph 59 (Methods › Transformer-based features)
- 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:MTR2MN63AK4N2-7 (https://openscicode.org/b/oscr:b:MTR2MN63AK4N2-7)
text_processing_and_transformers/transformer_utils.py, lines 163 to 237, in github.com/tsumers/bert-brains (https://github.com/tsumers/bert-brains), commit 225b8b3bcee0dd609d313fb72b01ccd08b330e6d.
Paper: https://doi.org/10.1038/s41467-024-49173-5
SWHID: swh:1:cnt:1dcac8ff8130a1a12497751698dfee09660fbe97;origin=https://github.com/tsumers/bert-brains;anchor=swh:1:rev:225b8b3bcee0dd609d313fb72b01ccd08b330e6d;path=/text_processing_and_transformers/transformer_utils.py;lines=163-237