If you want to build your own PandaMTL-like model, follow these steps:
T5 is the closest mainstream model to PandaMTL, but PandaMTL would be more tailored (smaller, task-specific heads rather than a single decoder for all tasks).
Instead of fixed weights, learn them during training using gradient similarity or homoscedastic uncertainty.