Simone4401 commited on
Commit
64cba13
·
verified ·
1 Parent(s): feddc28

Upload folder using huggingface_hub

Browse files
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sapienzanlp/Minerva-7B-instruct-v1.0
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:sapienzanlp/Minerva-7B-instruct-v1.0
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "sapienzanlp/Minerva-7B-instruct-v1.0",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.1,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "k_proj",
33
+ "up_proj",
34
+ "v_proj",
35
+ "o_proj",
36
+ "down_proj",
37
+ "q_proj",
38
+ "gate_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92e72feed962cf765444ab1a40ab69ea90dc9795d70fb5afa3019922bdf9ed2d
3
+ size 335604696
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/chat_template.jinja ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
2
+
3
+ '+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
4
+
5
+ ' }}{% endif %}
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78cfd3bd30e9e13d5398c2b4d5d7a3c7d9312dc6b65dcaea7688dd807fd95444
3
+ size 671467171
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad1a996a356f1afe5380723c02d1eda46df722e79b5f09f992d3e00c557de9ae
3
+ size 14645
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb2e34d098aadc800b0425e7e182bffad68ed2b8e7619903a86bd70be3e76095
3
+ size 1383
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:697f5e297af5aaaf5b9d049eb0183b98e7f92286baacc02199adfa726133ccdb
3
+ size 1465
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/special_tokens_map.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|start_header_id|>",
4
+ "<|end_header_id|>",
5
+ "<|eot_id|>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "<|eot_id|>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": {
22
+ "content": "<|eot_id|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
+ "unk_token": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ }
35
+ }
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/tokenizer_config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<s>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "<unk>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "51200": {
31
+ "content": "<|start_header_id|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "51201": {
39
+ "content": "<|end_header_id|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "51202": {
47
+ "content": "<|eot_id|>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": true
53
+ }
54
+ },
55
+ "additional_special_tokens": [
56
+ "<|start_header_id|>",
57
+ "<|end_header_id|>",
58
+ "<|eot_id|>"
59
+ ],
60
+ "bos_token": "<s>",
61
+ "clean_up_tokenization_spaces": false,
62
+ "eos_token": "<|eot_id|>",
63
+ "extra_special_tokens": {},
64
+ "legacy": true,
65
+ "model_max_length": 4096,
66
+ "pad_token": "<|eot_id|>",
67
+ "padding_side": "right",
68
+ "split_special_tokens": false,
69
+ "tokenizer_class": "LlamaTokenizerFast",
70
+ "unk_token": "<unk>",
71
+ "use_default_system_prompt": false,
72
+ "vocab_size": 51200
73
+ }
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/trainer_state.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 5.0,
6
+ "eval_steps": 500,
7
+ "global_step": 220,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 2.815614128112793,
14
+ "epoch": 1.0,
15
+ "grad_norm": 1.2624675035476685,
16
+ "learning_rate": 9.311572862600139e-05,
17
+ "loss": 0.7921,
18
+ "mean_token_accuracy": 0.807134450333459,
19
+ "num_tokens": 595077.0,
20
+ "step": 44
21
+ },
22
+ {
23
+ "epoch": 1.0,
24
+ "eval_entropy": 2.715087211356973,
25
+ "eval_loss": 0.6526325345039368,
26
+ "eval_mean_token_accuracy": 0.8353625918334385,
27
+ "eval_num_tokens": 595077.0,
28
+ "eval_runtime": 45.6079,
29
+ "eval_samples_per_second": 9.143,
30
+ "eval_steps_per_second": 1.162,
31
+ "step": 44
32
+ },
33
+ {
34
+ "entropy": 2.4566580728122167,
35
+ "epoch": 2.0,
36
+ "grad_norm": 1.0628842115402222,
37
+ "learning_rate": 6.904897326840537e-05,
38
+ "loss": 0.35,
39
+ "mean_token_accuracy": 0.9002604476043157,
40
+ "num_tokens": 1190154.0,
41
+ "step": 88
42
+ },
43
+ {
44
+ "epoch": 2.0,
45
+ "eval_entropy": 2.467172771129968,
46
+ "eval_loss": 0.6474907994270325,
47
+ "eval_mean_token_accuracy": 0.8383604704209093,
48
+ "eval_num_tokens": 1190154.0,
49
+ "eval_runtime": 45.5442,
50
+ "eval_samples_per_second": 9.156,
51
+ "eval_steps_per_second": 1.164,
52
+ "step": 88
53
+ },
54
+ {
55
+ "entropy": 2.15275667156492,
56
+ "epoch": 3.0,
57
+ "grad_norm": 0.7466573119163513,
58
+ "learning_rate": 3.7237218970642626e-05,
59
+ "loss": 0.1259,
60
+ "mean_token_accuracy": 0.9622008740901947,
61
+ "num_tokens": 1785231.0,
62
+ "step": 132
63
+ },
64
+ {
65
+ "epoch": 3.0,
66
+ "eval_entropy": 2.263265348830313,
67
+ "eval_loss": 0.7406213879585266,
68
+ "eval_mean_token_accuracy": 0.835022693535067,
69
+ "eval_num_tokens": 1785231.0,
70
+ "eval_runtime": 45.6105,
71
+ "eval_samples_per_second": 9.143,
72
+ "eval_steps_per_second": 1.162,
73
+ "step": 132
74
+ },
75
+ {
76
+ "entropy": 2.0113290323529927,
77
+ "epoch": 4.0,
78
+ "grad_norm": 0.6455510258674622,
79
+ "learning_rate": 1.0614601334114099e-05,
80
+ "loss": 0.0324,
81
+ "mean_token_accuracy": 0.9915136304923466,
82
+ "num_tokens": 2380308.0,
83
+ "step": 176
84
+ },
85
+ {
86
+ "epoch": 4.0,
87
+ "eval_entropy": 2.076416791609998,
88
+ "eval_loss": 0.8861132264137268,
89
+ "eval_mean_token_accuracy": 0.8319061409752324,
90
+ "eval_num_tokens": 2380308.0,
91
+ "eval_runtime": 45.545,
92
+ "eval_samples_per_second": 9.156,
93
+ "eval_steps_per_second": 1.164,
94
+ "step": 176
95
+ },
96
+ {
97
+ "entropy": 1.9668852322442192,
98
+ "epoch": 5.0,
99
+ "grad_norm": 0.5071170926094055,
100
+ "learning_rate": 5.438419120062932e-09,
101
+ "loss": 0.0107,
102
+ "mean_token_accuracy": 0.9987735322543553,
103
+ "num_tokens": 2975385.0,
104
+ "step": 220
105
+ },
106
+ {
107
+ "epoch": 5.0,
108
+ "eval_entropy": 2.0346847840075224,
109
+ "eval_loss": 0.948212206363678,
110
+ "eval_mean_token_accuracy": 0.8313139328416789,
111
+ "eval_num_tokens": 2975385.0,
112
+ "eval_runtime": 45.5989,
113
+ "eval_samples_per_second": 9.145,
114
+ "eval_steps_per_second": 1.162,
115
+ "step": 220
116
+ }
117
+ ],
118
+ "logging_steps": 10,
119
+ "max_steps": 220,
120
+ "num_input_tokens_seen": 0,
121
+ "num_train_epochs": 5,
122
+ "save_steps": 500,
123
+ "stateful_callbacks": {
124
+ "TrainerControl": {
125
+ "args": {
126
+ "should_epoch_stop": false,
127
+ "should_evaluate": false,
128
+ "should_log": false,
129
+ "should_save": true,
130
+ "should_training_stop": true
131
+ },
132
+ "attributes": {}
133
+ }
134
+ },
135
+ "total_flos": 1.776534714998784e+17,
136
+ "train_batch_size": 4,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
scn_reduced/params_training.lr=1e-4_training.num_epochs=5_training=large/checkpoint-220/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbfae08fd147b9f8ca28e6ed8547081d32c235863650f86fe5f66699ec5cf3ce
3
+ size 6353