pkarypis commited on
Commit
835d9a6
1 Parent(s): 7cfa32e

Model save

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: tiiuae/falcon-7b
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ datasets:
9
+ - generator
10
+ model-index:
11
+ - name: falcon-lima
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # falcon-lima
19
+
20
+ This model is a fine-tuned version of [tiiuae/falcon-7b](https://huggingface.co/tiiuae/falcon-7b) on the generator dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 2.4276
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 4
43
+ - eval_batch_size: 4
44
+ - seed: 42
45
+ - distributed_type: multi-GPU
46
+ - num_devices: 16
47
+ - gradient_accumulation_steps: 2
48
+ - total_train_batch_size: 128
49
+ - total_eval_batch_size: 64
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: cosine
52
+ - lr_scheduler_warmup_ratio: 0.1
53
+ - num_epochs: 10.0
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss |
58
+ |:-------------:|:-----:|:----:|:---------------:|
59
+ | 2.0634 | 0.91 | 5 | 1.9126 |
60
+ | 1.9281 | 2.0 | 11 | 1.8793 |
61
+ | 1.7541 | 2.91 | 16 | 2.2713 |
62
+ | 1.5669 | 4.0 | 22 | 2.2287 |
63
+ | 1.3976 | 4.91 | 27 | 2.2656 |
64
+ | 1.2434 | 6.0 | 33 | 2.3438 |
65
+ | 1.1083 | 6.91 | 38 | 2.3551 |
66
+ | 1.0215 | 8.0 | 44 | 2.4332 |
67
+ | 0.9556 | 8.91 | 49 | 2.4332 |
68
+ | 0.9465 | 9.09 | 50 | 2.4276 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.38.2
74
+ - Pytorch 2.1.2
75
+ - Datasets 2.14.6
76
+ - Tokenizers 0.15.2
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.09,
3
+ "train_loss": 1.39877197265625,
4
+ "train_runtime": 578.7401,
5
+ "train_samples": 1030,
6
+ "train_samples_per_second": 11.629,
7
+ "train_steps_per_second": 0.086
8
+ }
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tiiuae/falcon-7b",
3
+ "alibi": false,
4
+ "apply_residual_connection_post_layernorm": false,
5
+ "architectures": [
6
+ "FalconForCausalLM"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auto_map": {
10
+ "AutoConfig": "tiiuae/falcon-7b--configuration_falcon.FalconConfig",
11
+ "AutoModel": "tiiuae/falcon-7b--modeling_falcon.FalconModel",
12
+ "AutoModelForCausalLM": "tiiuae/falcon-7b--modeling_falcon.FalconForCausalLM",
13
+ "AutoModelForQuestionAnswering": "tiiuae/falcon-7b--modeling_falcon.FalconForQuestionAnswering",
14
+ "AutoModelForSequenceClassification": "tiiuae/falcon-7b--modeling_falcon.FalconForSequenceClassification",
15
+ "AutoModelForTokenClassification": "tiiuae/falcon-7b--modeling_falcon.FalconForTokenClassification"
16
+ },
17
+ "bias": false,
18
+ "bos_token_id": 11,
19
+ "eos_token_id": 11,
20
+ "hidden_dropout": 0.0,
21
+ "hidden_size": 4544,
22
+ "initializer_range": 0.02,
23
+ "layer_norm_epsilon": 1e-05,
24
+ "max_position_embeddings": 2048,
25
+ "model_type": "falcon",
26
+ "multi_query": true,
27
+ "new_decoder_architecture": false,
28
+ "num_attention_heads": 71,
29
+ "num_hidden_layers": 32,
30
+ "num_kv_heads": 71,
31
+ "parallel_attn": true,
32
+ "rope_scaling": null,
33
+ "rope_theta": 10000.0,
34
+ "torch_dtype": "bfloat16",
35
+ "transformers_version": "4.38.2",
36
+ "use_cache": false,
37
+ "vocab_size": 65024
38
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 11,
4
+ "eos_token_id": 11,
5
+ "transformers_version": "4.38.2"
6
+ }
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86a9460943698d7869d58e037fffb74930184403b9f317008926f27dd5a864b8
3
+ size 4981285848
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f387bc374c492f9a5d5567d45733531d69a810f47c02b99cf90873d138c57171
3
+ size 4969690568
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92eae49853ef8c4dbc1a1bd0fe7c623c2772f6631a2896517bac3674dc30ca4d
3
+ size 3892488296
model.safetensors.index.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 13843441408
4
+ },
5
+ "weight_map": {
6
+ "transformer.h.0.input_layernorm.bias": "model-00001-of-00003.safetensors",
7
+ "transformer.h.0.input_layernorm.weight": "model-00001-of-00003.safetensors",
8
+ "transformer.h.0.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
9
+ "transformer.h.0.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
10
+ "transformer.h.0.self_attention.dense.weight": "model-00001-of-00003.safetensors",
11
+ "transformer.h.0.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
12
+ "transformer.h.1.input_layernorm.bias": "model-00001-of-00003.safetensors",
13
+ "transformer.h.1.input_layernorm.weight": "model-00001-of-00003.safetensors",
14
+ "transformer.h.1.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
15
+ "transformer.h.1.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
16
+ "transformer.h.1.self_attention.dense.weight": "model-00001-of-00003.safetensors",
17
+ "transformer.h.1.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
18
+ "transformer.h.10.input_layernorm.bias": "model-00002-of-00003.safetensors",
19
+ "transformer.h.10.input_layernorm.weight": "model-00002-of-00003.safetensors",
20
+ "transformer.h.10.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
21
+ "transformer.h.10.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
22
+ "transformer.h.10.self_attention.dense.weight": "model-00001-of-00003.safetensors",
23
+ "transformer.h.10.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
24
+ "transformer.h.11.input_layernorm.bias": "model-00002-of-00003.safetensors",
25
+ "transformer.h.11.input_layernorm.weight": "model-00002-of-00003.safetensors",
26
+ "transformer.h.11.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
27
+ "transformer.h.11.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
28
+ "transformer.h.11.self_attention.dense.weight": "model-00002-of-00003.safetensors",
29
+ "transformer.h.11.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
30
+ "transformer.h.12.input_layernorm.bias": "model-00002-of-00003.safetensors",
31
+ "transformer.h.12.input_layernorm.weight": "model-00002-of-00003.safetensors",
32
+ "transformer.h.12.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
33
+ "transformer.h.12.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
34
+ "transformer.h.12.self_attention.dense.weight": "model-00002-of-00003.safetensors",
35
+ "transformer.h.12.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
36
+ "transformer.h.13.input_layernorm.bias": "model-00002-of-00003.safetensors",
37
+ "transformer.h.13.input_layernorm.weight": "model-00002-of-00003.safetensors",
38
+ "transformer.h.13.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
39
+ "transformer.h.13.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
40
+ "transformer.h.13.self_attention.dense.weight": "model-00002-of-00003.safetensors",
41
+ "transformer.h.13.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
42
+ "transformer.h.14.input_layernorm.bias": "model-00002-of-00003.safetensors",
43
+ "transformer.h.14.input_layernorm.weight": "model-00002-of-00003.safetensors",
44
+ "transformer.h.14.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
45
+ "transformer.h.14.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
46
+ "transformer.h.14.self_attention.dense.weight": "model-00002-of-00003.safetensors",
47
+ "transformer.h.14.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
48
+ "transformer.h.15.input_layernorm.bias": "model-00002-of-00003.safetensors",
49
+ "transformer.h.15.input_layernorm.weight": "model-00002-of-00003.safetensors",
50
+ "transformer.h.15.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
51
+ "transformer.h.15.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
52
+ "transformer.h.15.self_attention.dense.weight": "model-00002-of-00003.safetensors",
53
+ "transformer.h.15.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
54
+ "transformer.h.16.input_layernorm.bias": "model-00002-of-00003.safetensors",
55
+ "transformer.h.16.input_layernorm.weight": "model-00002-of-00003.safetensors",
56
+ "transformer.h.16.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
57
+ "transformer.h.16.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
58
+ "transformer.h.16.self_attention.dense.weight": "model-00002-of-00003.safetensors",
59
+ "transformer.h.16.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
60
+ "transformer.h.17.input_layernorm.bias": "model-00002-of-00003.safetensors",
61
+ "transformer.h.17.input_layernorm.weight": "model-00002-of-00003.safetensors",
62
+ "transformer.h.17.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
63
+ "transformer.h.17.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
64
+ "transformer.h.17.self_attention.dense.weight": "model-00002-of-00003.safetensors",
65
+ "transformer.h.17.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
66
+ "transformer.h.18.input_layernorm.bias": "model-00002-of-00003.safetensors",
67
+ "transformer.h.18.input_layernorm.weight": "model-00002-of-00003.safetensors",
68
+ "transformer.h.18.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
69
+ "transformer.h.18.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
70
+ "transformer.h.18.self_attention.dense.weight": "model-00002-of-00003.safetensors",
71
+ "transformer.h.18.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
72
+ "transformer.h.19.input_layernorm.bias": "model-00002-of-00003.safetensors",
73
+ "transformer.h.19.input_layernorm.weight": "model-00002-of-00003.safetensors",
74
+ "transformer.h.19.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
75
+ "transformer.h.19.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
76
+ "transformer.h.19.self_attention.dense.weight": "model-00002-of-00003.safetensors",
77
+ "transformer.h.19.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
78
+ "transformer.h.2.input_layernorm.bias": "model-00001-of-00003.safetensors",
79
+ "transformer.h.2.input_layernorm.weight": "model-00001-of-00003.safetensors",
80
+ "transformer.h.2.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
81
+ "transformer.h.2.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
82
+ "transformer.h.2.self_attention.dense.weight": "model-00001-of-00003.safetensors",
83
+ "transformer.h.2.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
84
+ "transformer.h.20.input_layernorm.bias": "model-00002-of-00003.safetensors",
85
+ "transformer.h.20.input_layernorm.weight": "model-00002-of-00003.safetensors",
86
+ "transformer.h.20.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
87
+ "transformer.h.20.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
88
+ "transformer.h.20.self_attention.dense.weight": "model-00002-of-00003.safetensors",
89
+ "transformer.h.20.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
90
+ "transformer.h.21.input_layernorm.bias": "model-00002-of-00003.safetensors",
91
+ "transformer.h.21.input_layernorm.weight": "model-00002-of-00003.safetensors",
92
+ "transformer.h.21.mlp.dense_4h_to_h.weight": "model-00002-of-00003.safetensors",
93
+ "transformer.h.21.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
94
+ "transformer.h.21.self_attention.dense.weight": "model-00002-of-00003.safetensors",
95
+ "transformer.h.21.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
96
+ "transformer.h.22.input_layernorm.bias": "model-00003-of-00003.safetensors",
97
+ "transformer.h.22.input_layernorm.weight": "model-00003-of-00003.safetensors",
98
+ "transformer.h.22.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
99
+ "transformer.h.22.mlp.dense_h_to_4h.weight": "model-00002-of-00003.safetensors",
100
+ "transformer.h.22.self_attention.dense.weight": "model-00002-of-00003.safetensors",
101
+ "transformer.h.22.self_attention.query_key_value.weight": "model-00002-of-00003.safetensors",
102
+ "transformer.h.23.input_layernorm.bias": "model-00003-of-00003.safetensors",
103
+ "transformer.h.23.input_layernorm.weight": "model-00003-of-00003.safetensors",
104
+ "transformer.h.23.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
105
+ "transformer.h.23.mlp.dense_h_to_4h.weight": "model-00003-of-00003.safetensors",
106
+ "transformer.h.23.self_attention.dense.weight": "model-00003-of-00003.safetensors",
107
+ "transformer.h.23.self_attention.query_key_value.weight": "model-00003-of-00003.safetensors",
108
+ "transformer.h.24.input_layernorm.bias": "model-00003-of-00003.safetensors",
109
+ "transformer.h.24.input_layernorm.weight": "model-00003-of-00003.safetensors",
110
+ "transformer.h.24.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
111
+ "transformer.h.24.mlp.dense_h_to_4h.weight": "model-00003-of-00003.safetensors",
112
+ "transformer.h.24.self_attention.dense.weight": "model-00003-of-00003.safetensors",
113
+ "transformer.h.24.self_attention.query_key_value.weight": "model-00003-of-00003.safetensors",
114
+ "transformer.h.25.input_layernorm.bias": "model-00003-of-00003.safetensors",
115
+ "transformer.h.25.input_layernorm.weight": "model-00003-of-00003.safetensors",
116
+ "transformer.h.25.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
117
+ "transformer.h.25.mlp.dense_h_to_4h.weight": "model-00003-of-00003.safetensors",
118
+ "transformer.h.25.self_attention.dense.weight": "model-00003-of-00003.safetensors",
119
+ "transformer.h.25.self_attention.query_key_value.weight": "model-00003-of-00003.safetensors",
120
+ "transformer.h.26.input_layernorm.bias": "model-00003-of-00003.safetensors",
121
+ "transformer.h.26.input_layernorm.weight": "model-00003-of-00003.safetensors",
122
+ "transformer.h.26.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
123
+ "transformer.h.26.mlp.dense_h_to_4h.weight": "model-00003-of-00003.safetensors",
124
+ "transformer.h.26.self_attention.dense.weight": "model-00003-of-00003.safetensors",
125
+ "transformer.h.26.self_attention.query_key_value.weight": "model-00003-of-00003.safetensors",
126
+ "transformer.h.27.input_layernorm.bias": "model-00003-of-00003.safetensors",
127
+ "transformer.h.27.input_layernorm.weight": "model-00003-of-00003.safetensors",
128
+ "transformer.h.27.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
129
+ "transformer.h.27.mlp.dense_h_to_4h.weight": "model-00003-of-00003.safetensors",
130
+ "transformer.h.27.self_attention.dense.weight": "model-00003-of-00003.safetensors",
131
+ "transformer.h.27.self_attention.query_key_value.weight": "model-00003-of-00003.safetensors",
132
+ "transformer.h.28.input_layernorm.bias": "model-00003-of-00003.safetensors",
133
+ "transformer.h.28.input_layernorm.weight": "model-00003-of-00003.safetensors",
134
+ "transformer.h.28.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
135
+ "transformer.h.28.mlp.dense_h_to_4h.weight": "model-00003-of-00003.safetensors",
136
+ "transformer.h.28.self_attention.dense.weight": "model-00003-of-00003.safetensors",
137
+ "transformer.h.28.self_attention.query_key_value.weight": "model-00003-of-00003.safetensors",
138
+ "transformer.h.29.input_layernorm.bias": "model-00003-of-00003.safetensors",
139
+ "transformer.h.29.input_layernorm.weight": "model-00003-of-00003.safetensors",
140
+ "transformer.h.29.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
141
+ "transformer.h.29.mlp.dense_h_to_4h.weight": "model-00003-of-00003.safetensors",
142
+ "transformer.h.29.self_attention.dense.weight": "model-00003-of-00003.safetensors",
143
+ "transformer.h.29.self_attention.query_key_value.weight": "model-00003-of-00003.safetensors",
144
+ "transformer.h.3.input_layernorm.bias": "model-00001-of-00003.safetensors",
145
+ "transformer.h.3.input_layernorm.weight": "model-00001-of-00003.safetensors",
146
+ "transformer.h.3.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
147
+ "transformer.h.3.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
148
+ "transformer.h.3.self_attention.dense.weight": "model-00001-of-00003.safetensors",
149
+ "transformer.h.3.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
150
+ "transformer.h.30.input_layernorm.bias": "model-00003-of-00003.safetensors",
151
+ "transformer.h.30.input_layernorm.weight": "model-00003-of-00003.safetensors",
152
+ "transformer.h.30.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
153
+ "transformer.h.30.mlp.dense_h_to_4h.weight": "model-00003-of-00003.safetensors",
154
+ "transformer.h.30.self_attention.dense.weight": "model-00003-of-00003.safetensors",
155
+ "transformer.h.30.self_attention.query_key_value.weight": "model-00003-of-00003.safetensors",
156
+ "transformer.h.31.input_layernorm.bias": "model-00003-of-00003.safetensors",
157
+ "transformer.h.31.input_layernorm.weight": "model-00003-of-00003.safetensors",
158
+ "transformer.h.31.mlp.dense_4h_to_h.weight": "model-00003-of-00003.safetensors",
159
+ "transformer.h.31.mlp.dense_h_to_4h.weight": "model-00003-of-00003.safetensors",
160
+ "transformer.h.31.self_attention.dense.weight": "model-00003-of-00003.safetensors",
161
+ "transformer.h.31.self_attention.query_key_value.weight": "model-00003-of-00003.safetensors",
162
+ "transformer.h.4.input_layernorm.bias": "model-00001-of-00003.safetensors",
163
+ "transformer.h.4.input_layernorm.weight": "model-00001-of-00003.safetensors",
164
+ "transformer.h.4.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
165
+ "transformer.h.4.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
166
+ "transformer.h.4.self_attention.dense.weight": "model-00001-of-00003.safetensors",
167
+ "transformer.h.4.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
168
+ "transformer.h.5.input_layernorm.bias": "model-00001-of-00003.safetensors",
169
+ "transformer.h.5.input_layernorm.weight": "model-00001-of-00003.safetensors",
170
+ "transformer.h.5.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
171
+ "transformer.h.5.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
172
+ "transformer.h.5.self_attention.dense.weight": "model-00001-of-00003.safetensors",
173
+ "transformer.h.5.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
174
+ "transformer.h.6.input_layernorm.bias": "model-00001-of-00003.safetensors",
175
+ "transformer.h.6.input_layernorm.weight": "model-00001-of-00003.safetensors",
176
+ "transformer.h.6.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
177
+ "transformer.h.6.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
178
+ "transformer.h.6.self_attention.dense.weight": "model-00001-of-00003.safetensors",
179
+ "transformer.h.6.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
180
+ "transformer.h.7.input_layernorm.bias": "model-00001-of-00003.safetensors",
181
+ "transformer.h.7.input_layernorm.weight": "model-00001-of-00003.safetensors",
182
+ "transformer.h.7.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
183
+ "transformer.h.7.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
184
+ "transformer.h.7.self_attention.dense.weight": "model-00001-of-00003.safetensors",
185
+ "transformer.h.7.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
186
+ "transformer.h.8.input_layernorm.bias": "model-00001-of-00003.safetensors",
187
+ "transformer.h.8.input_layernorm.weight": "model-00001-of-00003.safetensors",
188
+ "transformer.h.8.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
189
+ "transformer.h.8.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
190
+ "transformer.h.8.self_attention.dense.weight": "model-00001-of-00003.safetensors",
191
+ "transformer.h.8.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
192
+ "transformer.h.9.input_layernorm.bias": "model-00001-of-00003.safetensors",
193
+ "transformer.h.9.input_layernorm.weight": "model-00001-of-00003.safetensors",
194
+ "transformer.h.9.mlp.dense_4h_to_h.weight": "model-00001-of-00003.safetensors",
195
+ "transformer.h.9.mlp.dense_h_to_4h.weight": "model-00001-of-00003.safetensors",
196
+ "transformer.h.9.self_attention.dense.weight": "model-00001-of-00003.safetensors",
197
+ "transformer.h.9.self_attention.query_key_value.weight": "model-00001-of-00003.safetensors",
198
+ "transformer.ln_f.bias": "model-00003-of-00003.safetensors",
199
+ "transformer.ln_f.weight": "model-00003-of-00003.safetensors",
200
+ "transformer.word_embeddings.weight": "model-00001-of-00003.safetensors"
201
+ }
202
+ }
runs/Apr27_01-54-02_aga39/events.out.tfevents.1714200940.aga39.1542291.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae38a5bc47f262b625bfe3023193b6ad2c469cc8cde9d90df3c891d5e47ea5fc
3
+ size 10583
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ ">>TITLE<<",
4
+ ">>ABSTRACT<<",
5
+ ">>INTRODUCTION<<",
6
+ ">>SUMMARY<<",
7
+ ">>COMMENT<<",
8
+ ">>ANSWER<<",
9
+ ">>QUESTION<<",
10
+ ">>DOMAIN<<",
11
+ ">>PREFIX<<",
12
+ ">>SUFFIX<<",
13
+ ">>MIDDLE<<"
14
+ ],
15
+ "eos_token": {
16
+ "content": "<|endoftext|>",
17
+ "lstrip": false,
18
+ "normalized": false,
19
+ "rstrip": false,
20
+ "single_word": false
21
+ },
22
+ "pad_token": "<|endoftext|>"
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": ">>TITLE<<",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": ">>ABSTRACT<<",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": ">>INTRODUCTION<<",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": ">>SUMMARY<<",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": ">>COMMENT<<",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": ">>ANSWER<<",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": ">>QUESTION<<",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": ">>DOMAIN<<",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": ">>PREFIX<<",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": ">>SUFFIX<<",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "10": {
85
+ "content": ">>MIDDLE<<",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "11": {
93
+ "content": "<|endoftext|>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ }
100
+ },
101
+ "additional_special_tokens": [
102
+ ">>TITLE<<",
103
+ ">>ABSTRACT<<",
104
+ ">>INTRODUCTION<<",
105
+ ">>SUMMARY<<",
106
+ ">>COMMENT<<",
107
+ ">>ANSWER<<",
108
+ ">>QUESTION<<",
109
+ ">>DOMAIN<<",
110
+ ">>PREFIX<<",
111
+ ">>SUFFIX<<",
112
+ ">>MIDDLE<<"
113
+ ],
114
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '### Human\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '### System\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '### Assistant\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '### Assistant' }}\n{% endif %}\n{% endfor %}",
115
+ "clean_up_tokenization_spaces": true,
116
+ "eos_token": "<|endoftext|>",
117
+ "model_input_names": [
118
+ "input_ids",
119
+ "attention_mask"
120
+ ],
121
+ "model_max_length": 2048,
122
+ "pad_token": "<|endoftext|>",
123
+ "tokenizer_class": "PreTrainedTokenizerFast"
124
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.09,
3
+ "train_loss": 1.39877197265625,
4
+ "train_runtime": 578.7401,
5
+ "train_samples": 1030,
6
+ "train_samples_per_second": 11.629,
7
+ "train_steps_per_second": 0.086
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 9.090909090909092,
5
+ "eval_steps": 500,
6
+ "global_step": 50,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.18,
13
+ "grad_norm": 1.9203362743829422,
14
+ "learning_rate": 4.000000000000001e-06,
15
+ "loss": 2.0754,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.91,
20
+ "grad_norm": 2.2522979550420272,
21
+ "learning_rate": 2e-05,
22
+ "loss": 2.0634,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 0.91,
27
+ "eval_loss": 1.912642002105713,
28
+ "eval_runtime": 2.1098,
29
+ "eval_samples_per_second": 5.214,
30
+ "eval_steps_per_second": 0.474,
31
+ "step": 5
32
+ },
33
+ {
34
+ "epoch": 1.82,
35
+ "grad_norm": 1.0376267934668848,
36
+ "learning_rate": 1.9396926207859085e-05,
37
+ "loss": 1.9281,
38
+ "step": 10
39
+ },
40
+ {
41
+ "epoch": 2.0,
42
+ "eval_loss": 1.8792613744735718,
43
+ "eval_runtime": 2.0802,
44
+ "eval_samples_per_second": 5.288,
45
+ "eval_steps_per_second": 0.481,
46
+ "step": 11
47
+ },
48
+ {
49
+ "epoch": 2.73,
50
+ "grad_norm": 0.807859290768886,
51
+ "learning_rate": 1.766044443118978e-05,
52
+ "loss": 1.7541,
53
+ "step": 15
54
+ },
55
+ {
56
+ "epoch": 2.91,
57
+ "eval_loss": 2.2713067531585693,
58
+ "eval_runtime": 1.9404,
59
+ "eval_samples_per_second": 5.669,
60
+ "eval_steps_per_second": 0.515,
61
+ "step": 16
62
+ },
63
+ {
64
+ "epoch": 3.64,
65
+ "grad_norm": 0.6587224869045021,
66
+ "learning_rate": 1.5000000000000002e-05,
67
+ "loss": 1.5669,
68
+ "step": 20
69
+ },
70
+ {
71
+ "epoch": 4.0,
72
+ "eval_loss": 2.2286932468414307,
73
+ "eval_runtime": 2.057,
74
+ "eval_samples_per_second": 5.348,
75
+ "eval_steps_per_second": 0.486,
76
+ "step": 22
77
+ },
78
+ {
79
+ "epoch": 4.55,
80
+ "grad_norm": 0.6858567432222655,
81
+ "learning_rate": 1.1736481776669307e-05,
82
+ "loss": 1.3976,
83
+ "step": 25
84
+ },
85
+ {
86
+ "epoch": 4.91,
87
+ "eval_loss": 2.265625,
88
+ "eval_runtime": 1.934,
89
+ "eval_samples_per_second": 5.688,
90
+ "eval_steps_per_second": 0.517,
91
+ "step": 27
92
+ },
93
+ {
94
+ "epoch": 5.45,
95
+ "grad_norm": 0.8265868923051504,
96
+ "learning_rate": 8.263518223330698e-06,
97
+ "loss": 1.2434,
98
+ "step": 30
99
+ },
100
+ {
101
+ "epoch": 6.0,
102
+ "eval_loss": 2.34375,
103
+ "eval_runtime": 2.0742,
104
+ "eval_samples_per_second": 5.303,
105
+ "eval_steps_per_second": 0.482,
106
+ "step": 33
107
+ },
108
+ {
109
+ "epoch": 6.36,
110
+ "grad_norm": 0.7945639183231874,
111
+ "learning_rate": 5.000000000000003e-06,
112
+ "loss": 1.1083,
113
+ "step": 35
114
+ },
115
+ {
116
+ "epoch": 6.91,
117
+ "eval_loss": 2.3551137447357178,
118
+ "eval_runtime": 1.9306,
119
+ "eval_samples_per_second": 5.698,
120
+ "eval_steps_per_second": 0.518,
121
+ "step": 38
122
+ },
123
+ {
124
+ "epoch": 7.27,
125
+ "grad_norm": 0.5788791207539581,
126
+ "learning_rate": 2.339555568810221e-06,
127
+ "loss": 1.0215,
128
+ "step": 40
129
+ },
130
+ {
131
+ "epoch": 8.0,
132
+ "eval_loss": 2.4332387447357178,
133
+ "eval_runtime": 2.0639,
134
+ "eval_samples_per_second": 5.33,
135
+ "eval_steps_per_second": 0.485,
136
+ "step": 44
137
+ },
138
+ {
139
+ "epoch": 8.18,
140
+ "grad_norm": 0.515743831937742,
141
+ "learning_rate": 6.030737921409169e-07,
142
+ "loss": 0.9556,
143
+ "step": 45
144
+ },
145
+ {
146
+ "epoch": 8.91,
147
+ "eval_loss": 2.4332387447357178,
148
+ "eval_runtime": 1.9298,
149
+ "eval_samples_per_second": 5.7,
150
+ "eval_steps_per_second": 0.518,
151
+ "step": 49
152
+ },
153
+ {
154
+ "epoch": 9.09,
155
+ "grad_norm": 0.5703656649999668,
156
+ "learning_rate": 0.0,
157
+ "loss": 0.9465,
158
+ "step": 50
159
+ },
160
+ {
161
+ "epoch": 9.09,
162
+ "eval_loss": 2.4275567531585693,
163
+ "eval_runtime": 2.0663,
164
+ "eval_samples_per_second": 5.324,
165
+ "eval_steps_per_second": 0.484,
166
+ "step": 50
167
+ },
168
+ {
169
+ "epoch": 9.09,
170
+ "step": 50,
171
+ "total_flos": 11674778075136.0,
172
+ "train_loss": 1.39877197265625,
173
+ "train_runtime": 578.7401,
174
+ "train_samples_per_second": 11.629,
175
+ "train_steps_per_second": 0.086
176
+ }
177
+ ],
178
+ "logging_steps": 5,
179
+ "max_steps": 50,
180
+ "num_input_tokens_seen": 0,
181
+ "num_train_epochs": 10,
182
+ "save_steps": 1000000000,
183
+ "total_flos": 11674778075136.0,
184
+ "train_batch_size": 4,
185
+ "trial_name": null,
186
+ "trial_params": null
187
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f59be15529ce960f6eb9ef4346694550467d1c0f2e89d1eb6e49e7e595b8dcbf
3
+ size 6072