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

Method test_ms_csv_basic

tests/msdatasets/test_ms_dataset.py:88–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86
87 @unittest.skipUnless(test_level() >= 1, 'skip test in current test level')
88 def test_ms_csv_basic(self):
89 ms_ds_train = MsDataset.load(
90 'clue', subset_name='afqmc',
91 split='train').to_hf_dataset().select(range(5))
92 print(next(iter(ms_ds_train)))
93
94 @unittest.skipUnless(test_level() >= 1, 'skip test in current test level')
95 def test_load_local_csv(self):

Callers

nothing calls this directly

Calls 3

printFunction · 0.85
to_hf_datasetMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected