mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-22 19:19:21 +01:00
refactor doc build and fix some typos
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/8819462
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user