Skip to content

Commit

Permalink
Corrected the epsilon value (#665)
Browse files Browse the repository at this point in the history
* Corrected the epsilon value

* Corrected the epsilon value

* Corrected the epsilon value

* Corrected the epsilon value

* Corrected the epsilon value

* Update bert_backbone.py
  • Loading branch information
soma2000-lang authored Jan 17, 2023
1 parent 544aca0 commit 99edccf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keras_nlp/models/bert/bert_backbone.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def __init__(
x, approximate=True
),
dropout=dropout,
layer_norm_epsilon=1e-12,
kernel_initializer=bert_kernel_initializer(),
name=f"transformer_layer_{i}",
)(x, padding_mask=padding_mask)
Expand Down

0 comments on commit 99edccf

Please sign in to comment.