From c73f0e5c8c25ede56e3eeb28ff9dd37f09212994 Mon Sep 17 00:00:00 2001 From: HydeZero <128327411+HydeZero@users.noreply.github.com> Date: Fri, 5 Jul 2024 11:44:28 -0500 Subject: [PATCH] python: fix docstring grammar (#2529) Signed-off-by: HydeZero <128327411+HydeZero@users.noreply.github.com> --- gpt4all-bindings/python/gpt4all/gpt4all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-bindings/python/gpt4all/gpt4all.py b/gpt4all-bindings/python/gpt4all/gpt4all.py index af47c408..4364d7d5 100644 --- a/gpt4all-bindings/python/gpt4all/gpt4all.py +++ b/gpt4all-bindings/python/gpt4all/gpt4all.py @@ -502,7 +502,7 @@ class GPT4All: Generate outputs from any GPT4All model. Args: - prompt: The prompt for the model the complete. + prompt: The prompt for the model to complete. max_tokens: The maximum number of tokens to generate. temp: The model temperature. Larger values increase creativity but decrease factuality. top_k: Randomly sample from the top_k most likely tokens at each generation step. Set this to 1 for greedy decoding.