File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def generate_config():
126126 """
127127 Generate an example `config.yml` file in current directory
128128 """
129- module_path = Path (llmtune .__file__ ). parent
129+ module_path = Path (llmtune .__file__ )
130130 example_config_path = module_path .parent / EXAMPLE_CONFIG_FNAME
131131 destination = Path .cwd ()
132132 shutil .copy (example_config_path , destination )
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ data:
1717 prompt_stub :
1818 >- # Stub to add for training at the end of prompt, for test set or inference, this is omitted; make sure only one variable is present
1919 {output}
20- test_size : 0.1 # Proportion of test as % of total; if integer then # of samples
21- train_size : 0.9 # Proportion of train as % of total; if integer then # of samples
20+ test_size : 25 # Proportion of test as % of total; if integer then # of samples
21+ train_size : 500 # Proportion of train as % of total; if integer then # of samples
2222 train_test_split_seed : 42
2323
2424# Model Definition -------------------
2525model :
2626 hf_model_ckpt : " mistralai/Mistral-7B-Instruct-v0.2"
2727 torch_dtype : " bfloat16"
28- attn_implementation : " flash_attention_2"
28+ # attn_implementation: "flash_attention_2"
2929 quantize : true
3030 bitsandbytes :
3131 load_in_4bit : true
You can’t perform that action at this time.
0 commit comments