How to extract Labels & Scores from Raw Tensor Outputs(Text Classification Model) #2482
Unanswered
bajrangCoder
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to run a PyTorch text classification model using this framework. The model successfully produces raw tensor outputs, but I'm encountering difficulty in extracting the labels and corresponding scores, similar to what other pipeline frameworks provide(in python).
My code based on candle bert example:
Any help will be appreciated!!
Beta Was this translation helpful? Give feedback.
All reactions