Skip to content

Conversation

@Sandeep3084
Copy link

No description provided.

@google-cla
Copy link

google-cla bot commented Dec 5, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

docs/gallery.rst Outdated

.. image:: /images/examples/contrib/ademamix_rosenbrock.png
:alt:
:alt: AdEMAMix
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM!

Minor adjustment for consistency:
:alt: AdEMAMix.
(Added a period to match the other entries)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Thank you!

Copy link
Collaborator

@rdyro rdyro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for the PR!

In the spirit of accessibility I believe we'd need this alt-text to describe what's in the figure. The current alt-text isn't too helpful.

Would you be willing to add about 2 sentences for each figure describing what the figure is presenting? (e.g., "Loss landscape chart with the path taken by the L-BFGS optimizer overlaid on top." for lbfgs.png)

@Sandeep3084
Copy link
Author

Sandeep3084 commented Jan 1, 2026

Hey @rdyro. I have added a detailed description for all the alt tags in the gallery, please look into it and let me know if you need anything else. Happy New Year!

@Sandeep3084 Sandeep3084 requested a review from rdyro January 1, 2026 08:36

.. image:: /images/examples/tiny_shakespeare.png
:alt: Character-level Transformer on Tiny Shakespeare
:alt: Screenshot of Shakespearean dialogue text generated by the character-level Transformer model.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it'd be good to add "trained on the Tiny Shakespear dataset."


.. image:: /images/examples/perturbations.png
:alt:
:alt: Geometric diagram illustrating differentiable perturbations, showing a hexagonal constraint set C with vectors indicating the perturbed parameters and their projections.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is right, I'd go with: "A perturbed maximizer illustration from https://arxiv.org/abs/2002.08676"


.. image:: /images/examples/contrib/reduce_on_plateau.png
:alt:
:alt: Learning rate schedule chart showing the learning rate value stepping down in discrete intervals over 50 epochs as the training progresses.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be good to emphasize the point about the learning rate being algorithmically adjusted; it should be more like "A chart showing an automatically decreasing learning rate via the Reduce on Plateau learning rate scheduler."


.. image:: /images/examples/contrib/sam.png
:alt:
:alt: Optimization trajectory plot comparing the path of a standard optimizer versus SAM, showing how SAM navigates the loss landscape to find flatter minima.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: replace "standard" with "non-SAM" for a more accurate description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants