Skip to content

Commit

Permalink
[GPTNeo] Add input_embeds functionality to gpt_neo Causal LM (huggi…
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker authored and parambharat committed Sep 26, 2023
1 parent 31f960a commit 97bbc5d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/transformers/models/gpt_neo/modeling_gpt_neo.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@ def prepare_inputs_for_generation(self, input_ids, past_key_values=None, inputs_

model_inputs.update(
{
"input_ids": input_ids,
"past_key_values": past_key_values,
"use_cache": kwargs.get("use_cache"),
"position_ids": position_ids,
Expand Down

0 comments on commit 97bbc5d

Please sign in to comment.