Closed ashishlal closed 4 years ago
In trainMode 3 as per the documentation of Starspace
trainMode = 3:
Each example contains a collection of labels. At training time, two labels from the collection are randomly picked as the LHS and RHS. Use case: learn pairwise similarity from collections of similar objects, e.g. sentence similiarity.
The error message saysDo the examples contain proper feature and label according to the
so does your data have correct examples according to trainMode 3. See the source code of embed_sentencespace to see how such examples could look like.
If you want more details on the trainMode's, the best is to look at the Starspace docs at https://github.com/facebookresearch/StarSpace
Closing. Feel free to reopen if needed.
Here's my code and the error. Please help me resolve this issue. I have tried with trainMode=2, 3 and 5