HiTZ
/

Text Generation
PEFT
Safetensors
ragerri commited on
Commit
e03ef62
1 Parent(s): d03c53f

Upload 13 files

Browse files
README.md CHANGED
@@ -1,3 +1,204 @@
1
  ---
2
- license: apache-2.0
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: peft
3
+ base_model: mistralai/Mistral-7B-v0.1
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
+
201
+
202
+ ### Framework versions
203
+
204
+ - PEFT 0.8.2
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 16,
13
+ "lora_dropout": 0.05,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 8,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "gate_proj",
23
+ "o_proj",
24
+ "down_proj",
25
+ "k_proj",
26
+ "up_proj",
27
+ "v_proj",
28
+ "q_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03e2d5baff34d3a6233c5518c00081c661359201d0c62d6e8f211a350d5426c5
3
+ size 83945296
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:422de47b5306d6f6a0c7c5f2eb657ac7c6f8609a2ddd327d4486b371fc546d40
3
+ size 168155346
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c14a4ae7ee0152d8a0f491146236125724084b6800f88df85d93b510b532730
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f6f372a1f7681a08561ae2fcff28e0d72bb529c4c57eba4ba1f8700484bba04
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
test.en.casimedicos.rag.predictions.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": true,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": true,
35
+ "model_max_length": 1000000000000000019884624838656,
36
+ "pad_token": "<unk>",
37
+ "sp_model_kwargs": {},
38
+ "spaces_between_special_tokens": false,
39
+ "tokenizer_class": "LlamaTokenizer",
40
+ "unk_token": "<unk>",
41
+ "use_default_system_prompt": false
42
+ }
trainer_state.json ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 545,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.01,
13
+ "learning_rate": 4.5454545454545455e-06,
14
+ "loss": 0.3364,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.23,
19
+ "learning_rate": 0.00011363636363636362,
20
+ "loss": 0.1163,
21
+ "step": 25
22
+ },
23
+ {
24
+ "epoch": 0.46,
25
+ "learning_rate": 0.0001499042835718179,
26
+ "loss": 0.0592,
27
+ "step": 50
28
+ },
29
+ {
30
+ "epoch": 0.69,
31
+ "learning_rate": 0.00014941639959850612,
32
+ "loss": 0.0931,
33
+ "step": 75
34
+ },
35
+ {
36
+ "epoch": 0.92,
37
+ "learning_rate": 0.00014851784029408765,
38
+ "loss": 0.0872,
39
+ "step": 100
40
+ },
41
+ {
42
+ "epoch": 1.0,
43
+ "eval_dev.en.casimedicos.rag_loss": 0.060965459793806076,
44
+ "eval_dev.en.casimedicos.rag_runtime": 86.964,
45
+ "eval_dev.en.casimedicos.rag_samples_per_second": 0.724,
46
+ "eval_dev.en.casimedicos.rag_steps_per_second": 0.092,
47
+ "step": 109
48
+ },
49
+ {
50
+ "epoch": 1.15,
51
+ "learning_rate": 0.00014721356445987312,
52
+ "loss": 0.0679,
53
+ "step": 125
54
+ },
55
+ {
56
+ "epoch": 1.38,
57
+ "learning_rate": 0.00014551076988980255,
58
+ "loss": 0.0418,
59
+ "step": 150
60
+ },
61
+ {
62
+ "epoch": 1.61,
63
+ "learning_rate": 0.00014341885364860423,
64
+ "loss": 0.0404,
65
+ "step": 175
66
+ },
67
+ {
68
+ "epoch": 1.83,
69
+ "learning_rate": 0.0001409493602130284,
70
+ "loss": 0.062,
71
+ "step": 200
72
+ },
73
+ {
74
+ "epoch": 2.0,
75
+ "eval_dev.en.casimedicos.rag_loss": 0.06188119202852249,
76
+ "eval_dev.en.casimedicos.rag_runtime": 84.614,
77
+ "eval_dev.en.casimedicos.rag_samples_per_second": 0.745,
78
+ "eval_dev.en.casimedicos.rag_steps_per_second": 0.095,
79
+ "step": 218
80
+ },
81
+ {
82
+ "epoch": 2.06,
83
+ "learning_rate": 0.00013811591776234454,
84
+ "loss": 0.0473,
85
+ "step": 225
86
+ },
87
+ {
88
+ "epoch": 2.29,
89
+ "learning_rate": 0.00013493416296969042,
90
+ "loss": 0.0269,
91
+ "step": 250
92
+ },
93
+ {
94
+ "epoch": 2.52,
95
+ "learning_rate": 0.0001314216547093198,
96
+ "loss": 0.0383,
97
+ "step": 275
98
+ },
99
+ {
100
+ "epoch": 2.75,
101
+ "learning_rate": 0.00012759777715596606,
102
+ "loss": 0.036,
103
+ "step": 300
104
+ },
105
+ {
106
+ "epoch": 2.98,
107
+ "learning_rate": 0.0001234836328110779,
108
+ "loss": 0.0292,
109
+ "step": 325
110
+ },
111
+ {
112
+ "epoch": 3.0,
113
+ "eval_dev.en.casimedicos.rag_loss": 0.07440634071826935,
114
+ "eval_dev.en.casimedicos.rag_runtime": 84.4854,
115
+ "eval_dev.en.casimedicos.rag_samples_per_second": 0.746,
116
+ "eval_dev.en.casimedicos.rag_steps_per_second": 0.095,
117
+ "step": 327
118
+ },
119
+ {
120
+ "epoch": 3.21,
121
+ "learning_rate": 0.00011910192604627463,
122
+ "loss": 0.017,
123
+ "step": 350
124
+ },
125
+ {
126
+ "epoch": 3.44,
127
+ "learning_rate": 0.00011447683780669952,
128
+ "loss": 0.0163,
129
+ "step": 375
130
+ },
131
+ {
132
+ "epoch": 3.67,
133
+ "learning_rate": 0.00010963389216573467,
134
+ "loss": 0.0083,
135
+ "step": 400
136
+ },
137
+ {
138
+ "epoch": 3.9,
139
+ "learning_rate": 0.00010459981546751072,
140
+ "loss": 0.0056,
141
+ "step": 425
142
+ },
143
+ {
144
+ "epoch": 4.0,
145
+ "eval_dev.en.casimedicos.rag_loss": 0.09140212833881378,
146
+ "eval_dev.en.casimedicos.rag_runtime": 83.9809,
147
+ "eval_dev.en.casimedicos.rag_samples_per_second": 0.75,
148
+ "eval_dev.en.casimedicos.rag_steps_per_second": 0.095,
149
+ "step": 436
150
+ },
151
+ {
152
+ "epoch": 4.13,
153
+ "learning_rate": 9.940238883454927e-05,
154
+ "loss": 0.0003,
155
+ "step": 450
156
+ },
157
+ {
158
+ "epoch": 4.36,
159
+ "learning_rate": 9.407029485449108e-05,
160
+ "loss": 0.003,
161
+ "step": 475
162
+ },
163
+ {
164
+ "epoch": 4.59,
165
+ "learning_rate": 8.863295929198699e-05,
166
+ "loss": 0.0056,
167
+ "step": 500
168
+ },
169
+ {
170
+ "epoch": 4.82,
171
+ "learning_rate": 8.312038869928251e-05,
172
+ "loss": 0.0027,
173
+ "step": 525
174
+ },
175
+ {
176
+ "epoch": 5.0,
177
+ "eval_dev.en.casimedicos.rag_loss": 0.11252260953187943,
178
+ "eval_dev.en.casimedicos.rag_runtime": 84.0376,
179
+ "eval_dev.en.casimedicos.rag_samples_per_second": 0.75,
180
+ "eval_dev.en.casimedicos.rag_steps_per_second": 0.095,
181
+ "step": 545
182
+ }
183
+ ],
184
+ "logging_steps": 25,
185
+ "max_steps": 1090,
186
+ "num_input_tokens_seen": 0,
187
+ "num_train_epochs": 10,
188
+ "save_steps": 500,
189
+ "total_flos": 7.319956897348977e+17,
190
+ "train_batch_size": 4,
191
+ "trial_name": null,
192
+ "trial_params": null
193
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82d7c855d06d210edf88a2ed3a0eda7073fbb38a924e24ac1075187126f05cc3
3
+ size 4984