Simone4401 commited on
Commit
08a71a7
·
verified ·
1 Parent(s): fc1202c

Upload folder using huggingface_hub

Browse files
scn_reduced/params_training.lr=3e-4_training.num_epochs=5_training=large/checkpoint-220/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ItalianNarratives/Minerva-7B-base-v1.0-continual_nobooks-tulu
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:ItalianNarratives/Minerva-7B-base-v1.0-continual_nobooks-tulu
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=3e-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": "ItalianNarratives/Minerva-7B-base-v1.0-continual_nobooks-tulu",
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
+ "q_proj",
33
+ "gate_proj",
34
+ "o_proj",
35
+ "v_proj",
36
+ "k_proj",
37
+ "down_proj",
38
+ "up_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=3e-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:6c8653ed2c03d74d963ff22a9be64627946ec2db2b3240311d91c72aa48b8420
3
+ size 335604696
scn_reduced/params_training.lr=3e-4_training.num_epochs=5_training=large/checkpoint-220/chat_template.jinja ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {{ '<s>' }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ '<|start_header_id|>system<|end_header_id|>
2
+
3
+ ' + system_message + '<|eot_id|>' }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|start_header_id|>user<|end_header_id|>
4
+
5
+ ' + content + '<|eot_id|><|start_header_id|>assistant<|end_header_id|>
6
+
7
+ ' }}{% elif message['role'] == 'assistant' %}{{ content + '<|eot_id|>' }}{% endif %}{% endfor %}
scn_reduced/params_training.lr=3e-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:e0fa0ee7d3837c561deb09b83f3015c7d4d6e2c7d36472db39a2ab39e3228f07
3
+ size 671467171
scn_reduced/params_training.lr=3e-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:89f49decadff3aafb3b510b3a4839781e21c75fbf0e4f5f73159cfa74ff0eeb8
3
+ size 14645
scn_reduced/params_training.lr=3e-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=3e-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:a8b1c6e643010b0acfa16bdeaa5f5645a2b9bfb4582112356c9d3a8935f9b03d
3
+ size 1465
scn_reduced/params_training.lr=3e-4_training.num_epochs=5_training=large/checkpoint-220/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|eom_id|>"
4
+ ],
5
+ "bos_token": {
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "eos_token": {
13
+ "content": "<|eot_id|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "pad_token": {
20
+ "content": "<|eot_id|>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
scn_reduced/params_training.lr=3e-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=3e-4_training.num_epochs=5_training=large/checkpoint-220/tokenizer_config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "51203": {
55
+ "content": "<|eom_id|>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": true
61
+ }
62
+ },
63
+ "additional_special_tokens": [
64
+ "<|eom_id|>"
65
+ ],
66
+ "bos_token": "<s>",
67
+ "clean_up_tokenization_spaces": false,
68
+ "eos_token": "<|eot_id|>",
69
+ "extra_special_tokens": {},
70
+ "legacy": true,
71
+ "model_max_length": 4096,
72
+ "pad_token": "<|eot_id|>",
73
+ "padding_side": "right",
74
+ "split_special_tokens": false,
75
+ "tokenizer_class": "LlamaTokenizerFast",
76
+ "unk_token": "<unk>",
77
+ "use_default_system_prompt": false,
78
+ "vocab_size": 51200
79
+ }
scn_reduced/params_training.lr=3e-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": 3.407381488936288,
14
+ "epoch": 1.0,
15
+ "grad_norm": 1.2099459171295166,
16
+ "learning_rate": 0.00027934718587800417,
17
+ "loss": 0.8388,
18
+ "mean_token_accuracy": 0.7878415358918054,
19
+ "num_tokens": 594785.0,
20
+ "step": 44
21
+ },
22
+ {
23
+ "epoch": 1.0,
24
+ "eval_entropy": 3.3400056632059925,
25
+ "eval_loss": 0.7516653537750244,
26
+ "eval_mean_token_accuracy": 0.8154315307455243,
27
+ "eval_num_tokens": 594785.0,
28
+ "eval_runtime": 45.8451,
29
+ "eval_samples_per_second": 9.096,
30
+ "eval_steps_per_second": 1.156,
31
+ "step": 44
32
+ },
33
+ {
34
+ "entropy": 2.9015913833890643,
35
+ "epoch": 2.0,
36
+ "grad_norm": 0.8652648329734802,
37
+ "learning_rate": 0.00020714691980521608,
38
+ "loss": 0.2294,
39
+ "mean_token_accuracy": 0.9334309034688132,
40
+ "num_tokens": 1189570.0,
41
+ "step": 88
42
+ },
43
+ {
44
+ "epoch": 2.0,
45
+ "eval_entropy": 2.90680126873952,
46
+ "eval_loss": 0.8253000378608704,
47
+ "eval_mean_token_accuracy": 0.8123196880772429,
48
+ "eval_num_tokens": 1189570.0,
49
+ "eval_runtime": 45.843,
50
+ "eval_samples_per_second": 9.096,
51
+ "eval_steps_per_second": 1.156,
52
+ "step": 88
53
+ },
54
+ {
55
+ "entropy": 2.5980604665619986,
56
+ "epoch": 3.0,
57
+ "grad_norm": 0.35034364461898804,
58
+ "learning_rate": 0.00011171165691192785,
59
+ "loss": 0.0498,
60
+ "mean_token_accuracy": 0.9878809559345245,
61
+ "num_tokens": 1784355.0,
62
+ "step": 132
63
+ },
64
+ {
65
+ "epoch": 3.0,
66
+ "eval_entropy": 2.737463784667681,
67
+ "eval_loss": 0.9195888042449951,
68
+ "eval_mean_token_accuracy": 0.8162681437888235,
69
+ "eval_num_tokens": 1784355.0,
70
+ "eval_runtime": 45.8629,
71
+ "eval_samples_per_second": 9.092,
72
+ "eval_steps_per_second": 1.156,
73
+ "step": 132
74
+ },
75
+ {
76
+ "entropy": 2.487284276826041,
77
+ "epoch": 4.0,
78
+ "grad_norm": 0.26771682500839233,
79
+ "learning_rate": 3.1843804002342296e-05,
80
+ "loss": 0.0098,
81
+ "mean_token_accuracy": 0.9979629583018167,
82
+ "num_tokens": 2379140.0,
83
+ "step": 176
84
+ },
85
+ {
86
+ "epoch": 4.0,
87
+ "eval_entropy": 2.5999106821024194,
88
+ "eval_loss": 1.0161247253417969,
89
+ "eval_mean_token_accuracy": 0.8151862002768606,
90
+ "eval_num_tokens": 2379140.0,
91
+ "eval_runtime": 45.7975,
92
+ "eval_samples_per_second": 9.105,
93
+ "eval_steps_per_second": 1.157,
94
+ "step": 176
95
+ },
96
+ {
97
+ "entropy": 2.4469180648667472,
98
+ "epoch": 5.0,
99
+ "grad_norm": 0.061323534697294235,
100
+ "learning_rate": 1.6315257360188793e-08,
101
+ "loss": 0.0029,
102
+ "mean_token_accuracy": 0.9997832645688738,
103
+ "num_tokens": 2973925.0,
104
+ "step": 220
105
+ },
106
+ {
107
+ "epoch": 5.0,
108
+ "eval_entropy": 2.5873341470394493,
109
+ "eval_loss": 1.0317035913467407,
110
+ "eval_mean_token_accuracy": 0.8157535847627891,
111
+ "eval_num_tokens": 2973925.0,
112
+ "eval_runtime": 45.9025,
113
+ "eval_samples_per_second": 9.084,
114
+ "eval_steps_per_second": 1.155,
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.775819007369216e+17,
136
+ "train_batch_size": 4,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
scn_reduced/params_training.lr=3e-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:99bb56481bd5b7db2e9d93ae3d3f5193e74d981b3031db7eccb76778f6a0dc53
3
+ size 6353