update finetune readme

This commit is contained in:
cjm
2024-05-21 17:58:05 +08:00
parent 8ca2a21856
commit 8b7277644b

View File

@@ -66,5 +66,8 @@ To launch your training, run the following script:
sh finetune_ds.sh
```
Specially, Llama3 has a different chat_template for training and inference, we modified the chat_template for training, so please take care to restore the chat_template when inference on the training ckpt.
#### Customizing Hyperparameters
To tailor the training process according to your specific requirements, you can adjust various hyperparameters. For comprehensive documentation on available hyperparameters and their functionalities, you can refer to the [official Transformers documentation](https://huggingface.co/docs/transformers/main_classes/trainer#transformers.TrainingArguments). Experimentation and fine-tuning of these parameters are essential for achieving optimal model performance tailored to your specific task and dataset.