Add Swin2SR
### Model description

Swin2SR is a Swinv2-based model for image super resolution and compression.

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

https://github.com/mv-lab/swin2sr
If there is consensus for this, can I work on it?<|||||>Sure!<|||||>cool, I will start with this.<|||||>Check out some tips on contributing a model here:

* https://github.com/huggingface/transformers/tree/main/templates/adding_a_new_model#add-new-model-like-command
* https://huggingface.co/docs/transformers/contributing
* https://huggingface.co/docs/transformers/add_new_model
<|||||>Am I supposed to add the model here:
https://github.com/huggingface/transformers/blob/main/src/transformers/models/swinv2/modeling_swinv2.py

Also, is there any Super resolution models already present in Transformers?<|||||>Hi,

No each model in the library has its own folder and implementation files. We duplicate a lot of code in favor of easily readable code.

There's no super resolution model already available in Transformers, it would be the first one.<|||||>Thanks.
Can I reuse the code from https://github.com/mv-lab/swin2sr repo in a new folder or  build on top of the model from here `modeling_swinv2.py` ?<|||||>You can start from modeling_swinv2.py, copy it over and tweak it for the new model.