This is the companion repository for the preprint "Flexible Gravitational-Wave Parameter Estimation with Transformers", which introduces a flexible transformer-based architecture paired with a ...