Upload 6 files
Browse files- README.md +1 -1
- adapter_config.json +20 -0
- adapter_model.bin +3 -0
- training_log.json +16 -0
- training_parameters.json +30 -0
- training_prompt.json +5 -0
README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
---
|
|
|
|
| 1 |
---
|
| 2 |
+
library_name: peft
|
| 3 |
---
|
adapter_config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model_name_or_path": "models\\Llama-2-7b-chat-hf",
|
| 3 |
+
"bias": "none",
|
| 4 |
+
"fan_in_fan_out": false,
|
| 5 |
+
"inference_mode": true,
|
| 6 |
+
"init_lora_weights": true,
|
| 7 |
+
"layers_pattern": null,
|
| 8 |
+
"layers_to_transform": null,
|
| 9 |
+
"lora_alpha": 256,
|
| 10 |
+
"lora_dropout": 0.05,
|
| 11 |
+
"modules_to_save": null,
|
| 12 |
+
"peft_type": "LORA",
|
| 13 |
+
"r": 128,
|
| 14 |
+
"revision": null,
|
| 15 |
+
"target_modules": [
|
| 16 |
+
"q_proj",
|
| 17 |
+
"v_proj"
|
| 18 |
+
],
|
| 19 |
+
"task_type": "CAUSAL_LM"
|
| 20 |
+
}
|
adapter_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cca9aa8aa21f9fd53cd87b0f14f845fad07e07eb6def2aa27a60cc9ceeb0ebe4
|
| 3 |
+
size 268481485
|
training_log.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model_name": "Llama-2-7b-chat-hf",
|
| 3 |
+
"base_model_class": "LlamaForCausalLM",
|
| 4 |
+
"base_loaded_in_4bit": true,
|
| 5 |
+
"base_loaded_in_8bit": false,
|
| 6 |
+
"projections": "q, v",
|
| 7 |
+
"loss": 0.8314,
|
| 8 |
+
"learning_rate": 7.264545643486997e-07,
|
| 9 |
+
"epoch": 2.76,
|
| 10 |
+
"current_steps": 3387,
|
| 11 |
+
"train_runtime": 13542.7743,
|
| 12 |
+
"train_samples_per_second": 0.277,
|
| 13 |
+
"train_steps_per_second": 0.002,
|
| 14 |
+
"total_flos": 1.4593684047239578e+17,
|
| 15 |
+
"train_loss": 0.9451417039941858
|
| 16 |
+
}
|
training_parameters.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"lora_name": "7bV2CHATWIZARDTiny1",
|
| 3 |
+
"always_override": true,
|
| 4 |
+
"save_steps": 100.0,
|
| 5 |
+
"micro_batch_size": 1,
|
| 6 |
+
"batch_size": 128,
|
| 7 |
+
"epochs": 3.0,
|
| 8 |
+
"learning_rate": "5e-5",
|
| 9 |
+
"lr_scheduler_type": "cosine",
|
| 10 |
+
"lora_rank": 128,
|
| 11 |
+
"lora_alpha": 256,
|
| 12 |
+
"lora_dropout": 0.05,
|
| 13 |
+
"cutoff_len": 2048,
|
| 14 |
+
"dataset": "gpe4codeYoked1250v2",
|
| 15 |
+
"eval_dataset": "None",
|
| 16 |
+
"format": "alpaca-format",
|
| 17 |
+
"eval_steps": 100.0,
|
| 18 |
+
"raw_text_file": "None",
|
| 19 |
+
"overlap_len": 128,
|
| 20 |
+
"newline_favor_len": 128,
|
| 21 |
+
"higher_rank_limit": false,
|
| 22 |
+
"warmup_steps": 100.0,
|
| 23 |
+
"optimizer": "adamw_bnb_8bit",
|
| 24 |
+
"hard_cut_string": "\\n\\n\\n",
|
| 25 |
+
"train_only_after": "",
|
| 26 |
+
"stop_at_loss": 0,
|
| 27 |
+
"add_eos_token": false,
|
| 28 |
+
"min_chars": 0.0,
|
| 29 |
+
"report_to": "tensorboard"
|
| 30 |
+
}
|
training_prompt.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"template_type": "dataset",
|
| 3 |
+
"template_1": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n%instruction%\n\n### Response:\n%output%",
|
| 4 |
+
"template_2": "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n### Instruction:\n%instruction%\n\n### Input:\n%input%\n\n### Response:\n%output%"
|
| 5 |
+
}
|