Skip to content

Commit

Permalink
update doc string (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
svlandeg authored Jan 23, 2024
1 parent fa42488 commit 38df238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spacy_llm/models/hf/mistral.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ def mistral_hf(
config_run: Optional[Dict[str, Any]] = SimpleFrozenDict(),
) -> Callable[[Iterable[Iterable[str]]], Iterable[Iterable[str]]]:
"""Generates Mistral instance that can execute a set of prompts and return the raw responses.
name (Literal): Name of the Falcon model. Has to be one of Falcon.get_model_names().
name (Literal): Name of the Mistral model. Has to be one of Mistral.get_model_names().
config_init (Optional[Dict[str, Any]]): HF config for initializing the model.
config_run (Optional[Dict[str, Any]]): HF config for running the model.
RETURNS (Callable[[Iterable[str]], Iterable[str]]): Falcon instance that can execute a set of prompts and return
RETURNS (Callable[[Iterable[str]], Iterable[str]]): Mistral instance that can execute a set of prompts and return
the raw responses.
"""
return Mistral(
Expand Down

0 comments on commit 38df238

Please sign in to comment.