# Running run\_mlm.py on command line

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Frunning-run-mlm-py-on-command-line%2F26367%3E%5C
**Category:** Beginners\
**Created:** [November 19, 2022, 8:25pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Frunning-run-mlm-py-on-command-line%2F26367 "2022-11-19T20:25:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjrr](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jjrr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjjrr)%5C
**Post date:** [November 19, 2022, 8:25pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Frunning-run-mlm-py-on-command-line%2F26367%2F1 "2022-11-19T20:25:37Z")

</div>

Hi!  
I want to run ru\_mlm.py file. I installed the transformers but got this error.

the code ran on CML :

```auto
python run_mlm.py --model_name_or_path roberta-base --train_file C:/Users/Seyyed Javad Razavi/Desktop/New folder (2)/dataset/posts_text.txt --validation_file C:/Users/Seyyed Javad Razavi/Desktop/New folder (2)/dataset/test.txt --per_device_train_batch_size 4 --per_device_eval_batch_size 4 --do_train --do_eval --output_dir /tmp/test-mlm

```

and the error:

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/7/73d23b95d143ae6097115c03426e718034ed0191.png)
