Skip to content

Commit

Permalink
Update README.md (huggingface#6)
Browse files Browse the repository at this point in the history
fix typo - accelerate should be accelerator huggingface#5
  • Loading branch information
voidful authored Mar 8, 2021
1 parent 03a5f88 commit cd37674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ for epoch in range(10):
output, targets
)

+ accelerate.backward(loss)
+ accelerator.backward(loss)

optimizer.step()
```
Expand Down Expand Up @@ -243,7 +243,7 @@ for epoch in range(10):
output, targets
)

+ accelerate.backward(loss)
+ accelerator.backward(loss)

optimizer.step()
```
Expand Down

0 comments on commit cd37674

Please sign in to comment.