Skip to content

Commit

Permalink
Fix tiny typo (#15884)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhjohnstone committed Mar 2, 2022
1 parent 2eb7bb1 commit e535c38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class BertModelWithPabee(BertModel):
the self-attention layers, following the architecture described in `Attention is all you need`_ by Ashish Vaswani,
Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser and Illia Polosukhin.
To behave as an decoder the model needs to be initialized with the
To behave as a decoder the model needs to be initialized with the
:obj:`is_decoder` argument of the configuration set to :obj:`True`; an
:obj:`encoder_hidden_states` is expected as an input to the forward pass.
Expand Down

0 comments on commit e535c38

Please sign in to comment.