An early checkpoint ~ Contextually obedient in answering, training curriculum is currently at training for contextual-refusals when the information provided is not sufficent to answer
Browse files
Codestral-22B_Lora/adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "models\\Codestral-22B-Without-Mistral-Inference-Requirement",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 64,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 32,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"v_proj",
|
23 |
+
"k_proj",
|
24 |
+
"up_proj",
|
25 |
+
"gate_proj",
|
26 |
+
"q_proj",
|
27 |
+
"down_proj",
|
28 |
+
"o_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM",
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
Codestral-22B_Lora/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d1d5db02575bfc83e2874cb6f78595de223de1d752843aed303f433742f3aaf8
|
3 |
+
size 763469352
|
Codestral-22B_Lora/training_parameters.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"lora_name": "Contextual-Codestral",
|
3 |
+
"always_override": true,
|
4 |
+
"q_proj_en": true,
|
5 |
+
"v_proj_en": true,
|
6 |
+
"k_proj_en": true,
|
7 |
+
"o_proj_en": true,
|
8 |
+
"gate_proj_en": true,
|
9 |
+
"down_proj_en": true,
|
10 |
+
"up_proj_en": true,
|
11 |
+
"save_steps": 0,
|
12 |
+
"micro_batch_size": 42,
|
13 |
+
"batch_size": 24,
|
14 |
+
"epochs": 1.42,
|
15 |
+
"learning_rate": "6e-7",
|
16 |
+
"lr_scheduler_type": "polynomial",
|
17 |
+
"lora_rank": 8,
|
18 |
+
"lora_alpha": 16,
|
19 |
+
"lora_dropout": 0.05,
|
20 |
+
"cutoff_len": 8192,
|
21 |
+
"dataset": "0_Contextual",
|
22 |
+
"eval_dataset": "1_I_Cannot_Answer_That_For_You_From_Provided_Context",
|
23 |
+
"format": "Mermaid-format",
|
24 |
+
"eval_steps": 100,
|
25 |
+
"raw_text_file": "None",
|
26 |
+
"overlap_len": 128,
|
27 |
+
"newline_favor_len": 128,
|
28 |
+
"higher_rank_limit": false,
|
29 |
+
"warmup_steps": 1,
|
30 |
+
"optimizer": "adagrad",
|
31 |
+
"hard_cut_string": "\\n\\n\\n",
|
32 |
+
"train_only_after": "",
|
33 |
+
"stop_at_loss": 0.2,
|
34 |
+
"add_eos_token": true,
|
35 |
+
"min_chars": 0,
|
36 |
+
"report_to": "None"
|
37 |
+
}
|
Codestral-22B_Lora/training_prompt.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"template_type": "dataset",
|
3 |
+
"template_1": "Code-Assistant-Request: %instruction%\n\n### Code:\n%output%",
|
4 |
+
"template_2": "Mermaid-Generator-Request: %instruction%\n\n### Input:\n%input%\n\n### Mermaid:\n%output%",
|
5 |
+
"template_3": "Contextual-Request: %prompt%\n\n### Contextual Response:\n%chosen%"
|
6 |
+
}
|