diff --git a/docs/source/task_summary.rst b/docs/source/task_summary.rst index 705422cab29e24..6a0ccc35d2ee7e 100644 --- a/docs/source/task_summary.rst +++ b/docs/source/task_summary.rst @@ -454,7 +454,7 @@ of tokens. >>> tokenizer = AutoTokenizer.from_pretrained("gpt2") >>> model = AutoModelWithLMHead.from_pretrained("gpt2") - >>> sequence = f"Hugging Face is based in DUMBO, New York City, and " + >>> sequence = f"Hugging Face is based in DUMBO, New York City, and" >>> input_ids = tokenizer.encode(sequence, return_tensors="pt")