[Trainer] Why not use `tqdm`'s `dynamic_ncols=True` option?
### Feature request

# Problem

Tqdm progress bar is getting ugly when the width of the terminal is shrunk!

![image](https://github.com/huggingface/transformers/assets/4879345/b60f232f-41a5-40de-b759-8bb2710d3b5f)

It progress bar makes the new line on every update! It is very ugly...

# Solution

Simply add the `dynamic_ncols=True` option to `tqdm`. It is located in `trainer_callbacks.ProgressCallback`.

![image](https://github.com/huggingface/transformers/assets/4879345/6741eb00-7430-48db-acc8-4c3a0eb00217)

You can check the progress bar is now dynamically resized when the terminal size is updated.

### Motivation

When I connect `tmux` session with different widths of the terminal, then the `tqdm` printing is getting ugly.

### Your contribution

Please check the PR #24101