Skip to content

Commit fa5b3b1

Browse files
authored
fix trainer push to hub (#297)
1 parent f4aca38 commit fa5b3b1

File tree

63 files changed

+190
-144
lines changed

Some content is hidden

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

63 files changed

+190
-144
lines changed

README.md

Lines changed: 2 additions & 2 deletions

README_CN.md

Lines changed: 2 additions & 2 deletions

docs/source/LLM/命令行参数.md

Lines changed: 1 addition & 1 deletion

examples/pytorch/llm/scripts/baichuan2_13b_chat/lora_ddp_ds/sft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ torchrun \
4141
--hub_private_repo true \
4242
--hub_token 'your-sdk-token' \
4343
--deepspeed_config_path 'ds_config/zero2.json' \
44-
--only_save_model true \
44+
--save_only_model true \

examples/pytorch/llm/scripts/baichuan2_13b_chat/qlora_ddp_ds/sft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ torchrun \
4343
--hub_private_repo true \
4444
--hub_token 'your-sdk-token' \
4545
--deepspeed_config_path 'ds_config/zero2.json' \
46-
--only_save_model true \
46+
--save_only_model true \

examples/pytorch/llm/scripts/baichuan2_13b_chat_int4/qlora_ddp_ds/sft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ torchrun \
4141
--hub_private_repo true \
4242
--hub_token 'your-sdk-token' \
4343
--deepspeed_config_path 'ds_config/zero2.json' \
44-
--only_save_model true \
44+
--save_only_model true \

examples/pytorch/llm/scripts/baichuan2_7b_chat/lora_ddp_ds/sft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ torchrun \
4141
--hub_private_repo true \
4242
--hub_token 'your-sdk-token' \
4343
--deepspeed_config_path 'ds_config/zero2.json' \
44-
--only_save_model true \
44+
--save_only_model true \

examples/pytorch/llm/scripts/baichuan2_7b_chat/qlora_ddp_ds/sft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ torchrun \
4343
--hub_private_repo true \
4444
--hub_token 'your-sdk-token' \
4545
--deepspeed_config_path 'ds_config/zero2.json' \
46-
--only_save_model true \
46+
--save_only_model true \

examples/pytorch/llm/scripts/baichuan2_7b_chat_int4/qlora_ddp_ds/sft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ torchrun \
4141
--hub_private_repo true \
4242
--hub_token 'your-sdk-token' \
4343
--deepspeed_config_path 'ds_config/zero2.json' \
44-
--only_save_model true \
44+
--save_only_model true \

examples/pytorch/llm/scripts/baichuan_13b_chat/qlora_ddp_ds/sft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ torchrun \
4343
--hub_private_repo true \
4444
--hub_token 'your-sdk-token' \
4545
--deepspeed_config_path 'ds_config/zero2.json' \
46-
--only_save_model true \
46+
--save_only_model true \

0 commit comments

Comments
 (0)