MCPcopy Create free account
hub / github.com/THUDM/GLM / __init__

Method __init__

configure_data.py:97–101  ·  view source on GitHub ↗
(self, defaults=None)

Source from the content-addressed store, hash-verified

95class DataConfig:
96
97 def __init__(self, defaults=None):
98 super(DataConfig, self).__init__()
99 if defaults is None:
100 defaults = {}
101 self.defaults = defaults
102
103 def apply(self, args, tokenizer):
104 if torch.distributed.get_rank() == 0:

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected