In this code we make use of dataset called OLIDv1.0
install the requirements
❱❱❱ pip install -r requirements.txt
Now we are good to go !!
just run the below command
❱❱❱ python train.py --gpu --data_path data/ --save_path save/ --lr 5e-5 --batch_size 32 --epochs 4 --plot_path save/plot/ --bert_model bert-base-cased