Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jingyaogong/minimind
/ Logger
Function
Logger
trainer/trainer_utils.py:35–37 ·
view source on GitHub ↗
(content)
Source
from the content-addressed store, hash-verified
33
34
35
def
Logger(content):
36
if
is_main_process():
37
print(content)
38
39
40
def
get_lr(current_step, total_steps, lr):
Callers
15
train_epoch
Function · 0.90
train_lora.py
File · 0.90
ppo_train_epoch
Function · 0.90
train_ppo.py
File · 0.90
rollout_single
Function · 0.90
rl_train_epoch
Function · 0.90
train_agent.py
File · 0.90
train_epoch
Function · 0.90
train_pretrain.py
File · 0.90
train_epoch
Function · 0.90
train_full_sft.py
File · 0.90
grpo_train_epoch
Function · 0.90
Calls
1
is_main_process
Function · 0.85
Tested by
no test coverage detected