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

Remove unused imports in docs. #406

Merged
merged 7 commits into from
Jun 6, 2023
Merged

Conversation

vwxyzjn
Copy link
Contributor

@vwxyzjn vwxyzjn commented Jun 5, 2023

Minor minor improvement on docs :)

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 6, 2023

The documentation is not available anymore as the PR was closed or merged.

@vwxyzjn
Copy link
Contributor Author

vwxyzjn commented Jun 6, 2023

Thanks @lvwerra for the review. I added an end-to-end test as well.

Copy link
Member

@lvwerra lvwerra left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀 just one small comment!

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the great work and welcome to TRL! 🚀
We just need to address:

examples/hello_world.py:6:1: F401 'trl.core.LengthSampler' imported but unused
examples/hello_world.py:6:1: F401 'trl.core.respond_to_batch' imported but unused

So that the code quality checker will be happy - you can just do

make style && make quality

After that we can merge the PR! 💪
Nice test btw :D !

@vwxyzjn
Copy link
Contributor Author

vwxyzjn commented Jun 6, 2023

@younesbelkada Thanks for bearing with me, and I appreciate your review!

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

Awesome work!! 🚀

@younesbelkada younesbelkada merged commit ec8a5b7 into huggingface:main Jun 6, 2023
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