Upload 6 files
Browse files- README.md +34 -0
- adapter_config.json +21 -0
- adapter_model.bin +3 -0
- training_log.json +16 -0
- training_parameters.json +30 -0
- training_prompt.json +5 -0
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
---
|
| 4 |
+
## Training procedure
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
The following `bitsandbytes` quantization config was used during training:
|
| 8 |
+
- quant_method: bitsandbytes
|
| 9 |
+
- load_in_8bit: False
|
| 10 |
+
- load_in_4bit: True
|
| 11 |
+
- llm_int8_threshold: 6.0
|
| 12 |
+
- llm_int8_skip_modules: None
|
| 13 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
| 14 |
+
- llm_int8_has_fp16_weight: False
|
| 15 |
+
- bnb_4bit_quant_type: nf4
|
| 16 |
+
- bnb_4bit_use_double_quant: True
|
| 17 |
+
- bnb_4bit_compute_dtype: bfloat16
|
| 18 |
+
|
| 19 |
+
The following `bitsandbytes` quantization config was used during training:
|
| 20 |
+
- quant_method: bitsandbytes
|
| 21 |
+
- load_in_8bit: False
|
| 22 |
+
- load_in_4bit: True
|
| 23 |
+
- llm_int8_threshold: 6.0
|
| 24 |
+
- llm_int8_skip_modules: None
|
| 25 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
| 26 |
+
- llm_int8_has_fp16_weight: False
|
| 27 |
+
- bnb_4bit_quant_type: nf4
|
| 28 |
+
- bnb_4bit_use_double_quant: True
|
| 29 |
+
- bnb_4bit_compute_dtype: bfloat16
|
| 30 |
+
### Framework versions
|
| 31 |
+
|
| 32 |
+
- PEFT 0.5.0
|
| 33 |
+
|
| 34 |
+
- PEFT 0.5.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"auto_mapping": null,
|
| 3 |
+
"base_model_name_or_path": "models/grimpep_L2-MythoMax22b-instruct-Falseblock",
|
| 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:d16629ea18728fa24526d62da7938acf496e25e8dbc17ef3d8fb5724d20cf174
|
| 3 |
+
size 136372557
|
training_log.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model_name": "grimpep_L2-MythoMax22b-instruct-Falseblock",
|
| 3 |
+
"base_model_class": "LlamaForCausalLM",
|
| 4 |
+
"base_loaded_in_4bit": true,
|
| 5 |
+
"base_loaded_in_8bit": false,
|
| 6 |
+
"projections": "q, v",
|
| 7 |
+
"loss": 1.3766,
|
| 8 |
+
"learning_rate": 0.0,
|
| 9 |
+
"epoch": 2.53,
|
| 10 |
+
"current_steps": 451,
|
| 11 |
+
"train_runtime": 998.8868,
|
| 12 |
+
"train_samples_per_second": 2.274,
|
| 13 |
+
"train_steps_per_second": 0.015,
|
| 14 |
+
"total_flos": 3.2187033092358144e+16,
|
| 15 |
+
"train_loss": 1.9135538736979167
|
| 16 |
+
}
|
training_parameters.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"lora_name": "aichan-22B",
|
| 3 |
+
"always_override": false,
|
| 4 |
+
"save_steps": 0.0,
|
| 5 |
+
"micro_batch_size": 4,
|
| 6 |
+
"batch_size": 128,
|
| 7 |
+
"epochs": 3.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": "aichan-public-v3.1",
|
| 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_torch",
|
| 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": "None"
|
| 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 |
+
}
|