MCPcopy
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
35def Logger(content):
36 if is_main_process():
37 print(content)
38
39
40def get_lr(current_step, total_steps, lr):

Callers 15

train_epochFunction · 0.90
train_lora.pyFile · 0.90
ppo_train_epochFunction · 0.90
train_ppo.pyFile · 0.90
rollout_singleFunction · 0.90
rl_train_epochFunction · 0.90
train_agent.pyFile · 0.90
train_epochFunction · 0.90
train_pretrain.pyFile · 0.90
train_epochFunction · 0.90
train_full_sft.pyFile · 0.90
grpo_train_epochFunction · 0.90

Calls 1

is_main_processFunction · 0.85

Tested by

no test coverage detected