Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSparseLLMs/MoM
/ has_test_docs
Method
has_test_docs
lm-eval-harness/lm_eval/api/task.py:897–901 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
895
return
False
896
897
def
has_test_docs(self) -> bool:
898
if
self.config.test_split is not None:
899
return
True
900
else
:
901
return
False
902
903
def
training_docs(self) -> datasets.Dataset:
904
if
self.has_training_docs():
Callers
2
__init__
Method · 0.95
test_docs
Method · 0.95
Calls
no outgoing calls
Tested by
1
test_docs
Method · 0.76