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

[GPTNeo] Add input_embeds functionality to gpt_neo Causal LM #25664

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

ArthurZucker
Copy link
Collaborator

What does this PR do?

Follow PR of #25659, were model inputs are updated with the input ids, meaning both input ids and input embeds are passed.

@ArthurZucker ArthurZucker requested a review from gante August 22, 2023 18:33
@ArthurZucker ArthurZucker marked this pull request as ready for review August 22, 2023 18:33
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Aug 22, 2023

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

@ArthurZucker ArthurZucker requested a review from sgugger August 22, 2023 18:59
Copy link
Member

@gante gante left a comment

Choose a reason for hiding this comment

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

yeah, a test would be helpful, at least on the models that have inputs_embeds in the signature of this fn! Sloppy reviewers (me!) miss issues like this one

cc @ydshieh -- lmk if you'd like to add it, or if you'd prefer me to add it :)

@ydshieh
Copy link
Collaborator

ydshieh commented Aug 22, 2023

yeah, a test would be helpful, at least on the models that have inputs_embeds in the signature of this fn! Sloppy reviewers (me!) miss issues like this one

cc @ydshieh -- lmk if you'd like to add it, or if you'd prefer me to add it :)

I would appreciate you do it (you have super clear of the context already) - happy to review the PR !

@ArthurZucker ArthurZucker merged commit db58722 into huggingface:main Aug 23, 2023
parambharat pushed a commit to parambharat/transformers that referenced this pull request Sep 26, 2023
blbadger pushed a commit to blbadger/transformers that referenced this pull request Nov 8, 2023
EduardoPach pushed a commit to EduardoPach/transformers that referenced this pull request Nov 18, 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.

5 participants