segment-any-text / wtpsplit

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

InconsistentVersionWarning Issue everytime I start wtp #105

Open TutubanaS opened 11 months ago

TutubanaS commented 11 months 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 10 months 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.