How to use Pytorch Transformer models with Tensorflow.js

I’m trying to save a Transformer model so that it can be used with Tensorflow.js. Tensorflowjs_converter can take SavedModel or Keras H5 formats. What’s the best way to do this? Thanks!

Bump. I’ve read articles about how I should convert from Pytorch to ONNX then to Tensorflow then Tensorflowjs. Just curious if there’s a more direct way. Thank you!