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

Removes default bert scorer init #234

Merged
merged 4 commits into from
Jul 24, 2024
Merged

Removes default bert scorer init #234

merged 4 commits into from
Jul 24, 2024

Conversation

clefourrier
Copy link
Member

@clefourrier clefourrier commented Jul 18, 2024

At the moment, initialisation of metric (which happens systematically) loads the Bert Scorer model. Now with this PR, the init happens at first metric use, so the bert scorer is only downloaded if the metric is going to be used.

@NathanHB NathanHB merged commit 2b4b637 into main Jul 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants