Is there a no_trainer version for image pertaining 
### Feature request

I wonder if there is a run_no_trainer code for image pertaining? @NielsRogge

### Motivation

I usually use no trainer in my code because the trainer cannot should much detail.

### Your contribution

NA
@NielsRogge<|||||>Not yet, but it would be straightforward to add.

Marking this as a good first issue.<|||||>Hi @NielsRogge, I would like to try to add it.<|||||>Hi @atturaioe, awesome.

So in [this folder](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-pretraining), one could add a `run_mim_no_trainer.py` script, similar to the other `no_trainer.py` scripts in the examples folder.<|||||>Hi @atturaioe, are you still working on this? I would like to attempt this if you are not longer working on it.<|||||>Hi @Saad135, you can take this issues if you want, let me know.
<|||||>@atturaioe Sure, I will give it a go.<|||||>Is anyone still working on this? If not I'd quite like to pick it up. 

I see from the PR that most of the work has been done but there's not been any acitivity on it recently 🤔 <|||||>@madt2709 I am working on it. Most of the work has been completed by @Saad135. His PR #20053 has been closed due to inactivity. I have taken it over in PR #23156 to complete it.

