Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transformers library name for TRL repos #1922

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Add transformers library name for TRL repos #1922

merged 2 commits into from
Aug 13, 2024

Conversation

lewtun
Copy link
Member

@lewtun lewtun commented Aug 12, 2024

As of August 2, TRL model repos are no longer automatically tagged as transformers repos (previously this was inferred from the existence of a config.json file).

This PR adds an explicit library_name tag to the TRL trainers that do not subclass transformers.Trainer. For all other trainers, the correct tag will be added via huggingface/transformers#32623

cc @osanseviero

@lewtun lewtun requested review from kashif and qgallouedec August 12, 2024 13:15
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@kashif kashif merged commit a9a7565 into main Aug 13, 2024
10 checks passed
@kashif kashif deleted the add-tags branch August 13, 2024 09:36
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.

4 participants