Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
0410a29a
Unverified
Commit
0410a29a
authored
Dec 07, 2023
by
Phuc Van Phan
Committed by
GitHub
Dec 07, 2023
Browse files
fix: fix gradient accumulate step for learning rate (#27667)
parent
f84d85ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/flax/speech-recognition/run_flax_speech_recognition_seq2seq.py
...speech-recognition/run_flax_speech_recognition_seq2seq.py
+1
-1
No files found.
examples/flax/speech-recognition/run_flax_speech_recognition_seq2seq.py
View file @
0410a29a
...
...
@@ -640,7 +640,7 @@ def main():
# Create learning rate schedule
linear_decay_lr_schedule_fn
=
create_learning_rate_fn
(
len
(
vectorized_datasets
[
"train"
])
,
total_train_steps
,
training_args
.
warmup_steps
,
training_args
.
learning_rate
,
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment