batch_decode([char_logits, bpe_logits, wp_logits]) {
        const [char_preds, char_scores] = this._decode_helper(char_logits, 'char');
        const [bpe_preds, bpe_scores] = this._decode_helper(bpe_logits, 'bpe');
        const [wp_preds, wp_scores] = this._decode_helper(wp_logits, 'wp');

        const generated_text = [];
        const scores = [];
        for (let i = 0; i < char_preds.length; ++i) {
            const [max_score, max_score_index] = max([char_scores[i], bpe_scores[i], wp_scores[i]]);
            generated_text.push([char_preds[i], bpe_preds[i], wp_preds[i]][max_score_index]);
            scores.push(max_score);
        }

        return {
            generated_text,
            scores,
            char_preds,
            bpe_preds,
            wp_preds,
        }
    }
Convert a list of lists of token ids into a list of strings by calling decode.
@param {import('../../utils/tensor.js').Tensor[]} sequences List of tokenized input ids.
@returns {{generated_text: string[], scores: number[], char_preds: string[], bpe_preds: string[], wp_preds: string[]}}
Dictionary of all the outputs of the decoded results.
- generated_text: The final results after fusion of char, bpe, and wp.
- scores: The final scores after fusion of char, bpe, and wp.
- char_preds: The list of character decoded sentences.
- bpe_preds: The list of BPE decoded sentences.
- wp_preds: The list of wp decoded sentences.