0
$\begingroup$

I am using the Huggingface BERTModel, The model gives Seq2SeqModelOutput as output. The output contains the past hidden states and the last hidden state. These are my questions

  1. What is the use of the hidden states?
  2. How do I pass my hidden states to my output layer?
  3. What I actually want is the output tokens, from the model how do I get the prediction tokens?
$\endgroup$

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.