MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / each

Class each

test/general/lm_eval/tasks/race.py:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28
29class each:
30 def __init__(self, f):
31 self.f = f
32
33 def __rrshift__(self, other):
34 return list(map(self.f, other))
35
36
37class RACE(Task):

Callers 1

_collate_dataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected