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

Method __init__

AgentBench.old/src/task.py:54–56  ·  view source on GitHub ↗
(self, input: T_INPUT, target: T_TARGET)

Source from the content-addressed store, hash-verified

52
53class DataPiece(Generic[T_INPUT, T_TARGET]):
54 def __init__(self, input: T_INPUT, target: T_TARGET):
55 self.input = input
56 self.target = target
57
58
59class Dataset(Generic[T_INPUT, T_TARGET], List[DataPiece[T_INPUT, T_TARGET]]):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected