You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
ModuleNotFoundError: No module named 'sentence_transformers' In call to configurable 'SupertMetric' (<class 'summ_eval.supert_metric.SupertMetric'>)
Version:
0.891
Description
Tried the new summ_eval package but still getting this issue in the reference-free evaluation metric.
Code to Reproduce Error
ARTICLE = "The ex-Reading defender denied fraudulent trading charges relating to the Sodje Sports Foundation - a charity to raise money for Nigerian sport. Mr Sodje, 37, is jointly charged with elder brothers Efe, 44, Bright, 50 and Stephen, 42. Appearing at the Old Bailey earlier, all four denied the offence. The charge relates to offences that allegedly took place between 2008 and 2014. Sam, from Kent, Efe and Bright, of Greater Manchester, and Stephen, from Bexley, are due to stand trial in July. They were all released on bail."
SUM = "Former Premier League footballer Sam Sodje has appeared in court alongside three brothers accused of charity fraud."
def test_supert_single():
metric = SupertMetric()
score = metric.evaluate_example(SUM, ARTICLE)
return score
print(test_supert_single())
The text was updated successfully, but these errors were encountered:
ankitk2109
changed the title
SupertMetric: sentence_transformers Module not found
SupertMetric: sentence_transformers module not found
Apr 5, 2022
When you run the metric for the first time, it should prompt you to add summ_eval to your PYTHONPATH here. Let me know if you're not being prompted to do so when running this.
Error:
ModuleNotFoundError: No module named 'sentence_transformers' In call to configurable 'SupertMetric' (<class 'summ_eval.supert_metric.SupertMetric'>)
Version:
0.891
Description
Tried the new summ_eval package but still getting this issue in the reference-free evaluation metric.
Code to Reproduce Error
The text was updated successfully, but these errors were encountered: