MCPcopy Create free account
hub / github.com/AkaliKong/MiniOneRec / decode

Method decode

data.py:34–35  ·  view source on GitHub ↗
(self, t: List[int])

Source from the content-addressed store, hash-verified

32 return t
33
34 def decode(self, t: List[int]) -> str:
35 return self.tokenizer.decode(t)
36
37class BaseDataset(Dataset):
38 def __init__(self, tokenizer=None, max_len=2048, test=False, category="", dedup=False, seed=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected