mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-02 03:32:50 +08:00
* support export ollama modelfile * update config * add system and num ctx Former-commit-id: 9184a6e0ed7ff5f632c848f861bfa448c4cd06fc
14 lines
348 B
YAML
14 lines
348 B
YAML
### Note: DO NOT use quantized model or quantization_bit when merging lora adapters
|
|
|
|
### model
|
|
model_name_or_path: meta-llama/Meta-Llama-3-8B-Instruct
|
|
adapter_name_or_path: saves/llama3-8b/lora/sft
|
|
template: llama3
|
|
trust_remote_code: true
|
|
|
|
### export
|
|
export_dir: output/llama3_lora_sft
|
|
export_size: 5
|
|
export_device: cpu
|
|
export_legacy_format: false
|