MCPcopy Create free account
hub / github.com/TeleHuman/TextOp / load_babel

Function load_babel

dataset/pack_dataset.py:76–82  ·  view source on GitHub ↗
(BABEL_DIR)

Source from the content-addressed store, hash-verified

74
75
76def load_babel(BABEL_DIR):
77 print(f"Loading BABEL dataset from: {BABEL_DIR}")
78 babel_all = {}
79 for split in BABEL_SPLIT:
80 json_path = os.path.join(BABEL_DIR, f"{split}.json")
81 babel_all[split] = process_babel_json(json_path)
82 return babel_all
83
84
85def load_amass(amass_dir):

Callers 1

mainFunction · 0.85

Calls 1

process_babel_jsonFunction · 0.85

Tested by

no test coverage detected