{"id":"oscr:b:FW1Y77KCD69M7-I","url":"https://openscicode.org/b/oscr:b:FW1Y77KCD69M7-I","status":"current","doi":"10.1162/imag.a.1301","since":"2026-11-14","page":"doi_10.1162_imag.a.1301","repo":"github.com/ohba-analysis/osl-foundation","commit":"ffbeff318811de3adea33d7dfeaa0af15a5b902b","path":"osl_foundation/utils/sampling.py","swhid":"swh:1:cnt:424534ceb97b5796ddca0f6c7c678f7223de5272","lines":[91,133],"symbol":"top_p_sampling","paragraphs":[[50,"Methods › The foundation model: MEG-GPT › Generating new data"]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.1162/imag.a.1301","swhid_qualified":"swh:1:cnt:424534ceb97b5796ddca0f6c7c678f7223de5272;origin=https://github.com/ohba-analysis/osl-foundation;anchor=swh:1:rev:ffbeff318811de3adea33d7dfeaa0af15a5b902b;path=/osl_foundation/utils/sampling.py;lines=91-133","reader":"https://openscicode.org/paper/doi_10.1162_imag.a.1301/?path=osl_foundation%2Futils%2Fsampling.py#L91-L133","citation":"Code block oscr:b:FW1Y77KCD69M7-I (https://openscicode.org/b/oscr:b:FW1Y77KCD69M7-I)\nosl_foundation/utils/sampling.py, lines 91 to 133, in github.com/ohba-analysis/osl-foundation (https://github.com/ohba-analysis/osl-foundation), commit ffbeff318811de3adea33d7dfeaa0af15a5b902b.\nPaper: https://doi.org/10.1162/imag.a.1301\nSWHID: swh:1:cnt:424534ceb97b5796ddca0f6c7c678f7223de5272;origin=https://github.com/ohba-analysis/osl-foundation;anchor=swh:1:rev:ffbeff318811de3adea33d7dfeaa0af15a5b902b;path=/osl_foundation/utils/sampling.py;lines=91-133"}