MCPcopy
hub / github.com/huggingface/alignment-handbook / setUp

Method setUp

tests/test_configs.py:22–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20
21class H4ArgumentParserTest(unittest.TestCase):
22 def setUp(self):
23 self.parser = H4ArgumentParser((ModelArguments, DataArguments, SFTConfig))
24 self.yaml_file_path = "tests/fixtures/config_sft_full.yaml"
25
26 def test_load_yaml(self):
27 model_args, data_args, training_args = self.parser.parse_yaml_file(os.path.abspath(self.yaml_file_path))

Callers

nothing calls this directly

Calls 1

H4ArgumentParserClass · 0.90

Tested by

no test coverage detected