Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jingyaogong/minimind
/ train_lora.py
File
train_lora.py
trainer/train_lora.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
import
sys
3
4
__package__ =
"trainer"
Callers
nothing calls this directly
Calls
11
init_distributed_mode
Function · 0.90
setup_seed
Function · 0.90
MiniMindConfig
Class · 0.90
lm_checkpoint
Function · 0.90
is_main_process
Function · 0.90
init_model
Function · 0.90
apply_lora
Function · 0.90
Logger
Function · 0.90
SFTDataset
Class · 0.90
SkipBatchSampler
Class · 0.90
train_epoch
Function · 0.70
Tested by
no test coverage detected