Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBMB/DecT
/ run
Method
run
src/dect_trainer.py:100–102 ·
view source on GitHub ↗
(self, ckpt: Optional[str] = None)
Source
from the content-addressed store, hash-verified
98
return
self.inference_epoch(
"test"
)
99
100
def
run(self, ckpt: Optional[str] = None) -> dict:
101
self.fit(ckpt)
102
return
self.test(ckpt = None
if
self.clean
else
'best'
)
Callers
1
main
Function · 0.95
Calls
2
fit
Method · 0.95
test
Method · 0.95
Tested by
no test coverage detected