MCPcopy
hub / github.com/IPADS-SAI/MobiAgent / augment_num_repeat

Function augment_num_repeat

collect/construct_sft.py:85–86  ·  view source on GitHub ↗
(part, augment_rule, is_train)

Source from the content-addressed store, hash-verified

83 return 2
84
85def augment_num_repeat(part, augment_rule, is_train):
86 return augment_rule.get(part, augment_rule.get("default", 1)) if is_train else 1
87
88def create_entries_for_one_step(num_repeat, instruction, output, image_path):
89 entry = AlpacaImageEntry(

Calls

no outgoing calls

Tested by

no test coverage detected