yangheng95 / LCF-ATEPC

codes for paper A Multi-task Learning Model for Chinese-oriented Aspect Polarity Classification and Aspect Term Extraction
MIT License
186 stars 45 forks source link

cross validation #34

Closed Astudnew closed 3 years ago

Astudnew commented 3 years ago

Hi I need to use cross-validation. in which part of the code can I modify?

yangheng95 commented 3 years ago

Refactor the data loading method, combine and resplit the train and test datasets according to origianl split ratio. https://github.com/yangheng95/LCF-ATEPC/blob/384a222220fda73ed08dc6c016d02e1653f0f1d2/train.py#L96