Open anaconda121 opened 1 year ago
Describe the bug Running into a runtime error when using .predict method in simple transformers.
.predict
To Reproduce Steps to reproduce the behavior:
model = ClassificationModel("bert", "bert-base-cased") model.predict(["this a test string"])
Expected behavior It should return a typical prediction with a class label and probability distribution.
Screenshots
Desktop (please complete the following information):
Additional context Wondering if anyone else is having this problem.
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.
Describe the bug Running into a runtime error when using
.predict
method in simple transformers.To Reproduce Steps to reproduce the behavior:
Expected behavior It should return a typical prediction with a class label and probability distribution.
Screenshots
Desktop (please complete the following information):
Additional context Wondering if anyone else is having this problem.