Expected object of scalar type Bool but got scalar type Byte for argument #2 'other'
How to fix the problem
02/18/2022 14:31:08 - INFO - root - initializing callbacks
02/18/2022 14:31:08 - INFO - root - ***** Running training *****
02/18/2022 14:31:08 - INFO - root - Num examples = 127657
02/18/2022 14:31:08 - INFO - root - Num Epochs = 6
02/18/2022 14:31:08 - INFO - root - Total train batch size (w. parallel, distributed & accumulation) = 8
02/18/2022 14:31:08 - INFO - root - Gradient Accumulation steps = 1
02/18/2022 14:31:08 - INFO - root - Total optimization steps = 95748
02/18/2022 14:31:08 - WARNING - root - Warning: There's no GPU available on this machine, training will be performed on CPU.
02/18/2022 14:31:08 - WARNING - root - Warning: The number of GPU's configured to use is 0, but only 0 are available on this machine.
02/18/2022 14:31:08 - INFO - root - Epoch 1/6
Traceback (most recent call last):
File "run_bert.py", line 216, in