How to export BertForMaskedLM to onxx using onxx export script?
Where would I add parameter that I want to convert BertForMaskedLM to onxx. I found the code bellow, but it probably only exports just bert model and not the one with MaskedLM head.

    from pathlib import Path
    from transformers.convert_graph_to_onnx import convert
    convert(framework="pt", model="bert-base-cased", output=Path("onnx/bert-base-cased.onnx"), opset=11)
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md) are likely to be ignored.