Factored Interview Question

When to use encoder vs decoder models