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

Method decode

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

Source from the content-addressed store, hash-verified

33 return t
34
35 def decode(self, t: List[int]) -> str:
36 return self.tokenizer.decode(t)
37
38class SidSFTDataset(Dataset):
39 def __init__(self, train_file, tokenizer, max_len=2048, sample=-1, test=False, seed=0, category="", K=4, dedup=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected