Skip to content

Commit 5ad71b0

Browse files
committed
Merge branch 'main' into release/3.0
2 parents e1c69dc + 6488cba commit 5ad71b0

File tree

55 files changed

+73
-73
lines changed

Some content is hidden

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

55 files changed

+73
-73
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ CUDA_VISIBLE_DEVICES=0 \
114114
swift sft \
115115
--model Qwen/Qwen2.5-7B-Instruct \
116116
--train_type lora \
117-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#500 \
118-
AI-ModelScope/alpaca-gpt4-data-en#500 \
119-
swift/self-cognition#500 \
117+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#500' \
118+
'AI-ModelScope/alpaca-gpt4-data-en#500' \
119+
'swift/self-cognition#500' \
120120
--torch_dtype bfloat16 \
121121
--num_train_epochs 1 \
122122
--per_device_train_batch_size 1 \

README_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ CUDA_VISIBLE_DEVICES=0 \
107107
swift sft \
108108
--model Qwen/Qwen2.5-7B-Instruct \
109109
--train_type lora \
110-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#500 \
111-
AI-ModelScope/alpaca-gpt4-data-en#500 \
112-
swift/self-cognition#500 \
110+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#500' \
111+
'AI-ModelScope/alpaca-gpt4-data-en#500' \
112+
'swift/self-cognition#500' \
113113
--torch_dtype bfloat16 \
114114
--num_train_epochs 1 \
115115
--per_device_train_batch_size 1 \

docs/source/GetStarted/快速开始.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ CUDA_VISIBLE_DEVICES=0 \
3131
swift sft \
3232
--model Qwen/Qwen2.5-7B-Instruct \
3333
--train_type lora \
34-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#500 \
35-
AI-ModelScope/alpaca-gpt4-data-en#500 \
36-
swift/self-cognition#500 \
34+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#500' \
35+
'AI-ModelScope/alpaca-gpt4-data-en#500' \
36+
'swift/self-cognition#500' \
3737
--torch_dtype bfloat16 \
3838
--num_train_epochs 1 \
3939
--per_device_train_batch_size 1 \

docs/source/Instruction/导出.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ CUDA_VISIBLE_DEVICES=0 swift infer \
7777
CUDA_VISIBLE_DEVICES=0 swift sft \
7878
--model Qwen/Qwen2-7B-Instruct \
7979
--train_type lora \
80-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#5000 \
80+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#5000' \
8181
--quant_method bnb \
8282
--quant_bits 4 \
8383
--torch_dtype bfloat16
@@ -86,15 +86,15 @@ CUDA_VISIBLE_DEVICES=0 swift sft \
8686
CUDA_VISIBLE_DEVICES=0 swift sft \
8787
--model Qwen/Qwen2-7B-Instruct \
8888
--train_type lora \
89-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#5000 \
89+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#5000' \
9090
--quant_method hqq \
9191
--quant_bits 4
9292

9393
# eetq
9494
CUDA_VISIBLE_DEVICES=0 swift sft \
9595
--model Qwen/Qwen2-7B-Instruct \
9696
--train_type lora \
97-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#5000 \
97+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#5000' \
9898
--quant_method eetq \
9999
--torch_dtype float16
100100
```

docs/source_en/GetStarted/Quick-start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ CUDA_VISIBLE_DEVICES=0 \
3131
swift sft \
3232
--model Qwen/Qwen2.5-7B-Instruct \
3333
--train_type lora \
34-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#500 \
35-
AI-ModelScope/alpaca-gpt4-data-en#500 \
36-
swift/self-cognition#500 \
34+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#500' \
35+
'AI-ModelScope/alpaca-gpt4-data-en#500' \
36+
'swift/self-cognition#500' \
3737
--torch_dtype bfloat16 \
3838
--num_train_epochs 1 \
3939
--per_device_train_batch_size 1 \

docs/source_en/Instruction/Export.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ CUDA_VISIBLE_DEVICES=0 swift infer \
7878
CUDA_VISIBLE_DEVICES=0 swift sft \
7979
--model Qwen/Qwen2-7B-Instruct \
8080
--train_type lora \
81-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#5000 \
81+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#5000' \
8282
--quant_method bnb \
8383
--quant_bits 4 \
8484
--torch_dtype bfloat16
@@ -87,15 +87,15 @@ CUDA_VISIBLE_DEVICES=0 swift sft \
8787
CUDA_VISIBLE_DEVICES=0 swift sft \
8888
--model Qwen/Qwen2-7B-Instruct \
8989
--train_type lora \
90-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#5000 \
90+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#5000' \
9191
--quant_method hqq \
9292
--quant_bits 4
9393

9494
# eetq
9595
CUDA_VISIBLE_DEVICES=0 swift sft \
9696
--model Qwen/Qwen2-7B-Instruct \
9797
--train_type lora \
98-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#5000 \
98+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#5000' \
9999
--quant_method eetq \
100100
--torch_dtype float16
101101
```

examples/export/quantize/awq.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
CUDA_VISIBLE_DEVICES=0 \
22
swift export \
33
--model Qwen/Qwen2.5-1.5B-Instruct \
4-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#500 \
5-
AI-ModelScope/alpaca-gpt4-data-en#500 \
4+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#500' \
5+
'AI-ModelScope/alpaca-gpt4-data-en#500' \
66
--quant_n_samples 128 \
77
--quant_batch_size 1 \
88
--max_length 2048 \

examples/export/quantize/gptq.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ OMP_NUM_THREADS=14 \
33
CUDA_VISIBLE_DEVICES=0 \
44
swift export \
55
--model Qwen/Qwen2.5-1.5B-Instruct \
6-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#500 \
7-
AI-ModelScope/alpaca-gpt4-data-en#500 \
6+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#500' \
7+
'AI-ModelScope/alpaca-gpt4-data-en#500' \
88
--quant_n_samples 128 \
99
--quant_batch_size 1 \
1010
--max_length 2048 \

examples/notebook/qwen2.5-self-cognition/sft.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ CUDA_VISIBLE_DEVICES=0 \
44
swift sft \
55
--model Qwen/Qwen2.5-3B-Instruct \
66
--train_type lora \
7-
--dataset AI-ModelScope/alpaca-gpt4-data-zh#500 \
8-
AI-ModelScope/alpaca-gpt4-data-en#500 \
9-
swift/self-cognition#500 \
7+
--dataset 'AI-ModelScope/alpaca-gpt4-data-zh#500' \
8+
'AI-ModelScope/alpaca-gpt4-data-en#500' \
9+
'swift/self-cognition#500' \
1010
--torch_dtype bfloat16 \
1111
--num_train_epochs 1 \
1212
--per_device_train_batch_size 1 \

examples/train/all_to_all/train.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ image_area=518400 \
77
swift sft \
88
--model BAAI/Emu3-Gen \
99
--train_type lora \
10-
--dataset swift/TextCaps#40 \
10+
--dataset 'swift/TextCaps#40' \
1111
--loss_scale react \
1212
--tools_prompt react_zh \
1313
--torch_dtype bfloat16 \

0 commit comments

Comments
 (0)