{"id":"oscr:b:3S44QXDNQYR26-5","url":"https://openscicode.org/b/oscr:b:3S44QXDNQYR26-5","status":"current","doi":"10.7554/elife.80935","since":"2026-11-14","page":"doi_10.7554_elife.80935","repo":"github.com/gwinndr/musictransformer-pytorch","commit":"7161590fe306578ad02d851e74e1141bd39004af","path":"generate.py","swhid":"swh:1:cnt:1963265325373ff2c02e687d877e1dd64827a90b","lines":[17,88],"symbol":"main","paragraphs":[[59,"Materials and methods › Music Transformer"]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.7554/elife.80935","swhid_qualified":"swh:1:cnt:1963265325373ff2c02e687d877e1dd64827a90b;origin=https://github.com/gwinndr/musictransformer-pytorch;anchor=swh:1:rev:7161590fe306578ad02d851e74e1141bd39004af;path=/generate.py;lines=17-88","reader":"https://openscicode.org/paper/doi_10.7554_elife.80935/?path=generate.py#L17-L88","citation":"Code block oscr:b:3S44QXDNQYR26-5 (https://openscicode.org/b/oscr:b:3S44QXDNQYR26-5)\ngenerate.py, lines 17 to 88, in github.com/gwinndr/musictransformer-pytorch (https://github.com/gwinndr/musictransformer-pytorch), commit 7161590fe306578ad02d851e74e1141bd39004af.\nPaper: https://doi.org/10.7554/elife.80935\nSWHID: swh:1:cnt:1963265325373ff2c02e687d877e1dd64827a90b;origin=https://github.com/gwinndr/musictransformer-pytorch;anchor=swh:1:rev:7161590fe306578ad02d851e74e1141bd39004af;path=/generate.py;lines=17-88"}