Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TIGER-AI-Lab/ScholarCopilot
/ __len__
Method
__len__
train/src/dataset.py:66–67 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
64
)
65
66
def
__len__(self):
67
return
len(self.encode_data)
68
69
def
__getitem__(self, item) -> Tuple[str, str]:
70
text = self.encode_data[item]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected