I'm trying to build a supervised model for text arrangement/classification in fasttext.
To predict the yield of a specific string we can utilize this in python
model.predict("Why not put knives in the dishwasher?")
In any case, how to get the predictions for the entire test set by a python command? In the commandline it very well may be done like this
./fasttext predict <path to model> <path to test file> k > <path to prediction file>