text: 
  
  TITLE
  Running Roberta on Race Multi choice dataset giving error 
  
  COMMENTS
  2
  
  REACTIONS
  +1: 0
  -1: 0
  laugh: 0
  hooray: 0
  heart: 0
  rocket: 0
  eyes: 0
  
  BODY
  I am trying to use the script provided for race dataset training using bert/roberta models. I am running the script and getting this error :
  
  
  ```
  python3 run_multiple_choice.py --task_name race --model_name_or_path roberta-base--do_train --do_eval --data_dir $SWAG_DIR --learning_rate 5e-5 --num_train_epochs 3 --max_seq_length 80 --output_dir models_bert/swag_base --per_gpu_eval_batch_size=16 --per_device_train_batch_size=16 --gradient_accumulation_steps 2 --overwrite_output
  /home/admin/Monk/lib/python3.6/site-packages/transformers/training_args.py:332: FutureWarning: The `evaluate_during_training` argument is deprecated in favor of `evaluation_strategy` (which has more options)
    FutureWarning,
  11/19/2020 12:22:36 - WARNING - __main__ -   Process rank: -1, device: cuda:0, n_gpu: 4, distributed training: False, 16-bits training: False
  Some weights of the model checkpoint at roberta-base were not used when initializing RobertaForMultipleChoice: ['lm_head.bias', 'lm_head.dense.weight', 'lm_head.dense.bias', 'lm_head.layer_norm.weight', 'lm_head.layer_norm.bias', 'lm_head.decoder.weight']
  - This IS expected if you are initializing RobertaForMultipleChoice from the checkpoint of a model trained on another taskor with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPretraining model).
  - This IS NOT expected if you are initializing RobertaForMultipleChoice from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
  Some weights of RobertaForMultipleChoice were not initialized from the model checkpoint at roberta-base and are newly initialized: ['classifier.weight', 'classifier.bias']
  You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
  Traceback (most recent call last):
    File "run_multiple_choice.py", line 237, in <module>
      main()
    File "run_multiple_choice.py", line 171, in main
      if training_args.do_train
    File "/home/admin/Monk/hf_mcq/utils_multiple_choice.py", line 113, in __init__
      with FileLock(lock_path):
    File "/home/admin/Monk/lib/python3.6/site-packages/filelock.py", line 323, in __enter__
      self.acquire()
    File "/home/admin/Monk/lib/python3.6/site-packages/filelock.py", line 271, in acquire
      self._acquire()
    File "/home/admin/Monk/lib/python3.6/site-packages/filelock.py", line 384, in _acquire
      fd = os.open(self._lock_file, open_mode)
  FileNotFoundError: [Errno 2] No such file or directory: '/RACE/cached_train_RobertaTokenizer_80_race.lock'
  ```