Trainer + wandb quality of life logging tweaks
Author: TevenLeScao
Pull request: yes

As discussed on Slack, this PR adds the possibility for users to specify a `name` for the run in their wandb project, and logs the model config in addition to the trainer args in the `wandb.init` call (if there is a duplicate key, it is overriden by the trainer args)

Comments:
# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6241?src=pr&el=h1) Report
> Merging [#6241](https://codecov.io/gh/huggingface/transformers/pull/6241?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0513f8d275022d4055b710a33cd520b2000982bf&el=desc) will **decrease** coverage by `0.03%`.
> The diff coverage is `55.55%`.

[![Impacted file tree graph](https://codecov.io/gh/huggingface/transformers/pull/6241/graphs/tree.svg?width=650&height=150&src=pr&token=9qOlN6Hb1c)](https://codecov.io/gh/huggingface/transformers/pull/6241?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master    #6241      +/-   ##
==========================================
- Coverage   79.61%   79.57%   -0.04%     
==========================================
  Files         146      146              
  Lines       26597    26600       +3     
==========================================
- Hits        21175    21167       -8     
- Misses       5422     5433      +11     
```


| [Impacted Files](https://codecov.io/gh/huggingface/transformers/pull/6241?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [src/transformers/configuration\_encoder\_decoder.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9jb25maWd1cmF0aW9uX2VuY29kZXJfZGVjb2Rlci5weQ==) | `100.00% <ø> (ø)` | |
| [src/transformers/modeling\_encoder\_decoder.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9tb2RlbGluZ19lbmNvZGVyX2RlY29kZXIucHk=) | `92.20% <ø> (ø)` | |
| [src/transformers/trainer.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy90cmFpbmVyLnB5) | `39.06% <0.00%> (-0.09%)` | :arrow_down: |
| [src/transformers/trainer\_tf.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy90cmFpbmVyX3RmLnB5) | `12.45% <0.00%> (-0.05%)` | :arrow_down: |
| [src/transformers/training\_args\_tf.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy90cmFpbmluZ19hcmdzX3RmLnB5) | `47.45% <ø> (ø)` | |
| [src/transformers/benchmark/benchmark\_args\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9iZW5jaG1hcmsvYmVuY2htYXJrX2FyZ3NfdXRpbHMucHk=) | `89.13% <100.00%> (ø)` | |
| [src/transformers/tokenization\_utils\_base.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy90b2tlbml6YXRpb25fdXRpbHNfYmFzZS5weQ==) | `93.84% <100.00%> (ø)` | |
| [src/transformers/training\_args.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy90cmFpbmluZ19hcmdzLnB5) | `80.39% <100.00%> (+0.19%)` | :arrow_up: |
| [src/transformers/generation\_tf\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9nZW5lcmF0aW9uX3RmX3V0aWxzLnB5) | `79.19% <0.00%> (-2.51%)` | :arrow_down: |
| [src/transformers/file\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/6241/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9maWxlX3V0aWxzLnB5) | `80.30% <0.00%> (+0.25%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/huggingface/transformers/pull/6241?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6241?src=pr&el=footer). Last update [d5b0a0e...f588bd6](https://codecov.io/gh/huggingface/transformers/pull/6241?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).


Updated the PR with your comments!

But CI looks like it broke inbetween

I love the fact that more parameters are now auto logged.

For info the approach right now in this integration was to pass environment variables to configure `wandb.init` so you can set many more parameters: https://docs.wandb.com/library/environment-variables

You can also call `wandb.init` yourself before which will replace any future ones with a noop.

People use a lot of different init parameters so you can either add them manually (like with the run_name one) or could use a "kwargs" approach to accept more (and extract all the valid ones or even just the ones starting with `wandb_`).

Hello @LysandreJik and friends! If you like more items being logged, hopefully someone can review #6176 sooner than later to cut down on merge conflicts. I re-arranged some of the wandb and tensorboard initialization code to better accommodate what could be a growing list of integrations. 

@LysandreJik @dsblank do you think we should merge #6176 first? 

Merging this right now since it's ready. @dsblank Sorry for the delay in reviewing your PR, I'm heading there next and will help solve potential merge conflicts if needed.