MCPcopy
hub / github.com/oobabooga/textgen / token_decode

Function token_decode

modules/api/tokens.py:22–26  ·  view source on GitHub ↗
(tokens)

Source from the content-addressed store, hash-verified

20
21
22def token_decode(tokens):
23 output = decode(tokens)
24 return {
25 'text': output
26 }

Callers 1

handle_token_decodeFunction · 0.85

Calls 1

decodeFunction · 0.90

Tested by

no test coverage detected