 forward pass outputs = model(input_ids=input_ids, decoder_input_ids=decoder_input_ids) last_hidden_states = outputs.last_hidden_state ```  See the [Hugging Face T5](https://huggingface.co/docs/transformers/model_doc/t5