↓ 1 callersFunctionget_optimizer_grouped_parameters(
model,
weight_decay,
no_decay_name_list=["bias", "layer_norm.weight", "layernorm.weight", "norm.
train/R3RAG_OpenRLHF/openrlhf/utils/deepspeed/deepspeed_utils.py:80
↓ 1 callersFunctionget_preprocess_and_print_func(
data_args: "DataArguments",
stage: Literal["pt", "sft", "rm", "ppo", "kto"],
template: "Template
train/LLaMA-Factory/src/llamafactory/data/preprocess.py:36
↓ 1 callersFunctionget_seqlens_in_batchr""" Gets the sequnce lengths in the current batch. e.g. ```python # input [ [1, 1, 2, 2, 2, 0], [1, 2, 2, 3, 3,
train/LLaMA-Factory/src/llamafactory/model/model_utils/packing.py:61
↓ 1 callersFunctionget_train_ds_config(
offload,
adam_offload=True,
stage=2,
bf16=True,
max_norm=1.0,
zpg=8,
grad_accum_
train/R3RAG_OpenRLHF/openrlhf/utils/deepspeed/deepspeed_utils.py:9