BART with custom encoder and decoder