How to handle imbalanced classes in transformers pytorch binary classification

后端 未结 0 1800
南旧
南旧 2021-01-26 06:22

I am working on binary text classification problem. How do i apply smote or WeightedRandomSample for the imbalance in my dataset.My code currenlty looks like this:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题