title: transformers-cli error: the following arguments are required: --model_type
body: <p>I am trying to convert a tf checkpoint to a pytorch checkpoint using <code>transformers-cli</code> as following</p>
  
  <p><code>transformers-cli convert model_type bert --tf_checkpoint bio_bert_large_1000k.ckpt --config bert_config_bio_58k_large.json --pytorch_dump_output pytorch_model.bin</code></p>
  
  <p>and am getting the following error</p>
  
  <pre><code>usage: transformers-cli &lt;command&gt; [&lt;args&gt;] convert [-h] --model_type
                                                 MODEL_TYPE --tf_checkpoint
                                                 TF_CHECKPOINT
                                                 --pytorch_dump_output
                                                 PYTORCH_DUMP_OUTPUT
                                                 [--config CONFIG]
                                                 [--finetuning_task_name FINETUNING_TASK_NAME]
  transformers-cli &lt;command&gt; [&lt;args&gt;] convert: error: the following arguments are required: --model_type
  </code></pre>
  
  <p>What am I doing wrong?</p>