refactor doc build and fix some typos

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/8819462
This commit is contained in:
yingda.chen
2022-05-25 12:15:38 +08:00
committed by wenmeng.zwm
parent cb416edc2a
commit 043e498e01
13 changed files with 21 additions and 28 deletions

View File

@@ -39,13 +39,13 @@ class SequenceClassificationPipeline(Pipeline):
}
def postprocess(self, inputs: Dict[str, Any]) -> Dict[str, str]:
"""process the predict results
"""process the prediction results
Args:
inputs (Dict[str, Any]): _description_
Returns:
Dict[str, str]: the predict results
Dict[str, str]: the prediction results
"""
probs = inputs['probabilities']