--- license: cc --- # InstructScore (SEScore3) An amazing explanation metric (diagnostic report) for text generation evaluation First step, you may download all required dependencies through: pip3 install -r requirements.txt # Metric Card for InstructScore ![alt text](https://huggingface.co/xu1998hz/InstructScore/blob/main/figs/InstructScore_teaser.jpg) To run our metric, you only need five lines ```` ``` 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) ``` ```` ![Overview](https://huggingface.co/xu1998hz/InstructScore/blob/main/figs/InstructScore.jpg)