Skip to content

Support revision in trainer push_to_hub #33481

@teamclouday

Description

@teamclouday

Feature request

Would like to add a revision parameter in push_to_hub method of a trainer. The same parameter already exists in hub apis. #25578

Motivation

Would like to add tags or versions to the same model after training multiple times, so that it's easier to compare the performance. Adding revision tag will allow me to save multiple versions of same model in the same huggingface repo, instead of creating multiple repos.

Your contribution

PR on the way

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions