Skip to content

Commit

Permalink
Fixed typo: thier -> their
Browse files Browse the repository at this point in the history
  • Loading branch information
ss18 committed Dec 28, 2022
1 parent 4fe98f7 commit 479aa44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codegeex/megatron/mpu/cross_entropy.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def backward(ctx, grad_output):
# Retreive tensors from the forward path.
softmax, target_mask, masked_target_1d = ctx.saved_tensors

# All the inputs have softmax as thier gradient.
# All the inputs have softmax as their gradient.
grad_input = softmax
# For simplicity, work with the 2D gradient.
partition_vocab_size = softmax.size()[-1]
Expand Down
2 changes: 1 addition & 1 deletion codegeex/tokenizer/vocab.json

Large diffs are not rendered by default.

0 comments on commit 479aa44

Please sign in to comment.