Closed techat closed 7 years ago
Is text a list of words? It seems the max length of element in the text list is 60.
from encoder import Model model = Model() text = ['demo!'] text_features = model.transform(text)
It's a list of "documents" - arbitrary length pieces of text you would like to compute a feature representation of.
Is text a list of words? It seems the max length of element in the text list is 60.
from encoder import Model model = Model() text = ['demo!'] text_features = model.transform(text)