Closed nlproc-007 closed 1 year ago
Hi @nlproc-007
does tars.predict_zero_shot(sentence, classes, multi_label=False)
work?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Here is the example code to use TARS Zero Shot Classifier
Now this code is wrapped into the following function so that I can use it to get predictions for multiple sentences in a dataset.
Here the model is giving predictions only for the first instance.