Skip to content

Commit

Permalink
remove the copy line in the CodeGenBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
bytebarde committed Jan 4, 2024
1 parent cb65655 commit e47ef13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/transformers/models/codegen/modeling_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ def forward(self, hidden_states: Optional[torch.FloatTensor]) -> torch.FloatTens
return hidden_states


# Copied from transformers.models.gptj.modeling_gptj.GPTJBlock with GPTJ->CodeGen
class CodeGenBlock(nn.Module):
def __init__(self, config):
super().__init__()
Expand Down

0 comments on commit e47ef13

Please sign in to comment.