Skip to content

Commit

Permalink
updating the checkpoint for GPT2ForSequence Classification to one wit…
Browse files Browse the repository at this point in the history
…h classification head (#11434)
  • Loading branch information
abiolaTresor authored Apr 26, 2021
1 parent 35cd8ee commit 30f0658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/gpt2/modeling_gpt2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ def __init__(self, config):
@add_start_docstrings_to_model_forward(GPT2_INPUTS_DOCSTRING)
@add_code_sample_docstrings(
tokenizer_class=_TOKENIZER_FOR_DOC,
checkpoint="microsoft/dialogrpt",
checkpoint="microsoft/DialogRPT-updown",
output_type=SequenceClassifierOutputWithPast,
config_class=_CONFIG_FOR_DOC,
)
Expand Down

0 comments on commit 30f0658

Please sign in to comment.