From f4014e75db0190792b3feeccfc5dc5b5f9f0ce7b Mon Sep 17 00:00:00 2001 From: Joao Gante Date: Thu, 16 May 2024 14:32:21 +0100 Subject: [PATCH] Docs: update example with assisted generation + sample (#30853) --- docs/source/ko/generation_strategies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/ko/generation_strategies.md b/docs/source/ko/generation_strategies.md index fd2ae359a5..05f81c008b 100644 --- a/docs/source/ko/generation_strategies.md +++ b/docs/source/ko/generation_strategies.md @@ -333,5 +333,5 @@ culture, and they allow us to design the' >>> assistant_model = AutoModelForCausalLM.from_pretrained(assistant_checkpoint) >>> outputs = model.generate(**inputs, assistant_model=assistant_model, do_sample=True, temperature=0.5) >>> tokenizer.batch_decode(outputs, skip_special_tokens=True) -['Alice and Bob are going to the same party. It is a small party, in a small'] +['Alice and Bob, who were both in their early twenties, were both in the process of'] ```