MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / clean

Function clean

eval_heldout/science-world/data_utils/data_utils.py:54–58  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

52
53
54def clean(s):
55 clean_toks = ['\n', '\t']
56 for tok in clean_toks:
57 s = s.replace(tok, ' ')
58 return s
59
60def downsampling(task_idx_real, curr_task_seq):
61 # Downsampling Task 26 and 29

Callers 1

add_current_objectsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected