I have custom trained ELMO embedding and I would like to save it in a format as similar to the tensorflow hub model. This will enable to fetch the ELMO embedding from the data very handy as similar to below code.
import tensorflow_hub as hub
elmo = hub.Module("https://tfhub.dev/google/elmo/3", trainable=True)
embeddings = elmo(
["the cat is on the mat", "dogs are in the fog"],
signature="default",
as_dict=True)["elmo"]