diff --git a/docs/docs/integrations/chat/huggingface.ipynb b/docs/docs/integrations/chat/huggingface.ipynb index 72f95afc4ad7d..af03eb8d36b05 100644 --- a/docs/docs/integrations/chat/huggingface.ipynb +++ b/docs/docs/integrations/chat/huggingface.ipynb @@ -404,6 +404,7 @@ " max_new_tokens=512,\n", " do_sample=False,\n", " repetition_penalty=1.03,\n", + " return_full_text=False,\n", " ),\n", " model_kwargs={\"quantization_config\": quantization_config},\n", ")\n",