File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def generate_config():
126
126
"""
127
127
Generate an example `config.yml` file in current directory
128
128
"""
129
- module_path = Path (llmtune .__file__ ). parent
129
+ module_path = Path (llmtune .__file__ )
130
130
example_config_path = module_path .parent / EXAMPLE_CONFIG_FNAME
131
131
destination = Path .cwd ()
132
132
shutil .copy (example_config_path , destination )
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ data:
17
17
prompt_stub :
18
18
>- # 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
19
19
{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
22
22
train_test_split_seed : 42
23
23
24
24
# Model Definition -------------------
25
25
model :
26
26
hf_model_ckpt : " mistralai/Mistral-7B-Instruct-v0.2"
27
27
torch_dtype : " bfloat16"
28
- attn_implementation : " flash_attention_2"
28
+ # attn_implementation: "flash_attention_2"
29
29
quantize : true
30
30
bitsandbytes :
31
31
load_in_4bit : true
You can’t perform that action at this time.
0 commit comments