nikitaredy commited on
Commit
f09012a
·
verified ·
1 Parent(s): ef326c7

Upload 13 files

Browse files
checkpoint-600/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: BioMistral/BioMistral-7B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:BioMistral/BioMistral-7B
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- 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. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ 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).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.18.1
checkpoint-600/adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "MistralForCausalLM",
7
+ "parent_library": "transformers.models.mistral.modeling_mistral",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "BioMistral/BioMistral-7B",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 32,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.1",
31
+ "qalora_group_size": 16,
32
+ "r": 16,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "down_proj",
37
+ "q_proj",
38
+ "v_proj",
39
+ "o_proj",
40
+ "k_proj",
41
+ "up_proj",
42
+ "gate_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": true
50
+ }
checkpoint-600/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00a240d1edae008667c2382f638fe9a17e45978920e81f5d2e309fd14dcd1084
3
+ size 167832240
checkpoint-600/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token + ' ' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}
checkpoint-600/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d48b94e521c66224d9d70ed5572fd9a1e1a484dfb15afb5a4c9d28ba4a20b67b
3
+ size 85733925
checkpoint-600/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01f9a0f7843a37be87edd23f4e88aa93b38b95cc2c07503eeb1cf2e4632453a2
3
+ size 14645
checkpoint-600/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45cba6e43921db7b659b9b7ba6874e05e3ce8c8b06ae851316b5cf9cf3035f8c
3
+ size 1383
checkpoint-600/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a80470f981b356fc88cc5c966dbad46fcf2e366ae1298d12e1e84164c0b6db7
3
+ size 1465
checkpoint-600/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-600/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-600/tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<s>",
4
+ "clean_up_tokenization_spaces": false,
5
+ "eos_token": "</s>",
6
+ "extra_special_tokens": [],
7
+ "is_local": false,
8
+ "legacy": true,
9
+ "model_max_length": 32768,
10
+ "pad_token": "<unk>",
11
+ "padding_side": "right",
12
+ "sp_model_kwargs": {},
13
+ "spaces_between_special_tokens": false,
14
+ "tokenizer_class": "TokenizersBackend",
15
+ "unk_token": "<unk>",
16
+ "use_default_system_prompt": false,
17
+ "added_tokens_decoder": {
18
+ "0": {
19
+ "content": "<unk>",
20
+ "single_word": false,
21
+ "lstrip": false,
22
+ "rstrip": false,
23
+ "normalized": false,
24
+ "special": true
25
+ },
26
+ "1": {
27
+ "content": "<s>",
28
+ "single_word": false,
29
+ "lstrip": false,
30
+ "rstrip": false,
31
+ "normalized": false,
32
+ "special": true
33
+ },
34
+ "2": {
35
+ "content": "</s>",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": true
41
+ }
42
+ }
43
+ }
checkpoint-600/trainer_state.json ADDED
@@ -0,0 +1,226 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 600,
3
+ "best_metric": 0.17654506862163544,
4
+ "best_model_checkpoint": "/kaggle/working/meditron-kiosk/checkpoint-600",
5
+ "epoch": 2.0619888075764097,
6
+ "eval_steps": 200,
7
+ "global_step": 600,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.08609556607834697,
14
+ "grad_norm": 1.4574631452560425,
15
+ "learning_rate": 9.6e-05,
16
+ "loss": 0.6363643646240235,
17
+ "step": 25
18
+ },
19
+ {
20
+ "epoch": 0.17219113215669393,
21
+ "grad_norm": 0.724533200263977,
22
+ "learning_rate": 0.000196,
23
+ "loss": 0.1473575687408447,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.2582866982350409,
28
+ "grad_norm": 0.6168749332427979,
29
+ "learning_rate": 0.0001995806382799115,
30
+ "loss": 0.14137785911560058,
31
+ "step": 75
32
+ },
33
+ {
34
+ "epoch": 0.34438226431338786,
35
+ "grad_norm": 0.7764413952827454,
36
+ "learning_rate": 0.00019825580237644902,
37
+ "loss": 0.1288234806060791,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 0.4304778303917348,
42
+ "grad_norm": 0.6526000499725342,
43
+ "learning_rate": 0.00019603681998124953,
44
+ "loss": 0.11824702262878418,
45
+ "step": 125
46
+ },
47
+ {
48
+ "epoch": 0.5165733964700818,
49
+ "grad_norm": 0.6103633642196655,
50
+ "learning_rate": 0.0001929438842562017,
51
+ "loss": 0.11856510162353516,
52
+ "step": 150
53
+ },
54
+ {
55
+ "epoch": 0.6026689625484287,
56
+ "grad_norm": 13.002116203308105,
57
+ "learning_rate": 0.00018917850560975062,
58
+ "loss": 0.1469188117980957,
59
+ "step": 175
60
+ },
61
+ {
62
+ "epoch": 0.6887645286267757,
63
+ "grad_norm": 0.7318728566169739,
64
+ "learning_rate": 0.0001844614158422185,
65
+ "loss": 0.12923941612243653,
66
+ "step": 200
67
+ },
68
+ {
69
+ "epoch": 0.6887645286267757,
70
+ "eval_loss": 0.21986083686351776,
71
+ "eval_runtime": 99.4756,
72
+ "eval_samples_per_second": 4.926,
73
+ "eval_steps_per_second": 1.236,
74
+ "step": 200
75
+ },
76
+ {
77
+ "epoch": 0.7748600947051227,
78
+ "grad_norm": 0.5631290078163147,
79
+ "learning_rate": 0.00017967298926882986,
80
+ "loss": 0.49726406097412107,
81
+ "step": 225
82
+ },
83
+ {
84
+ "epoch": 0.8609556607834696,
85
+ "grad_norm": 1.1170740127563477,
86
+ "learning_rate": 0.00017355197707115595,
87
+ "loss": 0.11098149299621582,
88
+ "step": 250
89
+ },
90
+ {
91
+ "epoch": 0.9470512268618166,
92
+ "grad_norm": 0.5418263673782349,
93
+ "learning_rate": 0.00016676162789115785,
94
+ "loss": 0.10790483474731445,
95
+ "step": 275
96
+ },
97
+ {
98
+ "epoch": 1.0309944037882048,
99
+ "grad_norm": 0.6698265075683594,
100
+ "learning_rate": 0.0001593637351980263,
101
+ "loss": 0.10899944305419922,
102
+ "step": 300
103
+ },
104
+ {
105
+ "epoch": 1.117089969866552,
106
+ "grad_norm": 0.4803917109966278,
107
+ "learning_rate": 0.00015142562122248787,
108
+ "loss": 0.09694297790527344,
109
+ "step": 325
110
+ },
111
+ {
112
+ "epoch": 1.2031855359448989,
113
+ "grad_norm": 0.9535209536552429,
114
+ "learning_rate": 0.00014301952431169934,
115
+ "loss": 0.09203315734863281,
116
+ "step": 350
117
+ },
118
+ {
119
+ "epoch": 1.2892811020232458,
120
+ "grad_norm": 0.6490582823753357,
121
+ "learning_rate": 0.00013422194154654745,
122
+ "loss": 0.09386196136474609,
123
+ "step": 375
124
+ },
125
+ {
126
+ "epoch": 1.3753766681015929,
127
+ "grad_norm": 0.5098904371261597,
128
+ "learning_rate": 0.00012511293260366165,
129
+ "loss": 0.09485977172851562,
130
+ "step": 400
131
+ },
132
+ {
133
+ "epoch": 1.3753766681015929,
134
+ "eval_loss": 0.18838781118392944,
135
+ "eval_runtime": 99.1119,
136
+ "eval_samples_per_second": 4.944,
137
+ "eval_steps_per_second": 1.241,
138
+ "step": 400
139
+ },
140
+ {
141
+ "epoch": 1.4614722341799398,
142
+ "grad_norm": 0.4698828458786011,
143
+ "learning_rate": 0.00011577539119712795,
144
+ "loss": 0.09056405067443847,
145
+ "step": 425
146
+ },
147
+ {
148
+ "epoch": 1.5475678002582867,
149
+ "grad_norm": 0.5268759727478027,
150
+ "learning_rate": 0.0001062942907299227,
151
+ "loss": 0.08852320671081543,
152
+ "step": 450
153
+ },
154
+ {
155
+ "epoch": 1.6336633663366338,
156
+ "grad_norm": 0.47743144631385803,
157
+ "learning_rate": 9.675591101978202e-05,
158
+ "loss": 0.08982869148254395,
159
+ "step": 475
160
+ },
161
+ {
162
+ "epoch": 1.7197589324149807,
163
+ "grad_norm": 0.40911293029785156,
164
+ "learning_rate": 8.724705313644843e-05,
165
+ "loss": 0.08655077934265137,
166
+ "step": 500
167
+ },
168
+ {
169
+ "epoch": 1.8058544984933276,
170
+ "grad_norm": 0.4064280092716217,
171
+ "learning_rate": 7.785424949542474e-05,
172
+ "loss": 0.08573834419250488,
173
+ "step": 525
174
+ },
175
+ {
176
+ "epoch": 1.8919500645716747,
177
+ "grad_norm": 0.3844664990901947,
178
+ "learning_rate": 6.866297639653315e-05,
179
+ "loss": 0.08321672439575195,
180
+ "step": 550
181
+ },
182
+ {
183
+ "epoch": 1.9780456306500214,
184
+ "grad_norm": 0.3377774953842163,
185
+ "learning_rate": 5.97568761733275e-05,
186
+ "loss": 0.08084677696228028,
187
+ "step": 575
188
+ },
189
+ {
190
+ "epoch": 2.0619888075764097,
191
+ "grad_norm": 0.2878715395927429,
192
+ "learning_rate": 5.1216996031947626e-05,
193
+ "loss": 0.07635322570800782,
194
+ "step": 600
195
+ },
196
+ {
197
+ "epoch": 2.0619888075764097,
198
+ "eval_loss": 0.17654506862163544,
199
+ "eval_runtime": 99.2697,
200
+ "eval_samples_per_second": 4.936,
201
+ "eval_steps_per_second": 1.239,
202
+ "step": 600
203
+ }
204
+ ],
205
+ "logging_steps": 25,
206
+ "max_steps": 873,
207
+ "num_input_tokens_seen": 0,
208
+ "num_train_epochs": 3,
209
+ "save_steps": 200,
210
+ "stateful_callbacks": {
211
+ "TrainerControl": {
212
+ "args": {
213
+ "should_epoch_stop": false,
214
+ "should_evaluate": false,
215
+ "should_log": false,
216
+ "should_save": true,
217
+ "should_training_stop": false
218
+ },
219
+ "attributes": {}
220
+ }
221
+ },
222
+ "total_flos": 1.6820180267829658e+17,
223
+ "train_batch_size": 4,
224
+ "trial_name": null,
225
+ "trial_params": null
226
+ }
checkpoint-600/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24cd6b2bef3c67c63d276a6235294e3287be143150a234726afe9d323a92d03a
3
+ size 5585