MCPcopy
hub / github.com/deepspeedai/DeepSpeedExamples / exists

Method exists

Megatron-LM/data_utils/tokenization.py:416–418  ·  view source on GitHub ↗

check if the filepath for a text tokenizer exists

(model_path)

Source from the content-addressed store, hash-verified

414
415 @staticmethod
416 def exists(model_path):
417 """check if the filepath for a text tokenizer exists"""
418 raise NotImplementedError('TextTokenizer exists method not implemented')
419
420 def Train(self, corpus):
421 """train a tokenizer on a data corpus and save model for future use"""

Callers 15

filename_to_urlFunction · 0.45
cached_pathFunction · 0.45
get_from_cacheFunction · 0.45
filename_to_urlFunction · 0.45
cached_pathFunction · 0.45
get_from_cacheFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
filename_to_urlFunction · 0.45
cached_pathFunction · 0.45
get_from_cacheFunction · 0.45
filename_to_urlFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected