BARTScore icon indicating copy to clipboard operation
BARTScore copied to clipboard

Installation issue

Open ndenicoo opened this issue 1 year ago • 1 comments

Hi,

I'm sorry if this question is kind of basic, but I do not know how to install bart_score into Jupyter Notebook. I have seen there is a bart_score.pth file but I do not know if that is related with importing the library

from bart_score import BARTScorer

Any help would be so much appreciated. Thanks in advance!

ndenicoo avatar Mar 01 '24 09:03 ndenicoo

bart_score.pth is not related with importing the library. It is just our trained model. If you don't specify the checkpoint to be bart_score.pth, the default setting will download the facebook/bart-large-cnn model as the scorer.

yyy-Apple avatar Mar 01 '24 16:03 yyy-Apple