README.md CHANGED
@@ -1,4 +1,202 @@
1
  ---
2
- base_model:
3
- - AmiraMohamed/falcon-7b-my-ver2
4
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: ybelkada/falcon-7b-sharded-bf16
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.13.2
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "ybelkada/falcon-7b-sharded-bf16",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.18543587894379265,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "classifier",
19
+ "score"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 8,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "query_key_value",
27
+ "dense",
28
+ "dense_h_to_4h",
29
+ "dense_4h_to_h"
30
+ ],
31
+ "task_type": "SEQ_CLS",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09151c3bdbc4833267c60eac16e6bb8690829e9a0d21cdb5c99becadc0e6d374
3
+ size 65346080
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bb33fa70c1907f2b6177a94d8a21c35c5b0a96cc36005d31fe887be97f40230
3
+ size 130774138
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a5b58370abfce721ae9daeedc16a142298c9845801e3c1663cd28c370e0f80
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:472eda30d5247862bcb9bf70c6d5abe99ca72b87541d2ff52c9d6f1c0789438e
3
+ size 1064
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,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "clean_up_tokenization_spaces": true,
115
+ "eos_token": "<|endoftext|>",
116
+ "max_length": 512,
117
+ "model_max_length": 2048,
118
+ "pad_token": "<|endoftext|>",
119
+ "stride": 0,
120
+ "tokenizer_class": "PreTrainedTokenizerFast",
121
+ "truncation_side": "right",
122
+ "truncation_strategy": "longest_first"
123
+ }
trainer_state.json ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.2145923674106598,
3
+ "best_model_checkpoint": "./resultTraining5/checkpoint-126",
4
+ "epoch": 10.5,
5
+ "eval_steps": 18,
6
+ "global_step": 126,
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.5,
13
+ "grad_norm": 728.242919921875,
14
+ "learning_rate": 7.333333333333333e-06,
15
+ "loss": 1.8847,
16
+ "step": 18
17
+ },
18
+ {
19
+ "epoch": 1.5,
20
+ "eval_Accuracy": 0.5388888888888889,
21
+ "eval_Cross_Entropy_Loss": 1.7277253663296708,
22
+ "eval_F1": 0.35018050541516244,
23
+ "eval_Precision": 0.26944444444444443,
24
+ "eval_Recall": 0.5,
25
+ "eval_loss": 1.7277655601501465,
26
+ "eval_runtime": 23.884,
27
+ "eval_samples_per_second": 7.536,
28
+ "eval_steps_per_second": 0.377,
29
+ "step": 18
30
+ },
31
+ {
32
+ "epoch": 3.0,
33
+ "grad_norm": 297.9496765136719,
34
+ "learning_rate": 1.9333333333333333e-05,
35
+ "loss": 1.4535,
36
+ "step": 36
37
+ },
38
+ {
39
+ "epoch": 3.0,
40
+ "eval_Accuracy": 0.5666666666666667,
41
+ "eval_Cross_Entropy_Loss": 0.7339681547135115,
42
+ "eval_F1": 0.5125,
43
+ "eval_Precision": 0.567000567000567,
44
+ "eval_Recall": 0.5440317972922618,
45
+ "eval_loss": 0.734002947807312,
46
+ "eval_runtime": 24.1886,
47
+ "eval_samples_per_second": 7.442,
48
+ "eval_steps_per_second": 0.372,
49
+ "step": 36
50
+ },
51
+ {
52
+ "epoch": 4.5,
53
+ "grad_norm": 192.5962371826172,
54
+ "learning_rate": 2.9998194895940213e-05,
55
+ "loss": 0.6789,
56
+ "step": 54
57
+ },
58
+ {
59
+ "epoch": 4.5,
60
+ "eval_Accuracy": 0.7666666666666667,
61
+ "eval_Cross_Entropy_Loss": 0.5086390532967117,
62
+ "eval_F1": 0.7664071190211346,
63
+ "eval_Precision": 0.7671317446598345,
64
+ "eval_Recall": 0.7687243820643399,
65
+ "eval_loss": 0.5086456537246704,
66
+ "eval_runtime": 22.8477,
67
+ "eval_samples_per_second": 7.878,
68
+ "eval_steps_per_second": 0.394,
69
+ "step": 54
70
+ },
71
+ {
72
+ "epoch": 6.0,
73
+ "grad_norm": 69.82402801513672,
74
+ "learning_rate": 2.981984774215214e-05,
75
+ "loss": 0.4986,
76
+ "step": 72
77
+ },
78
+ {
79
+ "epoch": 6.0,
80
+ "eval_Accuracy": 0.7944444444444444,
81
+ "eval_Cross_Entropy_Loss": 0.40525681872645186,
82
+ "eval_F1": 0.7941331025316065,
83
+ "eval_Precision": 0.7944444444444445,
84
+ "eval_Recall": 0.7962364923611973,
85
+ "eval_loss": 0.4052683413028717,
86
+ "eval_runtime": 23.7394,
87
+ "eval_samples_per_second": 7.582,
88
+ "eval_steps_per_second": 0.379,
89
+ "step": 72
90
+ },
91
+ {
92
+ "epoch": 7.5,
93
+ "grad_norm": 14.14302921295166,
94
+ "learning_rate": 2.935304910939002e-05,
95
+ "loss": 0.3813,
96
+ "step": 90
97
+ },
98
+ {
99
+ "epoch": 7.5,
100
+ "eval_Accuracy": 0.8888888888888888,
101
+ "eval_Cross_Entropy_Loss": 0.29074438542399245,
102
+ "eval_F1": 0.8872039102644442,
103
+ "eval_Precision": 0.8933333333333333,
104
+ "eval_Recall": 0.8847348155508632,
105
+ "eval_loss": 0.29075339436531067,
106
+ "eval_runtime": 24.5928,
107
+ "eval_samples_per_second": 7.319,
108
+ "eval_steps_per_second": 0.366,
109
+ "step": 90
110
+ },
111
+ {
112
+ "epoch": 9.0,
113
+ "grad_norm": 160.1807403564453,
114
+ "learning_rate": 2.860688470206501e-05,
115
+ "loss": 0.2684,
116
+ "step": 108
117
+ },
118
+ {
119
+ "epoch": 9.0,
120
+ "eval_Accuracy": 0.8944444444444445,
121
+ "eval_Cross_Entropy_Loss": 0.24539544933520827,
122
+ "eval_F1": 0.8920147769252629,
123
+ "eval_Precision": 0.9058441558441559,
124
+ "eval_Recall": 0.8881505403055521,
125
+ "eval_loss": 0.2453812062740326,
126
+ "eval_runtime": 23.6027,
127
+ "eval_samples_per_second": 7.626,
128
+ "eval_steps_per_second": 0.381,
129
+ "step": 108
130
+ },
131
+ {
132
+ "epoch": 10.5,
133
+ "grad_norm": 59.56110382080078,
134
+ "learning_rate": 2.7595877761616246e-05,
135
+ "loss": 0.1486,
136
+ "step": 126
137
+ },
138
+ {
139
+ "epoch": 10.5,
140
+ "eval_Accuracy": 0.9166666666666666,
141
+ "eval_Cross_Entropy_Loss": 0.21460228119083746,
142
+ "eval_F1": 0.9163542860683416,
143
+ "eval_Precision": 0.9157595249876299,
144
+ "eval_Recall": 0.9174636691094273,
145
+ "eval_loss": 0.2145923674106598,
146
+ "eval_runtime": 23.8953,
147
+ "eval_samples_per_second": 7.533,
148
+ "eval_steps_per_second": 0.377,
149
+ "step": 126
150
+ }
151
+ ],
152
+ "logging_steps": 18,
153
+ "max_steps": 450,
154
+ "num_input_tokens_seen": 0,
155
+ "num_train_epochs": 38,
156
+ "save_steps": 18,
157
+ "stateful_callbacks": {
158
+ "CustomEarlyStoppingCallback": {
159
+ "args": {
160
+ "early_stopping_patience": 3,
161
+ "early_stopping_threshold": 0.01
162
+ },
163
+ "attributes": {
164
+ "early_stopping_patience_counter": 0
165
+ }
166
+ },
167
+ "TrainerControl": {
168
+ "args": {
169
+ "should_epoch_stop": false,
170
+ "should_evaluate": false,
171
+ "should_log": false,
172
+ "should_save": true,
173
+ "should_training_stop": false
174
+ },
175
+ "attributes": {}
176
+ }
177
+ },
178
+ "total_flos": 6.827331953465856e+16,
179
+ "train_batch_size": 20,
180
+ "trial_name": null,
181
+ "trial_params": null
182
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:683749ae0b872c1c4c951c2718aaefb40b9b5f4a19e32f3bff9f874bc92c2cc9
3
+ size 5496