Unverified Commit 58e8a761 authored by Xu Song's avatar Xu Song Committed by GitHub
Browse files

Fix gpt2 document (#9272)

parent cbe63949
......@@ -1036,7 +1036,7 @@ class GPT2DoubleHeadsModel(GPT2PreTrainedModel):
>>> mc_token_ids = torch.tensor([cls_token_location]) # Batch size: 1
>>> outputs = model(input_ids, mc_token_ids=mc_token_ids)
>>> lm_logits = outputs.lm_logits
>>> lm_logits = outputs.logits
>>> mc_logits = outputs.mc_logits
"""
......
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