mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-01 03:02:51 +08:00
- Introduced a new model parameter `trust_remote_code` - Set the default value of `trust_remote_code` to `False` to enhance security Former-commit-id: 09437763267bc7081159a6878cee9652a2b1ddac
20 lines
363 B
YAML
20 lines
363 B
YAML
### model
|
|
model_name_or_path: meta-llama/Meta-Llama-3-8B-Instruct
|
|
adapter_name_or_path: saves/llama3-8b/lora/sft
|
|
trust_remote_code: true
|
|
|
|
### method
|
|
finetuning_type: lora
|
|
|
|
### dataset
|
|
task: mmlu_test # choices: [mmlu_test, ceval_validation, cmmlu_test]
|
|
template: fewshot
|
|
lang: en
|
|
n_shot: 5
|
|
|
|
### output
|
|
save_dir: saves/llama3-8b/lora/eval
|
|
|
|
### eval
|
|
batch_size: 4
|