Using a finetuned model for embeddings

Hello,

Suppose I fine tune a model like BridgeTower on my own dataset. I do so using the BridgeTowerContrastive class.

Now once trained I have a model that can produce embeddings for my domain.

But how do I cast this back into the original BridgeTower class so that I can use it as a crossmodal embedding model within my domain?