humbertonc
commited on
Commit
•
2c89a7b
1
Parent(s):
441ee66
Training in progress, step 25
Browse files
adapter_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TinyPixel/Llama-2-7B-bf16-sharded",
|
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 |
+
"lora_alpha": 32,
|
12 |
+
"lora_dropout": 0.1,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 8,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"down_proj",
|
20 |
+
"gate_proj",
|
21 |
+
"k_proj",
|
22 |
+
"q_proj",
|
23 |
+
"o_proj",
|
24 |
+
"up_proj",
|
25 |
+
"v_proj"
|
26 |
+
],
|
27 |
+
"task_type": "CAUSAL_LM"
|
28 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c3b3a5872748bb91770edba82d10ac6a5fa2aa30000efb8d365e84952b83a38
|
3 |
+
size 80013120
|
runs/Nov23_19-47-59_21117442e8de/events.out.tfevents.1700769072.21117442e8de.176.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21844bc14db073a2e95dd54ba57a3eabc9f623a85ec7428f8c3dc7b34265d094
|
3 |
+
size 8488
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:980194abb1915214d7f556e57e947a000807ea0c85125ae0386148e4d6be6b96
|
3 |
+
size 4600
|
training_config.json
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"experiment_key": "base",
|
3 |
+
"save_safetensors": true,
|
4 |
+
"max_shard_size": "10GB",
|
5 |
+
"local_rank": 0,
|
6 |
+
"use_gradient_checkpointing": true,
|
7 |
+
"trainer_key": "lm",
|
8 |
+
"force_fp32": false,
|
9 |
+
"force_fp16": false,
|
10 |
+
"from_gptq": false,
|
11 |
+
"huggingface_hub_token": null,
|
12 |
+
"deepspeed_stage": 0,
|
13 |
+
"deepspeed_config_path": null,
|
14 |
+
"fsdp_strategy": "",
|
15 |
+
"fsdp_offload": true,
|
16 |
+
"seed": 42,
|
17 |
+
"stabilize": false,
|
18 |
+
"norm_fp32": false,
|
19 |
+
"path_to_env_file": "./.env",
|
20 |
+
"prepare_dataset": true,
|
21 |
+
"lora_hub_model_id": null,
|
22 |
+
"lora_model_local_path": null,
|
23 |
+
"fused_model_local_path": null,
|
24 |
+
"fuse_after_training": false,
|
25 |
+
"quantization_dataset_id": null,
|
26 |
+
"quantization_max_samples": 1024,
|
27 |
+
"quantized_model_path": "./quantized_model/",
|
28 |
+
"quantized_hub_model_id": null,
|
29 |
+
"quantized_hub_private_repo": true,
|
30 |
+
"dataset_key": "soda",
|
31 |
+
"train_local_path_to_data": "./train.jsonl",
|
32 |
+
"eval_local_path_to_data": null,
|
33 |
+
"shuffle": true,
|
34 |
+
"max_eval_samples": 1000,
|
35 |
+
"add_eval_to_train_if_no_path": false,
|
36 |
+
"tokenizer_name_or_path": null,
|
37 |
+
"tokenizer_use_fast": null,
|
38 |
+
"tokenizer_padding_side": "right",
|
39 |
+
"collator_key": "lm",
|
40 |
+
"max_length": 2048,
|
41 |
+
"model_name_or_path": "TinyPixel/Llama-2-7B-bf16-sharded",
|
42 |
+
"push_to_hub_bos_add_bos_token": false,
|
43 |
+
"use_flash_attention_2": false,
|
44 |
+
"trust_remote_code": false,
|
45 |
+
"device_map": null,
|
46 |
+
"prepare_model_for_kbit_training": true,
|
47 |
+
"offload_folder": null,
|
48 |
+
"load_in_8bit": false,
|
49 |
+
"load_in_4bit": true,
|
50 |
+
"llm_int8_threshold": 6.0,
|
51 |
+
"llm_int8_has_fp16_weight": true,
|
52 |
+
"bnb_4bit_use_double_quant": true,
|
53 |
+
"bnb_4bit_quant_type": "nf4",
|
54 |
+
"bnb_quantize_after_model_init": false,
|
55 |
+
"gptq_bits": 4,
|
56 |
+
"gptq_group_size": 128,
|
57 |
+
"gptq_disable_exllama": true,
|
58 |
+
"apply_lora": true,
|
59 |
+
"lora_rank": 8,
|
60 |
+
"lora_alpha": 32,
|
61 |
+
"lora_dropout": 0.1,
|
62 |
+
"raw_lora_target_modules": "all",
|
63 |
+
"output_dir": "./outputs/",
|
64 |
+
"per_device_train_batch_size": 2,
|
65 |
+
"do_eval": false,
|
66 |
+
"per_device_eval_batch_size": null,
|
67 |
+
"gradient_accumulation_steps": 2,
|
68 |
+
"eval_accumulation_steps": null,
|
69 |
+
"eval_delay": 0,
|
70 |
+
"eval_steps": 1000,
|
71 |
+
"warmup_steps": 5,
|
72 |
+
"max_steps": 100,
|
73 |
+
"num_train_epochs": 1,
|
74 |
+
"learning_rate": 0.0002,
|
75 |
+
"max_grad_norm": 1.0,
|
76 |
+
"weight_decay": 0.001,
|
77 |
+
"label_smoothing_factor": 0.0,
|
78 |
+
"logging_steps": 1,
|
79 |
+
"save_steps": 25,
|
80 |
+
"save_total_limit": 1,
|
81 |
+
"optim": "paged_adamw_8bit",
|
82 |
+
"push_to_hub": true,
|
83 |
+
"hub_model_id": "humbertonc/model_test_1_lora",
|
84 |
+
"hub_private_repo": false,
|
85 |
+
"neftune_noise_alpha": null,
|
86 |
+
"report_to_wandb": false,
|
87 |
+
"wandb_api_key": null,
|
88 |
+
"wandb_project": null,
|
89 |
+
"wandb_entity": null
|
90 |
+
}
|