nielsbantilan commited on
Commit
5bb2226
1 Parent(s): 605fabd

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,16 +1,3 @@
1
  ---
2
- datasets:
3
- - yahma/alpaca-cleaned
4
- language:
5
- - en
6
- license: apache-2.0
7
- tags:
8
- - pytorch
9
- - causal-lm
10
- - llama2
11
- - fine-tuning
12
- - alpaca
13
-
14
  ---
15
-
16
- # Llama-2-7B fine-tuned on LoRA alpaca-cleaned
 
1
  ---
2
+ library_name: peft
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model_name_or_path": "georgesung/llama2_7b_chat_uncensored",
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": 16,
10
+ "lora_dropout": 0.05,
11
+ "modules_to_save": null,
12
+ "peft_type": "LORA",
13
+ "r": 8,
14
+ "revision": null,
15
+ "target_modules": [
16
+ "q_proj",
17
+ "k_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:e5e1621f48d9ad8feb1d6d31050275f0aafd080c5c07153301fe2f48411f4406
3
+ size 443
checkpoint-250/adapter_model/README.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
checkpoint-250/adapter_model/adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model_name_or_path": "georgesung/llama2_7b_chat_uncensored",
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": 16,
10
+ "lora_dropout": 0.05,
11
+ "modules_to_save": null,
12
+ "peft_type": "LORA",
13
+ "r": 8,
14
+ "revision": null,
15
+ "target_modules": [
16
+ "q_proj",
17
+ "k_proj",
18
+ "v_proj"
19
+ ],
20
+ "task_type": "CAUSAL_LM"
21
+ }
checkpoint-250/adapter_model/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5e1621f48d9ad8feb1d6d31050275f0aafd080c5c07153301fe2f48411f4406
3
+ size 443
checkpoint-250/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e581b1031fd73bd8aa319fd40e6cf7e923cf8dd1479060d7d597271fb71e7e12
3
+ size 12833221
checkpoint-250/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1818fa5f719fb87158a6e35516b0fd1f76a2c40974168c04939837ea03fa39a4
3
+ size 21687
checkpoint-250/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c337ab7f81e61f87fd7017e4664a3c9817f6ad0af3433302aea0bf6352ce1dc6
3
+ size 21687
checkpoint-250/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71116ed9c7a18475ffdf66abd8f4812174e0e79d75f7ccbdb45b9d94ba52498d
3
+ size 21687
checkpoint-250/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af06d03dd3e8d8c4acb796ee953b5830bb2d38ee74eb796e44924b247f59d670
3
+ size 21687
checkpoint-250/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:414e4f5a4c4c32d3e5cdcb590163526e4b0f2dc5b03fe1751612d75ca05dd1fe
3
+ size 21687
checkpoint-250/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:faf8865f613c34dd93fa37eed1a94f52689f981511b59f9aeea05f89f91c983d
3
+ size 21687
checkpoint-250/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:294fb493b15be44ac8b4b85ddf84dca0e93e755ec0c925aa96790d28371dc6c4
3
+ size 21687
checkpoint-250/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5020c2ede9dc58e51bfe0647cd46fc91fb0b8ed7ce1475bb264c7d040f802c1c
3
+ size 21687
checkpoint-250/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38ba1333be64abeb4f195c699d409a499c161897b8d08412b5bc6d7a0a5a299d
3
+ size 557
checkpoint-250/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e484860ad00d61fa01ddff8a380ac54055a735b595749017ba960f814d6ef067
3
+ size 627
checkpoint-250/trainer_state.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.07727975270479134,
5
+ "global_step": 250,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.01,
12
+ "learning_rate": 9.949107209404665e-05,
13
+ "loss": 1.4438,
14
+ "step": 20
15
+ },
16
+ {
17
+ "epoch": 0.01,
18
+ "learning_rate": 9.60054932593026e-05,
19
+ "loss": 0.9005,
20
+ "step": 40
21
+ },
22
+ {
23
+ "epoch": 0.02,
24
+ "learning_rate": 8.943603315859101e-05,
25
+ "loss": 0.8217,
26
+ "step": 60
27
+ },
28
+ {
29
+ "epoch": 0.02,
30
+ "learning_rate": 8.073758755521505e-05,
31
+ "loss": 0.8408,
32
+ "step": 80
33
+ },
34
+ {
35
+ "epoch": 0.03,
36
+ "learning_rate": 7.077075065009433e-05,
37
+ "loss": 0.8358,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 0.04,
42
+ "learning_rate": 7.017858456614284e-05,
43
+ "loss": 1.1404,
44
+ "step": 120
45
+ },
46
+ {
47
+ "epoch": 0.04,
48
+ "learning_rate": 7.017858456614284e-05,
49
+ "loss": 1.0012,
50
+ "step": 140
51
+ },
52
+ {
53
+ "epoch": 0.05,
54
+ "learning_rate": 7.017858456614284e-05,
55
+ "loss": 1.0874,
56
+ "step": 160
57
+ },
58
+ {
59
+ "epoch": 0.06,
60
+ "learning_rate": 7.017858456614284e-05,
61
+ "loss": 1.1208,
62
+ "step": 180
63
+ },
64
+ {
65
+ "epoch": 0.06,
66
+ "learning_rate": 7.017858456614284e-05,
67
+ "loss": 0.9762,
68
+ "step": 200
69
+ },
70
+ {
71
+ "epoch": 0.07,
72
+ "learning_rate": 7.017858456614284e-05,
73
+ "loss": 1.0802,
74
+ "step": 220
75
+ },
76
+ {
77
+ "epoch": 0.07,
78
+ "learning_rate": 7.017858456614284e-05,
79
+ "loss": 1.157,
80
+ "step": 240
81
+ }
82
+ ],
83
+ "max_steps": 250,
84
+ "num_train_epochs": 1,
85
+ "total_flos": 3.76542290027479e+16,
86
+ "trial_name": null,
87
+ "trial_params": null
88
+ }
checkpoint-250/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fce417f356d651d4546f8ccd4538e6655b6f781ef22edd36ad7c0716b8449f0
3
+ size 3963
flyte_training_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"base_model": "georgesung/llama2_7b_chat_uncensored", "data_path": "yahma/alpaca-cleaned", "instruction_key": "instruction", "input_key": "input", "output_key": "output", "output_dir": "./output", "device_map": "auto", "batch_size": 16, "micro_batch_size": 1, "num_epochs": 1, "max_steps": 250, "eval_steps": 200, "save_steps": 50, "learning_rate": 0.0001, "cutoff_len": 512, "val_set_size": 0, "lora_r": 8, "lora_alpha": 16, "lora_dropout": 0.05, "weight_decay": 0.02, "warmup_ratio": 0.03, "lr_scheduler_type": "cosine", "lora_target_modules": ["q_proj", "k_proj", "v_proj"], "train_on_inputs": true, "add_eos_token": true, "group_by_length": true, "resume_from_checkpoint": null, "wandb_project": "unionai-llm-fine-tuning", "wandb_run_name": "", "wandb_watch": "", "wandb_log_model": "", "debug_mode": false, "debug_train_data_size": 1024}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6794c634e96a187c1b77b9af1f6d9c73037ecd497374b3c193fe00b626674284
3
+ size 25234701
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fce417f356d651d4546f8ccd4538e6655b6f781ef22edd36ad7c0716b8449f0
3
+ size 3963