How to get the last_hidden_state of the florence2 Model , found no reference for the same.

#73
by dutta18 - opened

I want to retrieve the last_hidden_state after doing a forward pass. So model.generate() method might not be very useful. How do I do it in case of florence?

Sign up or log in to comment