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
llama3_pytorch
Commits
172aa5d8
Commit
172aa5d8
authored
Jun 25, 2024
by
Rayyyyy
Browse files
Add --work-dir param in README and finetune.sh
parent
6f267cd1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+1
-1
finetune.sh
finetune.sh
+1
-1
No files found.
README.md
View file @
172aa5d8
...
...
@@ -88,7 +88,7 @@ python download_models.py
```
bash
bash finetune.sh
or
NPROC_PER_NODE
=
${
DCU_NUM
}
xtuner train ./llama3_8b_instruct_qlora_alpaca_e3_M.py
--deepspeed
deepspeed_zero2
NPROC_PER_NODE
=
${
DCU_NUM
}
xtuner train ./llama3_8b_instruct_qlora_alpaca_e3_M.py
--deepspeed
deepspeed_zero2
--work-dir
/path/of/saves
```
## 推理
...
...
finetune.sh
View file @
172aa5d8
...
...
@@ -5,4 +5,4 @@ export HSA_FORCE_FINE_GRAIN_PCIE=1
export
USE_MIOPEN_BATCHNORM
=
1
echo
"starting finetune llama3 ..."
NPROC_PER_NODE
=
2 xtuner train ./llama3_8b_instruct_qlora_alpaca_e3_M.py
--deepspeed
deepspeed_zero2
NPROC_PER_NODE
=
2 xtuner train ./llama3_8b_instruct_qlora_alpaca_e3_M.py
--deepspeed
deepspeed_zero2
--work-dir
/path/of/saves
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