mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-16 11:50:35 +08:00
Add trust_remote_code parameter and remove True
- Introduced a new model parameter `trust_remote_code` - Set the default value of `trust_remote_code` to `False` to enhance security
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
### 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
|
||||
|
||||
Reference in New Issue
Block a user