Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
derixu committed Dec 26, 2024
1 parent c95bcbe commit bbcef89
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fastchat/serve/monitor/classify/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def post_process(self, judgement, uid):
uid (str): UID of the battle to be labeled
Returns:
output (Dict[str, Dict[str, str]]: Keys is battle uid, value is the output associated with that battle (usually a dictionary)
output (Dict[str, Dict[str, str]]: Key is battle UID, value is the output associated with that battle (usually a dictionary)
raw_ouput (Dict[str, str]): Key is battle UID, value is the unprocessed LLM output
"""
pass

Expand Down Expand Up @@ -132,7 +133,8 @@ def post_process(labels, to_label_uids):
to_label_uids (List[str]): Battle UIDs corresponding to each string that was labeled
Returns:
output (Dict[str, Dict[str, str]]: Key are battle uids, value is the output associated with that battle (usually a dictionary)
output (Dict[str, Dict[str, str]]: Keys are battle uids, values are the outputs associated with that battle (usually a dictionary)
raw_ouput (Dict[str, str]): Keys is battle UIDs, value is the unprocessed HF model output or None
"""
pass

Expand Down

0 comments on commit bbcef89

Please sign in to comment.