Using PyTorch model in TensorFlow

Hi,

I would like to use a model built using PyTorch (namely this one ) in a Tensorflow environment.

More specifically I would like to start by just extract some of the embeddings in the later layers, and then potentially run some fine-tuning.

So I have two questions:

  1. Is there a way to load and run inference from a PyTorch model in TensorFlow?
  2. Is there a way to load and fine-tune a PyTorch model in Tensorflow?

Thanks in advance!