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

Method __init__

data_test.py:16–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14)
15class MockTokenizer:
16 def __init__(self):
17 self.pad_token_id = 0
18 self.eos_token_id = 3
19 self.bos_token_id = 2
20
21 def encode(self, text, bos=False, eos=False):
22 # Simple mock encoding - just return list of integers based on text length

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected