MCPcopy Create free account
hub / github.com/OpenBMB/DecT / __init__

Method __init__

src/process_data.py:184–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182 """
183
184 def __init__(self):
185 super().__init__()
186 self.labels = ["Society & Culture", "Science & Mathematics", "Health", "Education & Reference", "Computers & Internet", "Sports", "Business & Finance", "Entertainment & Music"
187 ,"Family & Relationships", "Politics & Government"]
188
189 def get_examples(self, data_dir, split):
190 path = os.path.join(data_dir, "{}.csv".format(split))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected