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

Include a comment to reflect Amy's contributions #17689

Merged
merged 2 commits into from
Jun 14, 2022
Merged

Include a comment to reflect Amy's contributions #17689

merged 2 commits into from
Jun 14, 2022

Conversation

sayakpaul
Copy link
Member

@sayakpaul sayakpaul commented Jun 13, 2022

This PR adds a note to src/transformers/modeling_tf_pytorch_utils.py to reflect @amyeroberts's contributions suggested in #17571. It is an oversight on my end that I forgot to mention in the first place.

I hope it's viewed as a mistake and not as a plagiarism attempt.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 13, 2022

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

@sayakpaul
Copy link
Member Author

@sgugger forgot tagging you.

@LysandreJik
Copy link
Member

Hey @sayakpaul, that's really admirable, thank you for that. I personally don't think it needs to be in a comment, as the code isn't where attribution lies, and would clutter the code with non-technical details. The attribution lives in git, and that's where we should do something if you want to add a mention of Amy for those lines of code.

How about doing something as simple as switching a if/else statement (or any other kind of no-op change) and having Amy as author/co-author?

Co-authored by: Amy Roberts <[email protected]>
@sayakpaul
Copy link
Member Author

@LysandreJik see if it's okay now.

@sgugger
Copy link
Collaborator

sgugger commented Jun 14, 2022

Let's see if this works, thanks a lot!

@sgugger sgugger merged commit 3960ce9 into huggingface:main Jun 14, 2022
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