OSCR

Block oscr:b:D1NYQ70BBMJ0K-B

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:D1NYQ70BBMJ0K-B
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1162/nol_a_00125 · its page here
Code
github.com/alexandrepsq/information-restricted-nlms, src/irnlm/models/gpt2/extract_features_gpt2_integral.py, lines 21 to 80 (load_model_and_tokenizer)
Commit read
f60e16a79b8c0ee6c0b6f64a940597c4aba96488
SWHID
swh:1:cnt:b17e6ce63a47066680ae7689f63bc6598ad88d5e;origin=https://github.com/alexandrepsq/information-restricted-nlms;anchor=swh:1:rev:f60e16a79b8c0ee6c0b6f64a940597c4aba96488;path=/src/irnlm/models/gpt2/extract_features_gpt2_integral.py;lines=21-80 (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 16 (METHODS AND MATERIALS › GPT-2 Training)
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:D1NYQ70BBMJ0K-B (https://openscicode.org/b/oscr:b:D1NYQ70BBMJ0K-B)
src/irnlm/models/gpt2/extract_features_gpt2_integral.py, lines 21 to 80, in github.com/alexandrepsq/information-restricted-nlms (https://github.com/alexandrepsq/information-restricted-nlms), commit f60e16a79b8c0ee6c0b6f64a940597c4aba96488.
Paper: https://doi.org/10.1162/nol_a_00125
SWHID: swh:1:cnt:b17e6ce63a47066680ae7689f63bc6598ad88d5e;origin=https://github.com/alexandrepsq/information-restricted-nlms;anchor=swh:1:rev:f60e16a79b8c0ee6c0b6f64a940597c4aba96488;path=/src/irnlm/models/gpt2/extract_features_gpt2_integral.py;lines=21-80