Moghazy commited on
Commit
0eda5d1
1 Parent(s): e287862

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - text-generation
5
+ widget:
6
+ - text: "I love AutoTrain because "
7
+ ---
8
+
9
+ # Model Trained Using AutoTrain
adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "abhishek/llama-2-7b-hf-small-shards",
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": 32,
11
+ "lora_dropout": 0.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 16,
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:0981a7318a64a997fbc1acd12c27d77d6f6e270885cc4940d7a0bb28a797e8ae
3
+ size 33600461
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<pad>": 32000
3
+ }
checkpoint-20/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: False
17
+ - bnb_4bit_compute_dtype: float16
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: False
29
+ - bnb_4bit_compute_dtype: float16
30
+ ### Framework versions
31
+
32
+ - PEFT 0.6.0.dev0
33
+
34
+ - PEFT 0.6.0.dev0
checkpoint-20/adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "abhishek/llama-2-7b-hf-small-shards",
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": 32,
11
+ "lora_dropout": 0.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 16,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj"
19
+ ],
20
+ "task_type": "CAUSAL_LM"
21
+ }
checkpoint-20/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0981a7318a64a997fbc1acd12c27d77d6f6e270885cc4940d7a0bb28a797e8ae
3
+ size 33600461
checkpoint-20/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<pad>": 32000
3
+ }
checkpoint-20/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d896df6476b6ca8cfaef0d6cff141b5df5e9650b282dbb83bc9e7f43f3f6f5ef
3
+ size 67216581
checkpoint-20/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c152074a486243089e4fc0fdee0a373a30fb0e0a6e40eb5fd0d36fdafc97a155
3
+ size 443
checkpoint-20/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:746e8c3971a77f890e068829f43eac17f8f2d99df03872bdb8baf3ef300d467c
3
+ size 14575
checkpoint-20/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0741fd8278a0292bb16eb7b060a951e535d884fd5d2be425d45d9f8003ee828
3
+ size 627
checkpoint-20/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-20/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-20/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-20/tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "__type": "AddedToken",
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "clean_up_tokenization_spaces": false,
11
+ "eos_token": {
12
+ "__type": "AddedToken",
13
+ "content": "</s>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "legacy": false,
20
+ "model_max_length": 1024,
21
+ "pad_token": null,
22
+ "sp_model_kwargs": {},
23
+ "tokenizer_class": "LlamaTokenizer",
24
+ "unk_token": {
25
+ "__type": "AddedToken",
26
+ "content": "<unk>",
27
+ "lstrip": false,
28
+ "normalized": true,
29
+ "rstrip": false,
30
+ "single_word": false
31
+ },
32
+ "use_default_system_prompt": true
33
+ }
checkpoint-20/trainer_state.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 20.0,
5
+ "eval_steps": 500,
6
+ "global_step": 20,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "learning_rate": 0.0001,
14
+ "loss": 0.3185,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 2.0,
19
+ "learning_rate": 0.0002,
20
+ "loss": 0.3185,
21
+ "step": 2
22
+ },
23
+ {
24
+ "epoch": 3.0,
25
+ "learning_rate": 0.00018888888888888888,
26
+ "loss": 0.3134,
27
+ "step": 3
28
+ },
29
+ {
30
+ "epoch": 4.0,
31
+ "learning_rate": 0.00017777777777777779,
32
+ "loss": 0.3016,
33
+ "step": 4
34
+ },
35
+ {
36
+ "epoch": 5.0,
37
+ "learning_rate": 0.0001666666666666667,
38
+ "loss": 0.2891,
39
+ "step": 5
40
+ },
41
+ {
42
+ "epoch": 6.0,
43
+ "learning_rate": 0.00015555555555555556,
44
+ "loss": 0.2761,
45
+ "step": 6
46
+ },
47
+ {
48
+ "epoch": 7.0,
49
+ "learning_rate": 0.00014444444444444444,
50
+ "loss": 0.2639,
51
+ "step": 7
52
+ },
53
+ {
54
+ "epoch": 8.0,
55
+ "learning_rate": 0.00013333333333333334,
56
+ "loss": 0.2515,
57
+ "step": 8
58
+ },
59
+ {
60
+ "epoch": 9.0,
61
+ "learning_rate": 0.00012222222222222224,
62
+ "loss": 0.2379,
63
+ "step": 9
64
+ },
65
+ {
66
+ "epoch": 10.0,
67
+ "learning_rate": 0.00011111111111111112,
68
+ "loss": 0.2239,
69
+ "step": 10
70
+ },
71
+ {
72
+ "epoch": 11.0,
73
+ "learning_rate": 0.0001,
74
+ "loss": 0.2109,
75
+ "step": 11
76
+ },
77
+ {
78
+ "epoch": 12.0,
79
+ "learning_rate": 8.888888888888889e-05,
80
+ "loss": 0.2024,
81
+ "step": 12
82
+ },
83
+ {
84
+ "epoch": 13.0,
85
+ "learning_rate": 7.777777777777778e-05,
86
+ "loss": 0.1985,
87
+ "step": 13
88
+ },
89
+ {
90
+ "epoch": 14.0,
91
+ "learning_rate": 6.666666666666667e-05,
92
+ "loss": 0.1961,
93
+ "step": 14
94
+ },
95
+ {
96
+ "epoch": 15.0,
97
+ "learning_rate": 5.555555555555556e-05,
98
+ "loss": 0.1925,
99
+ "step": 15
100
+ },
101
+ {
102
+ "epoch": 16.0,
103
+ "learning_rate": 4.4444444444444447e-05,
104
+ "loss": 0.1894,
105
+ "step": 16
106
+ },
107
+ {
108
+ "epoch": 17.0,
109
+ "learning_rate": 3.3333333333333335e-05,
110
+ "loss": 0.187,
111
+ "step": 17
112
+ },
113
+ {
114
+ "epoch": 18.0,
115
+ "learning_rate": 2.2222222222222223e-05,
116
+ "loss": 0.185,
117
+ "step": 18
118
+ },
119
+ {
120
+ "epoch": 19.0,
121
+ "learning_rate": 1.1111111111111112e-05,
122
+ "loss": 0.1835,
123
+ "step": 19
124
+ },
125
+ {
126
+ "epoch": 20.0,
127
+ "learning_rate": 0.0,
128
+ "loss": 0.1824,
129
+ "step": 20
130
+ }
131
+ ],
132
+ "logging_steps": 1,
133
+ "max_steps": 20,
134
+ "num_train_epochs": 20,
135
+ "save_steps": 500,
136
+ "total_flos": 1245167726100480.0,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
checkpoint-20/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbaeeb2743d338a13d82be5548c34294725ae0d253aab9ae332302d491289b4b
3
+ size 4027
runs/Sep04_15-55-43_a3d671698765/events.out.tfevents.1693842943.a3d671698765.2307.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fabe69941a3b5483eb75fcddd878987b6a3152c998dc16c837f743c43ae7839
3
+ size 7941
runs/Sep04_16-06-31_a3d671698765/events.out.tfevents.1693843591.a3d671698765.5925.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87e78eed738badb412d3eb369229d2207af4c1a22f005230047f80faf9632b63
3
+ size 7941
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "__type": "AddedToken",
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "clean_up_tokenization_spaces": false,
11
+ "eos_token": {
12
+ "__type": "AddedToken",
13
+ "content": "</s>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "legacy": false,
20
+ "model_max_length": 1024,
21
+ "pad_token": null,
22
+ "sp_model_kwargs": {},
23
+ "tokenizer_class": "LlamaTokenizer",
24
+ "unk_token": {
25
+ "__type": "AddedToken",
26
+ "content": "<unk>",
27
+ "lstrip": false,
28
+ "normalized": true,
29
+ "rstrip": false,
30
+ "single_word": false
31
+ },
32
+ "use_default_system_prompt": true
33
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbaeeb2743d338a13d82be5548c34294725ae0d253aab9ae332302d491289b4b
3
+ size 4027
training_params.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"model": "abhishek/llama-2-7b-hf-small-shards", "data_path": "data/", "project_name": "LLama2_finetuning_v1", "train_split": "train", "valid_split": null, "text_column": "text", "lr": 0.0002, "epochs": 20, "batch_size": 4, "warmup_ratio": 0.1, "gradient_accumulation": 4, "optimizer": "adamw_torch", "scheduler": "linear", "weight_decay": 0.01, "max_grad_norm": 1.0, "seed": 42, "add_eos_token": false, "block_size": 1024, "use_peft": true, "lora_r": 16, "lora_alpha": 32, "lora_dropout": 0.05, "logging_steps": -1, "evaluation_strategy": "epoch", "save_total_limit": 1, "save_strategy": "epoch", "auto_find_batch_size": false, "fp16": true, "push_to_hub": true, "use_int8": false, "model_max_length": 1024, "repo_id": "Moghazy/LLama2_fine_tuning_V2", "use_int4": true, "trainer": "default", "target_modules": null, "merge_adapter": false, "username": null}