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)

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment