From c4fd609afb4711277d6f2526e0089abbad47b1a0 Mon Sep 17 00:00:00 2001 From: Chris Kennedy Date: Sat, 2 Jan 2021 11:58:16 -0500 Subject: [PATCH] file_utils.py: TF examples outputs.last_hidden_states -> state (#9382) --- src/transformers/file_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/file_utils.py b/src/transformers/file_utils.py index f9bd74b0e0..87f329b729 100644 --- a/src/transformers/file_utils.py +++ b/src/transformers/file_utils.py @@ -851,7 +851,7 @@ TF_BASE_MODEL_SAMPLE = r""" >>> inputs = tokenizer("Hello, my dog is cute", return_tensors="tf") >>> outputs = model(inputs) - >>> last_hidden_states = outputs.last_hidden_states + >>> last_hidden_states = outputs.last_hidden_state """ TF_MULTIPLE_CHOICE_SAMPLE = r"""