Which Tensorflow model are you starting from?
If it’s one from the library you probably don’t need to convert it.
If it’s an original checkpoint from another repository (typically from the original authors repository) then you should use the convertion command line utility. The transformers-cli is a command you can run from the command line when you have installed the transformers package.