Bloom's hidden states are None
Hi everyone,

I used BloomForCausalLM which was pretrained and released by BigScience. I then forwarded input tensors to the model, and I tried to get the corresponding hidden states. However, the error was raised, which said that hidden states are None.
Has anyone encountered the same problem. Thank you very much.
 
https://github.com/huggingface/transformers/blob/ae54e3c3b18bac0832ad62ea9b896dfd52a09850/src/transformers/models/bloom/modeling_bloom.py#L935
I found I had not checked the code carefully. This problem could be solved by passing the argument`output_hidden_states = True` to the `forward`