OSCR

Block oscr:b:411V4HQ9DWQ5T-D

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:411V4HQ9DWQ5T-D
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-025-16219-7 · its page here
Code
github.com/altaheri/tcformer, models/tcformer.py, lines 285 to 322 (_GQAttention)
Commit read
701a361640708ef1cc07cf22660d47edc6d9bf3c
SWHID
swh:1:cnt:336239b64ac6ddcb6633cb6aaf8b25a244902d2f;origin=https://github.com/altaheri/tcformer;anchor=swh:1:rev:701a361640708ef1cc07cf22660d47edc6d9bf3c;path=/models/tcformer.py;lines=285-322 (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 24 (Proposed method: TCFormer architecture); paragraph 49 (Proposed method: TCFormer architecture › Transformer encoder with grouped-query )
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:411V4HQ9DWQ5T-D (https://openscicode.org/b/oscr:b:411V4HQ9DWQ5T-D)
models/tcformer.py, lines 285 to 322, in github.com/altaheri/tcformer (https://github.com/altaheri/tcformer), commit 701a361640708ef1cc07cf22660d47edc6d9bf3c.
Paper: https://doi.org/10.1038/s41598-025-16219-7
SWHID: swh:1:cnt:336239b64ac6ddcb6633cb6aaf8b25a244902d2f;origin=https://github.com/altaheri/tcformer;anchor=swh:1:rev:701a361640708ef1cc07cf22660d47edc6d9bf3c;path=/models/tcformer.py;lines=285-322