模型:
xu1998hz/InstructScore
对文本生成评估的精彩解释指标(诊断报告)
第一步,您可以通过以下方式下载所有所需的依赖项:pip3 install -r requirements.txt
要运行我们的指标,您只需要五行代码
请访问我们的Github: https://github.com/xu1998hz/SEScore3/
``` from InstructScore import * refs = ["Normally the administration office downstairs would call me when there’s a delivery."] outs = ["Usually when there is takeaway, the management office downstairs will call."] scorer = InstructScore() batch_outputs, scores_ls = scorer.score(refs, outs) ```