MCPcopy Create free account
hub / github.com/CarperAI/Code-Pile / __init__

Method __init__

codepile/codepile.py:7–14  ·  view source on GitHub ↗
(self, tempdir, target_dir)

Source from the content-addressed store, hash-verified

5
6class CodePile(Dataset):
7 def __init__(self, tempdir, target_dir):
8 self.subdatasets = []
9
10 subsets = [
11 StackExchangeDataset
12 ]
13 for d in subsets:
14 self.subdatasets.append(d(tempdir, target_dir))
15
16 def download(self):
17 for d in self.subdatasets:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected