Add type hints for XLM TensorFlow
# What does this PR do?
This PR adds type hints to the XLM model for TensorFlow.

@LysandreJik 

The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16658). All of your documentation changes will be reflected on that endpoint.<|||||>@elusenji you might have unintentionally added commits from other contributors. You would want to remove other's changes.<|||||>@kumar-abhishek does that fix the issue you highlighted?<|||||>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/main/CONTRIBUTING.md) are likely to be ignored.<|||||>Is this still being reviewed? All the checks were successfully passed.<|||||>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/main/CONTRIBUTING.md) are likely to be ignored.<|||||>Sorry, this PR completely flew over the radar! Thanks for working on it, and please ping @Rocketknight1 for the type hints PRs :)<|||||>@elusenji It looks good now, but unfortunately, things moved on since the PR was filed and now we have a bunch of new errors! Can you pull changes from our repo to your fork, and then rebase your branch? That should hopefully resolve these errors, and then this PR should be ready to merge.<|||||>> @elusenji It looks good now, but unfortunately, things moved on since the PR was filed and now we have a bunch of new errors! Can you pull changes from our repo to your fork, and then rebase your branch? That should hopefully resolve these errors, and then this PR should be ready to merge.

Done, but not sure if I did this correctly.<|||||>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/main/CONTRIBUTING.md) are likely to be ignored.