MCPcopy Create free account
hub / github.com/apple/axlearn / test_tokenize_example

Method test_tokenize_example

axlearn/common/input_text_test.py:260–265  ·  view source on GitHub ↗
(self, vocab_cfg: InstantiableConfig, newlines_replaced_with: str)

Source from the content-addressed store, hash-verified

258 ),
259 )
260 def test_tokenize_example(self, vocab_cfg: InstantiableConfig, newlines_replaced_with: str):
261 if not os.path.exists(_OPT_VOCAB_FILE):
262 self.skipTest("Missing testdata.")
263 self._test_tokenize_example(
264 vocab_cfg=vocab_cfg, newlines_replaced_with=newlines_replaced_with
265 )
266
267
268class NumBytesTest(test_utils.TestCase):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected