segment-any-text / wtpsplit

Toolkit to segment text into sentences or other semantic units in a robust, efficient and adaptable way.
MIT License
753 stars 44 forks source link

InconsistentVersionWarning Issue everytime I start wtp #105

Closed TutubanaS closed 1 month ago

TutubanaS commented 1 year ago

Hi, everytime I run a wtp object I get the following warning;

InconsistentVersionWarning: Trying to unpickle estimator LogisticRegression from version 1.2.2 when using version 1.3.0. This might lead to breaking code or invalid results. Use at your own risk. For more info pl
ease refer to:
https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations
warnings.warn(

and ends. Any ideas on how to tackle this?

bminixhofer commented 1 year ago

Hey, you can either:

I'll fix this when I have time but it's not really high prio since it shouldn't impact anything.

markus583 commented 1 month ago

Not an issue with newer SaT models, so I close this issue.