  select the correct objective for your task (e.g. MLM checkpoints are not suitable for generation).
XLM has multilingual checkpoints which leverage a specific lang parameter. Check out the multi-lingual page for more information.
This model was contributed by thomwolf. The original code can be found here.
XLMConfig
[[autodoc]] XLMConfig
XLMTokenizer
[[autodoc]] XLMTokenizer
    - build_inputs_with_special_tokens
    - get_special_tokens_mask
    - create_token_type_ids_from_sequences
    - save_vocabulary
XLM specific outputs
[[autodoc]] models.xlm.modeling_xlm.XLMForQuestionAnsweringOutput
XLMModel
[[autodoc]] XLMModel
    - forward
XLMWithLMHeadModel
[[autodoc]] XLMWithLMHeadModel
    - forward
XLMForSequenceClassification
[[autodoc]] XLMForSequenceClassification
    - forward
XLMForMultipleChoice
