How to specify model revision through HfArgumentParser?

I’d like to pass a model revision argument to be used in from_pretrained(). However, I get an error from HfArgumentParser that --revision and --model_revision are invalid arguments.

1 Like