[misc] support export ollama modelfile (#6899)
* support export ollama modelfile * update config * add system and num ctx Former-commit-id: 8c2af7466f4015f300b51841db11bcd2505ebf20
This commit is contained in:
11
examples/merge_lora/llama3_full_sft.yaml
Normal file
11
examples/merge_lora/llama3_full_sft.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
### model
|
||||
model_name_or_path: saves/llama3-8b/full/sft
|
||||
template: llama3
|
||||
trust_remote_code: true
|
||||
infer_dtype: bfloat16
|
||||
|
||||
### export
|
||||
export_dir: output/llama3_full_sft
|
||||
export_size: 5
|
||||
export_device: cpu
|
||||
export_legacy_format: false
|
||||
Reference in New Issue
Block a user