deepspeed z1/z2 state dict fix
# What does this PR do?
1. Fixes https://github.com/huggingface/transformers/issues/22822
2. Should be merged after https://github.com/huggingface/accelerate/pull/1638

The fix in accelerate uses the `deepspeed.checkpoint.utils.clone_tensors_for_torch_save` which removes the bloated state_dict. In Trainer, we use `accelerator.get_state_dict` to get the resultant lean state dict when using DeepSpeed and the ZeRO stage is not 3. 

Also, a typo fix.
_The documentation is not available anymore as the PR was closed or merged._<|||||>Hello Sylvain, updated the description of the PR, Thank you!