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

Method get_inputs

AgentBench.old/src/task.py:60–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58
59class Dataset(Generic[T_INPUT, T_TARGET], List[DataPiece[T_INPUT, T_TARGET]]):
60 def get_inputs(self) -> List[T_INPUT]:
61 return [item.input for item in self]
62
63 def get_targets(self) -> List[T_TARGET]:
64 return [item.target for item in self]

Callers 1

evaluateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected