Lora
Browse files- README.md +18 -1
- adapter_config.json +21 -0
- adapter_model.bin +3 -0
- runs/Aug05_15-25-52_ceb99503b03c/events.out.tfevents.1691249152.ceb99503b03c.2769.0 +3 -0
- training_log.json +16 -0
- training_parameters.json +30 -0
- training_prompt.json +3 -0
README.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1 |
---
|
2 |
-
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
library_name: peft
|
3 |
---
|
4 |
+
## Training procedure
|
5 |
+
|
6 |
+
|
7 |
+
The following `bitsandbytes` quantization config was used during training:
|
8 |
+
- load_in_8bit: False
|
9 |
+
- load_in_4bit: True
|
10 |
+
- llm_int8_threshold: 6.0
|
11 |
+
- llm_int8_skip_modules: None
|
12 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
13 |
+
- llm_int8_has_fp16_weight: False
|
14 |
+
- bnb_4bit_quant_type: nf4
|
15 |
+
- bnb_4bit_use_double_quant: False
|
16 |
+
- bnb_4bit_compute_dtype: float16
|
17 |
+
### Framework versions
|
18 |
+
|
19 |
+
|
20 |
+
- PEFT 0.5.0.dev0
|
adapter_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "models/NousResearch_Llama-2-13b-hf",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 64,
|
11 |
+
"lora_dropout": 0.05,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 32,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"q_proj",
|
18 |
+
"v_proj"
|
19 |
+
],
|
20 |
+
"task_type": "CAUSAL_LM"
|
21 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:938996dce365948e6423e953c54c09deaa48a74f98e5b128e67d2416de13ff8d
|
3 |
+
size 104915277
|
runs/Aug05_15-25-52_ceb99503b03c/events.out.tfevents.1691249152.ceb99503b03c.2769.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88b94e91151814f93f22f5a2a551e822f767612f0898a88c6fa46d23ddb638da
|
3 |
+
size 20389
|
training_log.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name": "NousResearch_Llama-2-13b-hf",
|
3 |
+
"base_model_class": "LlamaForCausalLM",
|
4 |
+
"base_loaded_in_4bit": true,
|
5 |
+
"base_loaded_in_8bit": false,
|
6 |
+
"projections": "q, v",
|
7 |
+
"loss": 2.0766,
|
8 |
+
"learning_rate": 3.006012024048096e-06,
|
9 |
+
"epoch": 1.0,
|
10 |
+
"current_steps": 16095,
|
11 |
+
"train_runtime": 19428.9967,
|
12 |
+
"train_samples_per_second": 3.317,
|
13 |
+
"train_steps_per_second": 0.026,
|
14 |
+
"total_flos": 6.462072465181901e+17,
|
15 |
+
"train_loss": 2.1390227541534848
|
16 |
+
}
|
training_parameters.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"lora_name": "spring-dragon",
|
3 |
+
"always_override": false,
|
4 |
+
"save_steps": 0.0,
|
5 |
+
"micro_batch_size": 4,
|
6 |
+
"batch_size": 128,
|
7 |
+
"epochs": 1.0,
|
8 |
+
"learning_rate": "3e-4",
|
9 |
+
"lr_scheduler_type": "linear",
|
10 |
+
"lora_rank": 32,
|
11 |
+
"lora_alpha": 64,
|
12 |
+
"lora_dropout": 0.05,
|
13 |
+
"cutoff_len": 256,
|
14 |
+
"dataset": "None",
|
15 |
+
"eval_dataset": "None",
|
16 |
+
"format": "None",
|
17 |
+
"eval_steps": 100.0,
|
18 |
+
"raw_text_file": "text_adventures",
|
19 |
+
"overlap_len": 128,
|
20 |
+
"newline_favor_len": 128,
|
21 |
+
"higher_rank_limit": false,
|
22 |
+
"warmup_steps": 100.0,
|
23 |
+
"optimizer": "adamw_torch",
|
24 |
+
"hard_cut_string": "<|endoftext|>",
|
25 |
+
"train_only_after": "",
|
26 |
+
"stop_at_loss": 0,
|
27 |
+
"add_eos_token": false,
|
28 |
+
"min_chars": 0.0,
|
29 |
+
"report_to": "None"
|
30 |
+
}
|
training_prompt.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"template_type": "raw_text"
|
3 |
+
}
|