PySpark: Add one more layer to BertSentenceEmbeddings model
I’m working with SparkNLP and PySpark, and my objecive is to be able to add another layer to BertSentenceEmbeddings. My input to BertSentenceEmbeddings is a paragraph with multiple sentences which results in an array of final embeddings.
PySpark: Add a penultimate layer to a model to manipulate final embeddings
I have been going through the GitHub repository for SparkNLP and PySpark and my objecive is to be able to add another layer to BertSentenceEmbeddings.