src/transformers/utils/hub.py/PushToHubMixin/_get_files_timestamps
class PushToHubMixin:    def _get_files_timestamps(self, working_dir: Union[str, os.PathLike]):
        """
        Returns the list of files with their last modification timestamp.
        """
        return {f: os.path.getmtime(os.path.join(working_dir, f)) for f in os.listdir(working_dir)}