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

improve readability of LoRA code #409

Merged
merged 1 commit into from
Jun 8, 2023
Merged

Conversation

martin-liu
Copy link
Contributor

@martin-liu martin-liu commented May 7, 2023

Thank you for creating this great library!

As I was exploring LoRA implementations and reviewing the code, I noticed that there could be some enhancements made to improve code readability.

Therefore, I created this pull request which primarily focuses on extracting certain private functions without introduce any functional changes.

@martin-liu
Copy link
Contributor Author

cc @pacman100

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented May 10, 2023

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

@pacman100
Copy link
Contributor

Hello, could you please resolve the conflicts?

@martin-liu
Copy link
Contributor Author

@pacman100 thanks for take a look, resolved the conflict!

@martin-liu
Copy link
Contributor Author

@pacman100 let me know if any concern, thanks!

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@martin-liu martin-liu force-pushed the main branch 3 times, most recently from c3b88d5 to 7c8d7a3 Compare June 7, 2023 18:25
@martin-liu
Copy link
Contributor Author

@pacman100 I recreated the commit from latest main branch, now all the checks passed, can you help review the code?

Copy link
Contributor

@pacman100 pacman100 left a comment

Choose a reason for hiding this comment

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

Thank you so much @martin-liu for your great work on refactoring the LoRA code to make it more readable and easier to maintain. Also, thank you for the multiple iterations, LGTM! 🤗

@pacman100 pacman100 merged commit e45529b into huggingface:main Jun 8, 2023
11 checks passed
@martin-liu
Copy link
Contributor Author

@pacman100 Great, thank you 🍻 !

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.

None yet

3 participants