Complete the code to create a GPT model instance.
model = GPT([1])GPT models are built with layers, so specifying num_layers is correct.
Complete the code to generate an image using DALL-E.
image = dalle.generate(prompt, [1]=256)
DALL-E generates images, so image_size sets the output size.
Fix the error in the Stable Diffusion sampling code.
sample = diffusion.sample(num_steps=[1])Stable Diffusion typically uses many steps like 1000 for good quality sampling.
Fill both blanks to define a GPT model with 12 layers and 768 hidden size.
model = GPT(num_layers=[1], hidden_size=[2])
GPT models use num_layers and hidden_size to define architecture.
Fill all three blanks to generate an image with Stable Diffusion using 1000 steps and 512 latent dimension.
output = diffusion.generate(steps=[1], latent_dim=[2], image_size=[3])
Stable Diffusion uses many steps (1000), a latent dimension (512), and image size (256) for generation.
