mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 19:21:31 +06:00
[Doctest] Fix Blenderbot
doctest (#21297)
fix blenderbot doctest - add correct expected value
This commit is contained in:
parent
cc714d74c4
commit
015443f42b
@ -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.
|
||||
```
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user