How to extract embedding features vectors from encoder block of BERT model?
I got this code block and its outputs here but I am not sure if this is the embedding features vectors or simply its shape. Can anyone tell me if I am right or wrong? text_input = tf.keras.layers.Input(shape=(), dtype=tf.string) preprocessor = hub.KerasLayer( "https://kaggle.com/models/tensorflow/b…
Read the full story at r/learnmachinelearning ↗
Timeline · 1 report
- 2026-10-15 16:21 · r/learnmachinelearning
How to extract embedding features vectors from encoder block of BERT model?