Skip to content

fixes related to output_LN1 and pooler_output#1

Open
avysogorets wants to merge 1 commit into
mohsenfayyaz:mainfrom
avysogorets:av
Open

fixes related to output_LN1 and pooler_output#1
avysogorets wants to merge 1 commit into
mohsenfayyaz:mainfrom
avysogorets:av

Conversation

@avysogorets

Copy link
Copy Markdown
  1. Seems to be a typo when constructing DecompXOutput in BertLayer and RobertaLayer (decompx_output.LN1 may never be formed even if the corresponding flag is on)
  2. Added guardrails when dealing with pooler_output in case BertModel has no pooling layer (add_pooling_layer = False)

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.

1 participant