Extract Query Embedding from .nemo or .onnx #2235
Unanswered
Surya-Upadhyayula
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi, Here is my attempt. Check the number of layers in the classifier using Using the following function for getting embeddings:
This results in a 10-dim vector for each query in the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Nemo Team,
I have started using NeMo after attending the DLI classroom in the recent GTC 2021. I started with TextClassification (Sentiment analysis) example. I am able to train/infer using .nemo models as explained in the Tutorial file.
I am interested in getting:
(a) Probability/Confidence scores of predictions for each test sentence, and
(b) Extract Bert embeddings for the query (each word in the sentence).
Could this be done using .nemo or .onnx model files ?
If yes, would anyone help in achieving this.
Best,
Raghu
Beta Was this translation helpful? Give feedback.
All reactions