Skip to content

Commit 62ee1a4

Browse files
LinMaigee
authored andcommitted
add cpm
2 parents 4969ff2 + 43d6b43 commit 62ee1a4

File tree

215 files changed

+100286
-3328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+100286
-3328
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
mindspore:
2-
'/mindspore/mindspore/version/202306/20230629/master_20230629013105_f5db72fb1154d12218925ececd304351774f53cc/'
2+
'/mindspore/mindspore/version/202307/20230731/r2.1_20230731201928_db56d4dffe0f593f9e983142169b74a4555058db/'

README.md

Lines changed: 56 additions & 22 deletions
Large diffs are not rendered by default.

configs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ configs统一在run_xxx.yaml中,排序按照修改频率的顺序和一般的
146146
- prefix: 权重文件前缀
147147
- save_checkpoint_steps: 每多少个step保存一次checkpoint
148148
- integrated_save: 是否聚合保存。True时表示聚合所有卡权重,这时每张卡权重均一致;False时表示每张卡各自保存自己的权重;当半自动并行模式训练大模型时,通常需要设置为False,以保证权重保存时不会因为内存问题而失败
149+
- save_network_params(新增): 是否额外保存瘦身后的权重。默认为True。
150+
- save_trainable_params(新增): 是否额外保存可训练的参数权重,即微调部分参数的权重。默认为False。
149151
- async_save: 是否异步执行保存checkpoint文件
150152
- type: ObsMonitor: obs数据上传
151153
- step_upload_frequence: 每隔多少个step上传一次,默认为-1,表示禁用step间隔上传;配置为大于0的数时,每隔配置数step后执行一次回传

configs/bert/run_bert_base_uncased.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ seed: 0
22
run_mode: 'train'
33
output_dir: './output' # 当前不支持自定义修改,请勿修改该默认值
44
load_checkpoint: ''
5+
src_strategy_path_or_dir: ''
56
auto_trans_ckpt: False # If true, auto transform load_checkpoint to load in distributed model
67
only_save_strategy: False
78
resume_training: False

configs/bert/run_bert_tiny_uncased.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ seed: 0
22
run_mode: 'train'
33
output_dir: './output' # 当前不支持自定义修改,请勿修改该默认值
44
load_checkpoint: ''
5+
src_strategy_path_or_dir: ''
56
auto_trans_ckpt: False # If true, auto transform load_checkpoint to load in distributed model
67
only_save_strategy: False
78
resume_training: False

configs/bloom/run_bloom_176b.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ seed: 0
22
run_mode: 'train'
33
output_dir: './output' # 当前不支持自定义修改,请勿修改该默认值
44
load_checkpoint: ''
5+
src_strategy_path_or_dir: ''
56
auto_trans_ckpt: False # If true, auto transform load_checkpoint to load in distributed model
67
only_save_strategy: False
78
resume_training: False

configs/bloom/run_bloom_560m.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ seed: 0
22
run_mode: 'train'
33
output_dir: './output' # 当前不支持自定义修改,请勿修改该默认值
44
load_checkpoint: ''
5+
src_strategy_path_or_dir: ''
56
auto_trans_ckpt: False # If true, auto transform load_checkpoint to load in distributed model
67
only_save_strategy: False
78
resume_training: False

configs/bloom/run_bloom_65b.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ seed: 0
22
run_mode: 'train'
33
output_dir: './output' # 当前不支持自定义修改,请勿修改该默认值
44
load_checkpoint: ''
5+
src_strategy_path_or_dir: ''
56
auto_trans_ckpt: False # If true, auto transform load_checkpoint to load in distributed model
67
only_save_strategy: False
78
resume_training: False

configs/bloom/run_bloom_7.1b.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ seed: 0
22
run_mode: 'train'
33
output_dir: './output' # 当前不支持自定义修改,请勿修改该默认值
44
load_checkpoint: ''
5+
src_strategy_path_or_dir: ''
56
auto_trans_ckpt: False # If true, auto transform load_checkpoint to load in distributed model
67
only_save_strategy: False
78
resume_training: False

configs/clip/run_clip_vit_b_16_pretrain_flickr8k.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ seed: 0
22
run_mode: 'train'
33
output_dir: './output' # 当前不支持自定义修改,请勿修改该默认值
44
load_checkpoint: ''
5+
src_strategy_path_or_dir: ''
56
auto_trans_ckpt: False # If true, auto transform load_checkpoint to load in distributed model
67
only_save_strategy: False
78
resume_training: False

0 commit comments

Comments
 (0)