TFTrainer: Checkpoints not getting saved in `output_dir` but in {cwd}/checkpoint
I am using TFTrainer for the SQuAD task.
Checkpoints are being created in cwd/checkpoint insted of output_dir.

**Potential Cause:**
https://github.com/huggingface/transformers/blob/9ca485734aea269961d63a040ff194365d151fd1/src/transformers/trainer_tf.py#L156
Instead of PREFIX_CHECKPOINT_DIR we need to have
```python
os.path.join(self.args.output_dir, PREFIX_CHECKPOINT_DIR)
```
Pinging @jplu as it might be of interest.<|||||>@0dust This is the intent behavior :)

A solution would be to add a parameter to the arguments to select the checkpoint folder location you want<|||||>@jplu Sorry if i am missing something but isn't 'output_dir' the folder to save the checkpoint?
https://github.com/huggingface/transformers/blob/ed4df85572924871758ca32133b46116121c706f/src/transformers/training_args.py#L41-L43<|||||>Not for the TF one, it is one of the few difference between the both trainers.<|||||>Ohh,  I see!  Thanks for the clarification. Just a quick question before i close the issue,  Is there any specific reason for this?  Or it's just a matter of time before it starts to behave similar to pytorch trainer. <|||||>It is just matter of time :)