Version 2 with 512 tokens
Browse files- adapter_config.json +1 -1
- adapter_model.bin +1 -1
- training_config.json +35 -0
adapter_config.json
CHANGED
@@ -15,4 +15,4 @@
|
|
15 |
"v_proj"
|
16 |
],
|
17 |
"task_type": "CAUSAL_LM"
|
18 |
-
}
|
|
|
15 |
"v_proj"
|
16 |
],
|
17 |
"task_type": "CAUSAL_LM"
|
18 |
+
}
|
adapter_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 16822989
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d4481b6cd326970d83ae7c575b7a67295c2b4a2eabfbbbf83273f9778e65fb6
|
3 |
size 16822989
|
training_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"trainer": {
|
3 |
+
"evaluation_strategy": "steps",
|
4 |
+
"per_device_train_batch_size": 16,
|
5 |
+
"per_device_eval_batch_size": 16,
|
6 |
+
"gradient_accumulation_steps": 8,
|
7 |
+
"eval_steps": 150,
|
8 |
+
"save_steps": 150,
|
9 |
+
"logging_steps": 5,
|
10 |
+
"learning_rate": 0.0003,
|
11 |
+
"num_train_epochs": 3,
|
12 |
+
"lr_scheduler_type": "cosine",
|
13 |
+
"warmup_steps": 100,
|
14 |
+
"fp16": true,
|
15 |
+
"bf16": false,
|
16 |
+
"torch_compile": false,
|
17 |
+
"optim": "adamw_torch"
|
18 |
+
},
|
19 |
+
"lora": {
|
20 |
+
"r": 8,
|
21 |
+
"lora_alpha": 16,
|
22 |
+
"lora_dropout": 0.05,
|
23 |
+
"bias": "none",
|
24 |
+
"target_modules": ["q_proj", "v_proj"],
|
25 |
+
"task_type": "CAUSAL_LM"
|
26 |
+
},
|
27 |
+
"load_in_8bit": true,
|
28 |
+
"only_target_loss": false,
|
29 |
+
"model_name": "models/llama-7b-hf",
|
30 |
+
"model_type": "causal",
|
31 |
+
"template_category": "causal_newlines",
|
32 |
+
"max_source_tokens_count": 256,
|
33 |
+
"max_target_tokens_count": 512
|
34 |
+
}
|
35 |
+
|