starspace train -trainFile sample.txt -model docspace -useWeight 1 -trainMode 1 -fileFormat labelDoc
Start to initialize starspace model.
Build dict from input file : sample.txt
Read 0M words
Number of words in dictionary: 2
Number of labels in dictionary: 0
dogcatLoading data from file : sample.txt
Total number of examples loaded : 0
ERROR: File 'sample.txt' does not contain any valid example.
Please check: is the file empty? Do the examples contain proper feature and label according to the trainMode? If your examples are unlabeled, try to set trainMode=5.
exit-status: 1
with sample.txt:
the following error happends