Haiku transformer example: load from most recent checkpoint.
Haiku transformer example: load from most recent checkpoint.

Existing [-1] indexing on self._checkpoint_paths() does not return the most recent checkpoint when the list returned by self._checkpoint_paths() is not sorted.

PiperOrigin-RevId: 412887024

deepmind/dm-haiku,deepmind/dm-haiku