UML diagram Transformers repo?

Is there an UML diagram for the transformers repo? I am interested about a software architecture where it is easy to interchange models from different ML libraries like TF, pytorch, … And it seems that the huggingface core is build that way.