Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ChatGLM-6B_pytorch
Commits
e5b3db1f
Commit
e5b3db1f
authored
Jul 27, 2023
by
zhaoying1
Browse files
Update pt_train.sh
parent
854699f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ptuning/pt_train.sh
ptuning/pt_train.sh
+2
-2
No files found.
ptuning/pt_train.sh
View file @
e5b3db1f
...
...
@@ -4,7 +4,7 @@ LR=5e-3
MASTER_PORT
=
$(
shuf
-n
1
-i
10000-65535
)
CUDA_VISIBLE_DEVICES
=
0,1,2,3 deepspeed
--master_port
$MASTER_PORT
main.py
\
--deepspeed
deepspeed
_p
.json
\
--deepspeed
deepspeed.json
\
--do_train
\
--train_file
AdvertiseGen/train.json
\
--test_file
AdvertiseGen/dev.json
\
...
...
@@ -26,4 +26,4 @@ CUDA_VISIBLE_DEVICES=0,1,2,3 deepspeed --master_port $MASTER_PORT main.py \
--learning_rate
$LR
\
--pre_seq_len
$PRE_SEQ_LEN
\
--fp16
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment