Skip to content

Commit

Permalink
Fix deprecation warning on escaped characters (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
loadams committed May 16, 2024
1 parent dcc4190 commit c171c4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mii/backend/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def generate(self,
:param prompts: The string or list of strings used as prompts for generation.
:param streaming_fn: Streaming support is currently a WIP.
:param \**generate_kwargs: Generation keywords. A full list can be found here.
:param \\*\\*generate_kwargs: Generation keywords. A full list can be found here.
:return: A list of :class:`Response` objects containing the generated
text for all prompts.
Expand Down
2 changes: 1 addition & 1 deletion mii/batching/ragged_batching.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ def __call__(self,
Generates text for the given prompts
:param prompts: The string or list of strings used as prompts for generation.
:param \**generate_kwargs: Generation keywords. A full list can be found
:param \\*\\*generate_kwargs: Generation keywords. A full list can be found
in :class:`GenerateParamsConfig <mii.config.GenerateParamsConfig>`.
:return: A list of :class:`Response` objects containing the generated
Expand Down

0 comments on commit c171c4e

Please sign in to comment.