chore: add expected output to the sample code.
Fixes the issue as described here: https://github.com/huggingface/transformers/pull/18815#issuecomment-1256338065

@ydshieh FYI.
_The documentation is not available anymore as the PR was closed or merged._<|||||>@ydshieh here's what I have done so far:

* Update the weight conversion script, so we have the ImageNet-1k label mapping in the model config. 
* Update the `modeling_vit_msn.py` script with the expected output (which is basically an ImageNet-1k class).

I also pushed the model classes with the updated configs. I realized if I only updated the `config.json` in the respective Hub repositories, the member config associated with the model classes may not get appropriately updated. So, I pushed everything updated with the new config to my HF account. 

So, if you go to https://huggingface.co/models?filter=vit_msn now, you'd notice two versions of the same model checkpoint: one is hosted from `facebook` and another one is hosted from `sayakpaul`. I need someone from the HF team to transfer the updated model repositories to `facebook`. 

Let me know if anything here is unclear. <|||||>> I realized if I only updated the config.json in the respective Hub repositories, the member config associated with the model classes may not get appropriately updated.

Could you explain a bit more about `the member config associated with the model classes may not get appropriately updated.
`?<|||||>The current model classes living under the Facebook org don't have the updated configs that have the ImageNet-1k labels. 

The model classes residing under `sayakpaul` do. They need to be transferred to the facebook org. 

If you search with https://huggingface.co/models?filter=vit_msn then you will get the complete list. 

Let me know if anything is unclear now. <|||||>My question is about why uploading the new config.json is not enough - this is what I understand from your comments.

I think simply updating the config.json on the facebook model Hub repo. would be enough.<|||||>Okay, let me verify a few things and get back to you. <|||||>@ydshieh @sgugger the PRs to the Hub repos are up:

* https://huggingface.co/facebook/vit-msn-small/discussions/4
* https://huggingface.co/facebook/vit-msn-base/discussions/2
* https://huggingface.co/facebook/vit-msn-large/discussions/2
* https://huggingface.co/facebook/vit-msn-base-4/discussions/2
* https://huggingface.co/facebook/vit-msn-large-7/discussions/2

Indeed, just updating the config.json made it work. I have verified it locally. <|||||>Hub PRs all merged, thank you @sayakpaul (also for checking)