Skip to content

Commit

Permalink
Update tasks.py
Browse files Browse the repository at this point in the history
a -> an
  • Loading branch information
eltociear authored Jan 10, 2024
1 parent 60d91ff commit 2bad8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superagi/llms/utils/huggingface_utils/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class TextGenerationParameters():
The more a token is used within generation the more it is penalized to not be picked in successive generation passes.
max_new_tokens: (Default: None). Int (0-250).
The amount of new tokens to be generated, this does not include the input length it is a estimate of the size of generated text you want. Each new tokens slows down the request, so look for balance between response times and length of text generated.
The amount of new tokens to be generated, this does not include the input length it is an estimate of the size of generated text you want. Each new tokens slows down the request, so look for balance between response times and length of text generated.
max_time: (Default: None). Float (0-120.0).
The amount of time in seconds that the query should take maximum.
Expand All @@ -82,4 +82,4 @@ class TextGenerationParameters():
max_time: Optional[float] = None
return_full_text: bool = True
num_return_sequences: int = 1
do_sample: bool = True
do_sample: bool = True

0 comments on commit 2bad8ac

Please sign in to comment.