Enable hidden state outputs for Pixio demo script

#1
by syun88 - opened

@yli1
Fixes a crash in demo python Script

where outputs.hidden_states was None
Requests hidden states in the forward call so outputs.hidden_states[-1] is available
Keeps behavior unchanged otherwise (last hidden state still used)

AI at Meta org

thx you so much for the PR.

activebus changed pull request status to merged

Sign up or log in to comment