Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBitSys/BitDistiller
/ group
Function
group
test/general/lm_eval/utils.py:80–86 ·
view source on GitHub ↗
(arr, fn)
Source
from the content-addressed store, hash-verified
78
79
80
def
group(arr, fn):
81
res = collections.defaultdict(list)
82
83
for
ob in arr:
84
res[fn(ob)].append(ob)
85
86
return
list(res.values())
87
88
89
def
_is_json_task(task_name):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected