Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/GLM
/ get_len_path
Method
get_len_path
data_utils/lazy_loader.py:75–77 ·
view source on GitHub ↗
(path, data_type)
Source
from the content-addressed store, hash-verified
73
74
@staticmethod
75
def
get_len_path(path, data_type):
76
lazypath = get_lazy_path(path)
77
return
os.path.join(lazypath, data_type +
'.len.pkl'
)
78
79
def
write(self, s):
80
if
isinstance(s, dict):
Callers
1
get_dataset
Function · 0.80
Calls
1
get_lazy_path
Function · 0.85
Tested by
no test coverage detected