OSCR

Block oscr:b:EF9D0CC5N9S99-G

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:EF9D0CC5N9S99-G
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.2463/mrms.mp.2024-0206 · its page here
Code
huggingface.co/google/ddpm-cifar10-32, modeling_ddpm.py, lines 22 to 60 (DDPM)
Commit read
267b167dc01f0e4e61923ea244e8b988f84deb80
SWHID
swh:1:cnt:ae049a8c0acff9c2a7efed75290e2e08912e1143;origin=https://huggingface.co/google/ddpm-cifar10-32;anchor=swh:1:rev:267b167dc01f0e4e61923ea244e8b988f84deb80;path=/modeling_ddpm.py;lines=22-60 (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 10 (Materials and Methods › Diffusion model pretraining and finetuning); paragraph 13 (Materials and Methods › Diffusion model pretraining and finetuning)
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:EF9D0CC5N9S99-G (https://openscicode.org/b/oscr:b:EF9D0CC5N9S99-G)
modeling_ddpm.py, lines 22 to 60, in huggingface.co/google/ddpm-cifar10-32 (https://huggingface.co/google/ddpm-cifar10-32), commit 267b167dc01f0e4e61923ea244e8b988f84deb80.
Paper: https://doi.org/10.2463/mrms.mp.2024-0206
SWHID: swh:1:cnt:ae049a8c0acff9c2a7efed75290e2e08912e1143;origin=https://huggingface.co/google/ddpm-cifar10-32;anchor=swh:1:rev:267b167dc01f0e4e61923ea244e8b988f84deb80;path=/modeling_ddpm.py;lines=22-60