2025 USA-NA-AIO Round 2, Problem 3, Part 14

Part 14 (5 points, coding task)

Do the following tasks:

  1. Set the learning rate as 1e-3.

  2. Choose your optimization algorithm as Adam.

  3. Define an optimizer.

### WRITE YOUR SOLUTION HERE ###

lr = 1e-3
optimizer = optim.Adam(model_CLIP.parameters(), lr = lr)

""" END OF THIS PART """