Skip to content

Commit

Permalink
Update llmfoundry/models/inference_api_wrapper/interface.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel King <[email protected]>
  • Loading branch information
bmosaicml and dakinggg authored Sep 15, 2023
1 parent 2bd933a commit 77f5279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/models/inference_api_wrapper/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, model_cfg: Dict, tokenizer: AutoTokenizer):
def get_metrics(self, is_train: bool = False):
if is_train:
raise NotImplementedError(
'You cannot use OpenAI inference wrappers for training')
'You cannot use inference wrappers for training')
else:
metrics = self.eval_metrics

Expand Down

0 comments on commit 77f5279

Please sign in to comment.