add dataset split and config to model-index in TrainingSummary.from_trainer (#18064)
add dataset split and config to model-index in TrainingSummary.from_trainer (#18064)

* added metadata to training summary

* Apply suggestions from code review

Co-authored-by: Sylvain Gugger <222c4d44cc8ec39802c192ed0aa3f97cdb77ff4e@users.noreply.github.com>

Co-authored-by: Sylvain Gugger <222c4d44cc8ec39802c192ed0aa3f97cdb77ff4e@users.noreply.github.com>
huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers