huggingface / open-muse

Open reproduction of MUSE for fast text2image generation.
https://huggingface.co/openMUSE
Apache License 2.0
334 stars 27 forks source link

Relative Positional Embeddings #74

Open isamu-isozaki opened 1 year ago

isamu-isozaki commented 1 year ago

Typically, we try to remove positional embeddings so that the model can work with different resolutions but I heard a lot of people suggesting relative positional embeddings https://github.com/ofirpress/attention_with_linear_biases It might be worth a try if we get time