[Doctest] Fix Blenderbot doctest (#21297)

fix blenderbot doctest

- add correct expected value
This commit is contained in:
Younes Belkada 2023-01-25 17:28:29 +01:00 committed by GitHub
parent cc714d74c4
commit 015443f42b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -544,7 +544,7 @@ BLENDERBOT_GENERATION_EXAMPLE = r"""
>>> inputs = tokenizer([NEXT_UTTERANCE], return_tensors="pt")
>>> next_reply_ids = model.generate(**inputs)
>>> print("Bot: ", tokenizer.batch_decode(next_reply_ids, skip_special_tokens=True)[0])
Bot: That's too bad. Have you tried encouraging them to change their eating habits?
Bot: I see. Well, it's good that they're trying to change their eating habits.
```
"""