Inference
kamalkraj opened this issue · 5 comments
kamalkraj commented
@strubell @ghaddarAbs How to write script that can take text string as input and return label for each token in the the string .
strubell commented
@MSheshera Do you have anything that could be easily merged?
MSheshera commented
Not really. I added some code that converted text in my json files to protobuf examples and then to write predictions back to the json files. But I dont think any of it was as nice as taking a list of tokens and returning labels.
kamalkraj commented
@MSheshera can you share the code and a sample JSON file