Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBMB/ToolBench
/ rank0_print
Function
rank0_print
toolbench/train/train.py:76–78 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
74
75
76
def
rank0_print(*args):
77
if
local_rank == 0:
78
print(*args)
79
80
81
def
safe_save_model_for_hf_trainer(trainer: transformers.Trainer, output_dir: str):
Callers
4
preprocess
Function · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
make_supervised_data_module
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected