[fix] Change the condition of ValueError in "convert_checkpoint_from_transformers_to_megatron"
The "target_tensor_model_parallel_size" is related to "num_attention_heads", and the "target_pipeline_model_parallel_size" is related to "num_hidden_layers". 

However, the old code had "target_tensor_model_parallel_size" related to "num_hidden_layers". 

So we modified the code and added the part about "target_tensor_model_parallel_size".

Thanks!
cc @pacman100 <|||||>_The documentation is not available anymore as the PR was closed or merged._