You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our pre-processing pipeline broke since the nltk update because of the following issues:
Unpickling restricted to simple types to avoid CVE issues (the reason we have to upgrade from 3.8.1 asap). So use "PunktTokenizer" to safely load the nltk model rather than using "nltk.data.load".
"punkt" package contains unsafe pickles and is replaced by "punkt_tab" [https://github.com/[BUG] punkt_tab breaking change nltk/nltk#3293]
We had to create a custom preprocessor component to fix the above issues. Happy to contribute to a fix if needed.
We upgraded farm-haystack to 1.26.3 today and we confirm that the preprocessor is working fine with nltk 3.9.1 , so we don't need the custom preprocessor anymore. Thanks a lot for your prompt response to this issue!
Activity
sagarneeldubey commentedon Aug 15, 2024
Our pre-processing pipeline broke since the nltk update because of the following issues:
We had to create a custom preprocessor component to fix the above issues. Happy to contribute to a fix if needed.
vblagoje commentedon Aug 29, 2024
Closing as #8256 has been integrated on 1.26.x branch and a new 1.26.3 release has been released with this fix.
sagarneeldubey commentedon Aug 30, 2024
We upgraded farm-haystack to 1.26.3 today and we confirm that the preprocessor is working fine with nltk 3.9.1 , so we don't need the custom preprocessor anymore. Thanks a lot for your prompt response to this issue!
vblagoje commentedon Sep 1, 2024
Awesome, thanks for reporting back @sagarneeldubey much appreciated 🚀