Skip to content

Commit

Permalink
trigget ci again
Browse files Browse the repository at this point in the history
  • Loading branch information
sijunhe committed Jan 17, 2023
1 parent 199dc7d commit 27d6dad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paddlenlp/transformers/t5/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ def _get_name_mappings(cls, config: T5Config) -> list[StateDictNameMapping]:

if config.architectures is not None and "T5ForConditionalGeneration" in config.architectures:
model_mappings.append(["lm_head.weight", "lm_head.weight", "transpose"])

mappings = [StateDictNameMapping(*mapping) for mapping in model_mappings]
return mappings

Expand Down

0 comments on commit 27d6dad

Please sign in to comment.