mirror of https://github.com/InternLM/InternLM
refactor code
parent
9665321745
commit
17bc5f562b
|
@ -10,7 +10,7 @@ def split_params_into_different_groups_for_optimizer(param_groups: Tuple[Dict])
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
param_groups (Tuple[Dict]): The list of parameter groups to split
|
param_groups (Tuple[Dict]): The list of parameter groups to split
|
||||||
Output Example:
|
Input Example:
|
||||||
>>> (
|
>>> (
|
||||||
>>> {'name': 'default', 'params': [tensor], 'weight_decay' :xxx},
|
>>> {'name': 'default', 'params': [tensor], 'weight_decay' :xxx},
|
||||||
>>> ...,
|
>>> ...,
|
||||||
|
|
Loading…
Reference in New Issue