Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/AgentTuning
/ DataPiece
Class
DataPiece
AgentBench.old/src/task.py:53–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
52
53
class
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
59
class
Dataset(Generic[T_INPUT, T_TARGET], List[DataPiece[T_INPUT, T_TARGET]]):
Callers
8
get_data
Method · 0.90
get_data
Method · 0.90
get_data
Method · 0.90
get_data
Method · 0.90
get_data
Method · 0.90
get_data
Method · 0.90
get_data
Method · 0.90
get_data
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected