Simone4401 commited on
Commit
5fb8925
·
verified ·
1 Parent(s): ef631f5

Upload folder using huggingface_hub

Browse files
nap_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: 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
nap_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": "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
+ "v_proj",
34
+ "up_proj",
35
+ "down_proj",
36
+ "gate_proj",
37
+ "k_proj",
38
+ "o_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
+ }
nap_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:14cf590f028f05bf721840cc5e415c9799c19b6c5c48a027f4267c1023f73d07
3
+ size 335604696
nap_reduced/params_training.lr=1e-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 %}
nap_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:caff0a8c90fc1f09f53c4cda57eeea6e810303f9bc5bac3aa32c4f765998f4ae
3
+ size 671467171
nap_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:a14bff90d7ba1c28739458ee5cce534b21442276faba79abc07473bcb357a7bc
3
+ size 14645
nap_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
nap_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
nap_reduced/params_training.lr=1e-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
+ }
nap_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
 
nap_reduced/params_training.lr=1e-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
+ }
nap_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": 3.4367061383383612,
14
+ "epoch": 1.0,
15
+ "grad_norm": 1.5114450454711914,
16
+ "learning_rate": 9.311572862600139e-05,
17
+ "loss": 0.965,
18
+ "mean_token_accuracy": 0.7641164439065116,
19
+ "num_tokens": 529509.0,
20
+ "step": 44
21
+ },
22
+ {
23
+ "epoch": 1.0,
24
+ "eval_entropy": 3.321674810265595,
25
+ "eval_loss": 1.0252214670181274,
26
+ "eval_mean_token_accuracy": 0.7612693455984008,
27
+ "eval_num_tokens": 529509.0,
28
+ "eval_runtime": 44.4579,
29
+ "eval_samples_per_second": 9.537,
30
+ "eval_steps_per_second": 1.192,
31
+ "step": 44
32
+ },
33
+ {
34
+ "entropy": 3.0285720668520244,
35
+ "epoch": 2.0,
36
+ "grad_norm": 1.3425556421279907,
37
+ "learning_rate": 6.904897326840537e-05,
38
+ "loss": 0.4384,
39
+ "mean_token_accuracy": 0.8801415317399162,
40
+ "num_tokens": 1059018.0,
41
+ "step": 88
42
+ },
43
+ {
44
+ "epoch": 2.0,
45
+ "eval_entropy": 2.9470149121194518,
46
+ "eval_loss": 1.035125970840454,
47
+ "eval_mean_token_accuracy": 0.7652176573591413,
48
+ "eval_num_tokens": 1059018.0,
49
+ "eval_runtime": 44.4969,
50
+ "eval_samples_per_second": 9.529,
51
+ "eval_steps_per_second": 1.191,
52
+ "step": 88
53
+ },
54
+ {
55
+ "entropy": 2.723416494982583,
56
+ "epoch": 3.0,
57
+ "grad_norm": 1.078605055809021,
58
+ "learning_rate": 3.7237218970642626e-05,
59
+ "loss": 0.1383,
60
+ "mean_token_accuracy": 0.9613587857995715,
61
+ "num_tokens": 1588527.0,
62
+ "step": 132
63
+ },
64
+ {
65
+ "epoch": 3.0,
66
+ "eval_entropy": 2.717807463879855,
67
+ "eval_loss": 1.181173324584961,
68
+ "eval_mean_token_accuracy": 0.759674848250623,
69
+ "eval_num_tokens": 1588527.0,
70
+ "eval_runtime": 44.4489,
71
+ "eval_samples_per_second": 9.539,
72
+ "eval_steps_per_second": 1.192,
73
+ "step": 132
74
+ },
75
+ {
76
+ "entropy": 2.5504183329854695,
77
+ "epoch": 4.0,
78
+ "grad_norm": 0.9334091544151306,
79
+ "learning_rate": 1.0614601334114099e-05,
80
+ "loss": 0.0327,
81
+ "mean_token_accuracy": 0.9933612816674369,
82
+ "num_tokens": 2118036.0,
83
+ "step": 176
84
+ },
85
+ {
86
+ "epoch": 4.0,
87
+ "eval_entropy": 2.533258127716352,
88
+ "eval_loss": 1.3842899799346924,
89
+ "eval_mean_token_accuracy": 0.7575522649962947,
90
+ "eval_num_tokens": 2118036.0,
91
+ "eval_runtime": 44.4867,
92
+ "eval_samples_per_second": 9.531,
93
+ "eval_steps_per_second": 1.191,
94
+ "step": 176
95
+ },
96
+ {
97
+ "entropy": 2.5091722662108285,
98
+ "epoch": 5.0,
99
+ "grad_norm": 0.5333238244056702,
100
+ "learning_rate": 5.438419120062932e-09,
101
+ "loss": 0.0107,
102
+ "mean_token_accuracy": 0.998960451228278,
103
+ "num_tokens": 2647545.0,
104
+ "step": 220
105
+ },
106
+ {
107
+ "epoch": 5.0,
108
+ "eval_entropy": 2.5215758377651,
109
+ "eval_loss": 1.4115358591079712,
110
+ "eval_mean_token_accuracy": 0.7579652841361064,
111
+ "eval_num_tokens": 2647545.0,
112
+ "eval_runtime": 44.471,
113
+ "eval_samples_per_second": 9.534,
114
+ "eval_steps_per_second": 1.192,
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.6401889203093504e+17,
136
+ "train_batch_size": 4,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
nap_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:a1f50097c3dbe3d577db9d3a04ec4a256fc3ba27e77743862009934264ab4966
3
+ size 6353