Transformer "output_hidden_states" format
Hi,I’m currently using a ViT and I wanted to investigate the hidden states after fine tuning a pre-trained model. I have got hold of the values, thats fine. The problem is I don’t know precisely the format.  I’ve been looking through the Docs, and they say this:image866×68 8.39 KBNow I cannot find where this “returned tensors” section is. I have checked the docs for other models as all models seem to follow the same implementation, BERT has the same documentation almost exactly with the same problem. The link to the source code is dead, I hunted through the github and find the ViT source code but once again it just says:image724×67 2.79 KBAm I being daft or is there a hole in the documentation currently?Cheers.
2022-03-03T13:05:21Z
Re- the links in the documentation. This is temporary while we are getting 4.17.0 out (the doc is up but the tag is not on GitHub yet, coming in a couple of hours!) If you select another version, the link to the source code will work.
2022-03-03T14:17:21Z
Thanks@sgugger,I thought it might be something like that: I have found the older source code, however even in this I cannot find the referenced “returned tensors” section in the comments.
2023-07-09T18:34:37Z
This is still a problem with latest docs. SeeGenerationThere are multiple mentions like this, " Seescoresunder returned tensors for more details." but “returned tensors” does not link to anywhere.