KartonCreations
commited on
Commit
•
748a0e4
1
Parent(s):
817de21
File
Browse filesFirst experiment worked so great i opted for release, even though material was unclean. Remarakably! stable on transformers
- README.md +23 -1
- adapter_config.json +20 -0
- adapter_model.bin +3 -0
- training_log.json +16 -0
- training_parameters.json +30 -0
- training_prompt.json +3 -0
README.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1 |
---
|
2 |
-
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
library_name: peft
|
3 |
---
|
4 |
+
## Training procedure
|
5 |
+
|
6 |
+
### Framework versions
|
7 |
+
|
8 |
+
- PEFT 0.5.0
|
9 |
+
- PEFT 0.5.0
|
10 |
+
- PEFT 0.5.0
|
11 |
+
- PEFT 0.5.0
|
12 |
+
- PEFT 0.5.0
|
13 |
+
- PEFT 0.5.0
|
14 |
+
- PEFT 0.5.0
|
15 |
+
- PEFT 0.5.0
|
16 |
+
- PEFT 0.5.0
|
17 |
+
- PEFT 0.5.0
|
18 |
+
- PEFT 0.5.0
|
19 |
+
- PEFT 0.5.0
|
20 |
+
- PEFT 0.5.0
|
21 |
+
- PEFT 0.5.0
|
22 |
+
- PEFT 0.5.0
|
23 |
+
- PEFT 0.5.0
|
24 |
+
|
25 |
+
- PEFT 0.5.0
|
adapter_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "models/gpt2",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": true,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 24,
|
11 |
+
"lora_dropout": 0.05,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 16,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"c_attn"
|
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:2bcdf24fe7b797ec3670bc6864cc51ce92fde2fa9e35a81b8475ee6350c1fa70
|
3 |
+
size 2367673
|
training_log.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name": "gpt2",
|
3 |
+
"base_model_class": "GPT2LMHeadModel",
|
4 |
+
"base_loaded_in_4bit": false,
|
5 |
+
"base_loaded_in_8bit": false,
|
6 |
+
"projections": "c_attn",
|
7 |
+
"loss": 0.8766,
|
8 |
+
"learning_rate": 0.00013416407864998736,
|
9 |
+
"epoch": 15.0,
|
10 |
+
"current_steps": 677,
|
11 |
+
"train_runtime": 33.5196,
|
12 |
+
"train_samples_per_second": 5.37,
|
13 |
+
"train_steps_per_second": 0.447,
|
14 |
+
"total_flos": 41438875484160.0,
|
15 |
+
"train_loss": 0.8892534891764323
|
16 |
+
}
|
training_parameters.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"lora_name": "mbtk.py",
|
3 |
+
"always_override": true,
|
4 |
+
"save_steps": 0.0,
|
5 |
+
"micro_batch_size": 2,
|
6 |
+
"batch_size": 96,
|
7 |
+
"epochs": 48.0,
|
8 |
+
"learning_rate": "3e-4",
|
9 |
+
"lr_scheduler_type": "inverse_sqrt",
|
10 |
+
"lora_rank": 16,
|
11 |
+
"lora_alpha": 24,
|
12 |
+
"lora_dropout": 0.05,
|
13 |
+
"cutoff_len": 448,
|
14 |
+
"dataset": "None",
|
15 |
+
"eval_dataset": "None",
|
16 |
+
"format": "None",
|
17 |
+
"eval_steps": 100.0,
|
18 |
+
"raw_text_file": "einmbtkreaktorkannnichteinfach",
|
19 |
+
"overlap_len": 96,
|
20 |
+
"newline_favor_len": 0,
|
21 |
+
"higher_rank_limit": false,
|
22 |
+
"warmup_steps": 100.0,
|
23 |
+
"optimizer": "adamw_torch",
|
24 |
+
"hard_cut_string": "/0",
|
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 |
+
}
|