Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netsaur/tokenizers/mod.ts>Tokenizer#decode

Powerful machine learning, accelerated by WebGPU
Go to Latest
method Tokenizer.prototype.decode
import { Tokenizer } from "https://deno.land/x/netsaur@0.3.0/tokenizers/mod.ts";

Decode a sentence

Parameters

ids: Uint32Array

tokens to decode

optional
skipSpecialTokens = [UNSUPPORTED]