I am using ELMO model from tensorflow hub.
import tensorflow as tf
import tensorflow_hub as hub
from tensorflow.contrib import predictor
elmo = hub.Module("https://tfhub.dev/google/elmo/3", trainable=False)
The default output dimension is 1024. Is there any possible way to reduce the dimension of ELMO embeddings to 128
without using PCA/losing information?