Add overloads for PretrainedModel.from_pretrained
# What does this PR do?

<!--
Congratulations! You've made it this far! You're not quite done yet though.

Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.

Then, please replace this with a description of the change and which issue is fixed (if applicable). Please also include relevant motivation and context. List any dependencies (if any) that are required for this change.

Once you're done, someone will review your PR shortly (see the section "Who can review?" below to tag some potential reviewers). They may suggest changes to make the code even better. If no one reviewed your PR after a week has passed, don't hesitate to post a new comment @-mentioning the same persons---sometimes notifications get lost.
-->

<!-- Remove if not applicable -->

Fixes #23980

This PR fixes the type hints that users see when calling `PretrainedModel.from_pretrained`

before:
```python
import transformers

bert_model = transformers.BertForSequenceClassification.from_pretrained("...")
reveal_type(bert_model)  # Type of "bert_model" is "tuple[Unknown | BertForSequenceClassification, dict[str, Unbound | Unknown] | dict[str, Unknown | list[Unknown]] | Unknown] | Unknown | BertForSequenceClassification"

bert_model_and_loading_info = transformers.BertForSequenceClassification.from_pretrained("...", output_loading_info=True)
reveal_type(bert_model_and_loading_info)  # Type of "bert_model_and_loading_info" is "tuple[Unknown | BertForSequenceClassification, dict[str, Unbound | Unknown] | dict[str, Unknown | list[Unknown]] | Unknown] | Unknown | BertForSequenceClassification"
```

after:
```python
import transformers

bert_model = transformers.BertForSequenceClassification.from_pretrained("...")
reveal_type(bert_model)  # Type of "bert_model" is "BertForSequenceClassification"

bert_model_and_loading_info = transformers.BertForSequenceClassification.from_pretrained("...", output_loading_info=True)
reveal_type(bert_model_and_loading_info)  # Type of "bert_model_and_loading_info" is "Tuple[BertForSequenceClassification, LoadingInfo]"
```

1. move `output_loading_info` from variadic kwargs to be an explicit kwarg
2. create overloaded signature for `from_pretrained` based on its value
3. add `LoadingInfo` `TypedDict`

## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
      Pull Request section?
- [ ] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link
      to it if that's the case.
- [ ] Did you make sure to update the documentation with your changes? Here are the
      [documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and
      [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation).
- [ ] Did you write any new necessary tests?


## Who can review?

Documentation: @sgugger, @stevhliu and @MKhalusova
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24035). All of your documentation changes will be reflected on that endpoint.<|||||>> you can search the source code, it's not present anywhere

Searching in the source code, you can see it here: https://github.com/search?q=repo%3Ahuggingface%2Ftransformers+%40overload&type=code

Is there a specific part of this `overload` that makes it difficult to merge in?

This overload makes it obvious to users that you only get the `LoadingInfo` when you pass in `output_loading_info=True` and that otherwise they will only get the model they expected.<|||||>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.