s-nlp / detox

Models for automatically transforming toxic text to neutral

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: cannot import name 'FeatureExtractionMixin' from 'transformers' (/usr/local/lib/python3.8/dist-packages/transformers/__init__.py) in both condbert files

bhaveshk1502 opened this issue · comments

this was working fine till yesterday mr dale. Today it started showing this error. Can you please look into it (I got this error on specified transformers(4.11.1) and lastest one as well) @avidale
image

there was a new release from flair today, sticking to 0.11 will avoid this error and thank you David dale