MCPcopy Create free account
hub / github.com/0hq/WebGPT / decode

Method decode

tokenizer.js:41–43  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

39 }
40
41 decode(arr) {
42 return arr.map((x) => this.decoder[x]).join("");
43 }
44}
45
46// ------------------ GPT Tokenizer ------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected