facebookresearch/StarSpace

Inference api for trained models

kameshtj opened this issue · 1 comments

I have trained a text classifier in starspace and now I want to use the trained model for inference. What should I do ?

ledw commented

@kameshtj You can take a look at the evaluation of text classifier: https://github.com/facebookresearch/StarSpace/blob/master/src/starspace.cpp#L388
Basically you can use the model to predict labels on test examples.