Skip to content

Commit 43a542e

Browse files
guangyeyalbanD
andauthored
Update beginner_source/chatbot_tutorial.py
Co-authored-by: albanD <[email protected]>
1 parent 3492b37 commit 43a542e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/chatbot_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ def evaluateInput(encoder, decoder, searcher, voc):
13201320
encoder_optimizer.load_state_dict(encoder_optimizer_sd)
13211321
decoder_optimizer.load_state_dict(decoder_optimizer_sd)
13221322

1323-
# If you have accelerator, configure it to call
1323+
# If you have an accelerator, configure it to call
13241324
for state in encoder_optimizer.state.values():
13251325
for k, v in state.items():
13261326
if isinstance(v, torch.Tensor):

0 commit comments

Comments
 (0)