Skip to content

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
RituAddepalli pushed a commit to RituAddepalli/transformers that referenced this pull request Dec 8, 2025
* Add note on amy's contribution.

Co-authored-by: Amy Roberts <[email protected]>

* remove non-tech comment.

Co-authored by: Amy Roberts <[email protected]>

Co-authored-by: Amy Roberts <[email protected]>
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