batch_decode(batch, decode_args = {}) {
        if (batch instanceof Tensor) {
            batch = batch.tolist();
        }
        return batch.map(x => this.decode(x, decode_args));
    }
Decode a batch of tokenized sequences.
@param {number[][]|Tensor} batch List/Tensor of tokenized input sequences.
@param {Object} decode_args (Optional) Object with decoding arguments.
@returns {string[]} List of decoded sequences.