mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +06:00
Fix GPTJ
doctest (#21213)
Replace the checkpoint - the current one has shape issue Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
6ee6993fd9
commit
ef53017520
@ -904,7 +904,7 @@ class GPTJForSequenceClassification(GPTJPreTrainedModel):
|
||||
|
||||
@add_start_docstrings_to_model_forward(GPTJ_INPUTS_DOCSTRING.format("batch_size, sequence_length"))
|
||||
@add_code_sample_docstrings(
|
||||
checkpoint=_CHECKPOINT_FOR_DOC,
|
||||
checkpoint="ydshieh/tiny-random-gptj-for-sequence-classification",
|
||||
output_type=SequenceClassifierOutputWithPast,
|
||||
config_class=_CONFIG_FOR_DOC,
|
||||
real_checkpoint=_REAL_CHECKPOINT_FOR_DOC,
|
||||
|
Loading…
Reference in New Issue
Block a user