Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue #44

Open
ndenicoo opened this issue Mar 1, 2024 · 1 comment
Open

Installation issue #44

ndenicoo opened this issue Mar 1, 2024 · 1 comment

Comments

@ndenicoo
Copy link

ndenicoo commented Mar 1, 2024

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!

@yyy-Apple
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants