Skip to content

Commit

Permalink
[Fix] Fix lint (#1334)
Browse files Browse the repository at this point in the history
* update needlebench docs

* update model_name_mapping dict

* update README

* fix_lint
  • Loading branch information
Mor-Li authored Jul 18, 2024
1 parent 1bfb421 commit f40add2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencompass/models/base_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def _prompt2api(self,
res = []
for prompt in prompts:
if isinstance(prompt, str):
raise TypeError('Mixing str without explict role is not '
raise TypeError('Mixing str without explicit role is not '
'allowed in API models!')
else:
api_role, cont = self._role2api_role(prompt, role_dict,
Expand Down

0 comments on commit f40add2

Please sign in to comment.