Transformers version is 4.3.3. The training arguments are:
–train_data_file sample_data.json 
–test_data_file sample_data.json 
–output_dir output 
–tokenizer_name bert-base-uncased \
–model_name_or_path bert-base-uncased \
–per_device_train_batch_size 16 \
–per_device_eval_batch_size 16 \
–do_train \
–do_predict 
–num_train_epochs 3 \
–learning_rate 0.00001 \
–logging_steps 100 \
–dataloader_num_workers 4 \
–evaluation_strategy epoch \
–overwrite_output_dir 
–load_best_model_at_end True
–logging_dir logs