update examples

This commit is contained in:
hiyouga 2024-08-09 20:13:46 +08:00
parent e2a28f51c6
commit 0a690ada6f
3 changed files with 5 additions and 5 deletions

View File

@ -192,7 +192,7 @@ llamafactory-cli train examples/extras/badam/llama3_full_sft.yaml
#### Full-Parameter Fine-Tuning using Adam-mini #### Full-Parameter Fine-Tuning using Adam-mini
```bash ```bash
llamafactory-cli train examples/extras/adam_mini/llama3_full_sft.yaml llamafactory-cli train examples/extras/adam_mini/qwen2_full_sft.yaml
``` ```
#### LoRA+ Fine-Tuning #### LoRA+ Fine-Tuning

View File

@ -192,7 +192,7 @@ llamafactory-cli train examples/extras/badam/llama3_full_sft.yaml
#### 使用 Adam-mini 进行全参数训练 #### 使用 Adam-mini 进行全参数训练
```bash ```bash
llamafactory-cli train examples/extras/adam_mini/llama3_full_sft.yaml llamafactory-cli train examples/extras/adam_mini/qwen2_full_sft.yaml
``` ```
#### LoRA+ 微调 #### LoRA+ 微调

View File

@ -1,5 +1,5 @@
### model ### model
model_name_or_path: meta-llama/Meta-Llama-3-8B-Instruct model_name_or_path: Qwen/Qwen2-1.5B-Instruct
### method ### method
stage: sft stage: sft
@ -9,14 +9,14 @@ use_adam_mini: true
### dataset ### dataset
dataset: identity,alpaca_en_demo dataset: identity,alpaca_en_demo
template: llama3 template: qwen
cutoff_len: 1024 cutoff_len: 1024
max_samples: 1000 max_samples: 1000
overwrite_cache: true overwrite_cache: true
preprocessing_num_workers: 16 preprocessing_num_workers: 16
### output ### output
output_dir: saves/llama3-8b/full/sft output_dir: saves/qwen2-1_5b/full/sft
logging_steps: 10 logging_steps: 10
save_steps: 500 save_steps: 500
plot_loss: true plot_loss: true