What is the input data structure of the paragraph_transform function? Is it a list of word? I got keyError when I give a list of words as input.
I hope this is a simple question, because I'm new to NLP.
Thanks. This is great project.
UPDATE: did I understand it wrong? I'm using pretrained model and just use this function to convert short sentence/paragraph to a vector. But reading the code, it seems this function does gradient update, which seems like a training process...
What is the input data structure of the paragraph_transform function? Is it a list of word? I got keyError when I give a list of words as input.
I hope this is a simple question, because I'm new to NLP.
Thanks. This is great project.
UPDATE: did I understand it wrong? I'm using pretrained model and just use this function to convert short sentence/paragraph to a vector. But reading the code, it seems this function does gradient update, which seems like a training process...