"sgl-kernel/csrc/vscode:/vscode.git/clone" did not exist on "8e3797be1ca9e3f0c68ff53c86e363bbfeffa268"
Unverified Commit e626eecc authored by wlhgtc's avatar wlhgtc Committed by GitHub
Browse files

Update modeling.py

parent 8da280eb
......@@ -728,7 +728,7 @@ class BertForMaskedLM(PreTrainedBertModel):
is only computed for the labels set in [0, ..., vocab_size]
Outputs:
if `masked_lm_labels` is `None`:
if `masked_lm_labels` is not `None`:
Outputs the masked language modeling loss.
if `masked_lm_labels` is `None`:
Outputs the masked language modeling logits of shape [batch_size, sequence_length, vocab_size].
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment