MCPcopy Create free account
hub / github.com/modelscope/modelscope / __init__

Method __init__

modelscope/trainers/training_args.py:435–440  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

433 })
434
435 def __init__(self, **kwargs):
436 self.manual_args = list(kwargs.keys())
437 for f in fields(self):
438 if f.name in kwargs:
439 setattr(self, f.name, kwargs[f.name])
440 self._unknown_args = {}
441
442 def parse_cli(self, parser_args=None):
443 """Construct a TrainingArg class by the parameters of CLI.

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected