MCPcopy Create free account
hub / github.com/TalwalkarLab/leaf / parse_data_in

Function parse_data_in

data/shakespeare/preprocess/shake_utils.py:30–66  ·  view source on GitHub ↗

returns dictionary with keys: users, num_samples, user_data raw := bool representing whether to include raw text in all_data if raw is True, then user_data key removes users with no data

(data_dir, users_and_plays_path, raw=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

gen_all_data.pyFile · 0.90

Calls 1

__txt_to_dataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…