How to train using run_glue on datasets like snli?

I was reading this post on the forum https://discuss.huggingface.co/t/run-glue-py-with-my-own-dataset-of-one-sentence-input and wanted to know if I can do something like --train_file snli? And if not how do I train on snli or other datasets that have a similar format/ similar use.