Transformers How to use albrateanu/ModalFormer with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-to-image", model="albrateanu/ModalFormer") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("albrateanu/ModalFormer", dtype="auto")