Getting error in importing TFTrainer
i tried importing TFTTrainer with below codefrom transformers import TFDistilBertForSequenceClassification, TFTrainer, TFTrainingArgumentsbut got the below errorImportError                               Traceback (most recent call last)Cell In[85], line 1----> 1 from transformers import TFDistilBertForSequenceClassification, TFTrainer, TFTrainingArgumentsImportError: cannot import name ‘TFTrainer’ from ‘transformers’ (C:\Users\sredekar\AppData\Roaming\Python\Python311\site-packages\transformers_init_.py)can anyone help
2024-07-22T19:03:26Z
I am sharing one solution that I found, I hope this helps try installing !pip install transformers==4.18.0 as newer versions does not support TFTrainer.