Skip to content

Commit

Permalink
fix default learning rate for RNN architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Jul 16, 2023
1 parent 10503b0 commit 5b3ea93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion delft/sequenceLabelling/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __init__(self,

if learning_rate is None:
if transformer_name is None:
learning_rate = 0.0001
learning_rate = 0.001
else:
learning_rate = 2e-5

Expand Down
2 changes: 1 addition & 1 deletion delft/textClassification/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(self,

if learning_rate is None:
if transformer_name is None:
learning_rate = 0.0001
learning_rate = 0.001
else:
learning_rate = 2e-5

Expand Down

0 comments on commit 5b3ea93

Please sign in to comment.