Custom files for run_ner.py

Hi, I am trying to train BERT using run_ner.py with my own train and eval set
python /rds/projects/d/divjakd-ooo-machines/Users/irene/BERT/transformers/examples/pytorch/token-classification/run_ner.py
–model_name_or_path bert-base-uncased
–train_file ‘/rds/projects/d/divjakd-ooo-machines/Users/irene/articles_old/Step1_Extract_sentences_with_articles_BNC/Results/train_set_bert_comma.csv’
–validation_file ‘/rds/projects/d/divjakd-ooo-machines/Users/irene/articles_old/Step1_Extract_sentences_with_articles_BNC/Results/eval_set_bert_comma.csv’
–output_dir /tmp/test-ner
–do_train
–do_eval

but I am confused about the file format. I get an error saying
File “/rds/projects/d/divjakd-ooo-machines/Users/irene/BERT/transformers/examples/pytorch/token-classification/run_ner.py”, line 296, in main
if isinstance(features[label_column_name].feature, ClassLabel):
AttributeError: ‘Value’ object has no attribute ‘feature’

Any help? my files are csv comma separated, and have two columns, 0 and 1