Skip to content

Commit 610f09f

Browse files
committed
GPT2 only has one output
1 parent 9572fa2 commit 610f09f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/transformers/models/gpt2/configuration_gpt2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,5 +217,4 @@ def outputs(self) -> Mapping[str, Mapping[int, str]]:
217217
else:
218218
return {
219219
"last_hidden_state": {0: "batch", 1: "sequence"},
220-
"encoder_last_hidden_state": {0: "batch", 1: "sequence"},
221220
}

0 commit comments

Comments
 (0)