desarrolloasesoreslocales
commited on
Commit
·
a73d751
1
Parent(s):
25d105b
desarrolloasesoreslocales/legal-mistral-v2
Browse files- README.md +21 -5
- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
- runs/Nov27_10-57-12_1525e7447fdd/events.out.tfevents.1701082638.1525e7447fdd.42121.0 +3 -0
- runs/Nov27_10-57-12_1525e7447fdd/events.out.tfevents.1701084875.1525e7447fdd.42121.1 +3 -0
- runs/Nov27_11-36-57_1525e7447fdd/events.out.tfevents.1701085039.1525e7447fdd.42121.2 +3 -0
- runs/Nov27_11-36-57_1525e7447fdd/events.out.tfevents.1701089676.1525e7447fdd.42121.3 +3 -0
- trainer_state.json +274 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -4,18 +4,18 @@ base_model: mistralai/Mistral-7B-Instruct-v0.1
|
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
model-index:
|
7 |
-
- name: legal-mistral
|
8 |
results: []
|
9 |
---
|
10 |
|
11 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
should probably proofread and complete it, then remove this comment. -->
|
13 |
|
14 |
-
# legal-mistral
|
15 |
|
16 |
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1) on the None dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Loss: 2.
|
19 |
|
20 |
## Model description
|
21 |
|
@@ -40,13 +40,29 @@ The following hyperparameters were used during training:
|
|
40 |
- seed: 42
|
41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
- lr_scheduler_type: linear
|
43 |
-
- num_epochs:
|
44 |
|
45 |
### Training results
|
46 |
|
47 |
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
|:-------------:|:-----:|:----:|:---------------:|
|
49 |
-
| 2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
|
52 |
### Framework versions
|
|
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
model-index:
|
7 |
+
- name: legal-mistral
|
8 |
results: []
|
9 |
---
|
10 |
|
11 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
should probably proofread and complete it, then remove this comment. -->
|
13 |
|
14 |
+
# legal-mistral
|
15 |
|
16 |
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1) on the None dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 2.3540
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
40 |
- seed: 42
|
41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 3
|
44 |
|
45 |
### Training results
|
46 |
|
47 |
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
|:-------------:|:-----:|:----:|:---------------:|
|
49 |
+
| 2.4243 | 0.17 | 10 | 2.5809 |
|
50 |
+
| 2.32 | 0.34 | 20 | 2.5187 |
|
51 |
+
| 2.2652 | 0.52 | 30 | 2.4796 |
|
52 |
+
| 2.2424 | 0.69 | 40 | 2.4498 |
|
53 |
+
| 2.1759 | 0.86 | 50 | 2.4304 |
|
54 |
+
| 2.1698 | 1.03 | 60 | 2.4161 |
|
55 |
+
| 2.1337 | 1.21 | 70 | 2.4035 |
|
56 |
+
| 2.1193 | 1.38 | 80 | 2.3962 |
|
57 |
+
| 2.0928 | 1.55 | 90 | 2.3852 |
|
58 |
+
| 2.1072 | 1.72 | 100 | 2.3763 |
|
59 |
+
| 2.0701 | 1.9 | 110 | 2.3709 |
|
60 |
+
| 2.0584 | 2.07 | 120 | 2.3670 |
|
61 |
+
| 2.0569 | 2.24 | 130 | 2.3638 |
|
62 |
+
| 2.0396 | 2.41 | 140 | 2.3619 |
|
63 |
+
| 2.0406 | 2.59 | 150 | 2.3584 |
|
64 |
+
| 2.0259 | 2.76 | 160 | 2.3552 |
|
65 |
+
| 2.0492 | 2.93 | 170 | 2.3540 |
|
66 |
|
67 |
|
68 |
### Framework versions
|
adapter_config.json
CHANGED
@@ -16,10 +16,10 @@
|
|
16 |
"rank_pattern": {},
|
17 |
"revision": null,
|
18 |
"target_modules": [
|
19 |
-
"k_proj",
|
20 |
"v_proj",
|
21 |
"q_proj",
|
22 |
-
"o_proj"
|
|
|
23 |
],
|
24 |
"task_type": "CAUSAL_LM"
|
25 |
}
|
|
|
16 |
"rank_pattern": {},
|
17 |
"revision": null,
|
18 |
"target_modules": [
|
|
|
19 |
"v_proj",
|
20 |
"q_proj",
|
21 |
+
"o_proj",
|
22 |
+
"k_proj"
|
23 |
],
|
24 |
"task_type": "CAUSAL_LM"
|
25 |
}
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 27297032
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79aac1fb92330370ca501799bc5ff5b833c46ab0f8c2b4165b1e74838a6e15c8
|
3 |
size 27297032
|
runs/Nov27_10-57-12_1525e7447fdd/events.out.tfevents.1701082638.1525e7447fdd.42121.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a6a0cf23bc541ad5b991e7ab621dcf911e2561c57dacfc1be12b910e2bf62334
|
3 |
+
size 10032
|
runs/Nov27_10-57-12_1525e7447fdd/events.out.tfevents.1701084875.1525e7447fdd.42121.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:04a4c301c129b65bffac58990cbc8b484fb8049325750a98af88983b2c6a003b
|
3 |
+
size 354
|
runs/Nov27_11-36-57_1525e7447fdd/events.out.tfevents.1701085039.1525e7447fdd.42121.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6306c4c7d639e9241f6a08b297e31ca15c9a54ba4668c3de20553e75cf70e4c6
|
3 |
+
size 12179
|
runs/Nov27_11-36-57_1525e7447fdd/events.out.tfevents.1701089676.1525e7447fdd.42121.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:593c19c5868d5d3625b143d50c3707883970743dad00846480aabb78de858d2a
|
3 |
+
size 630
|
trainer_state.json
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 2.3539514541625977,
|
3 |
+
"best_model_checkpoint": "desarrolloasesoreslocales/legal-mistral/checkpoint-170",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 10,
|
6 |
+
"global_step": 174,
|
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.17,
|
13 |
+
"learning_rate": 1.885057471264368e-05,
|
14 |
+
"loss": 2.4243,
|
15 |
+
"step": 10
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.17,
|
19 |
+
"eval_loss": 2.5809202194213867,
|
20 |
+
"eval_runtime": 79.9298,
|
21 |
+
"eval_samples_per_second": 11.623,
|
22 |
+
"eval_steps_per_second": 1.464,
|
23 |
+
"step": 10
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.34,
|
27 |
+
"learning_rate": 1.770114942528736e-05,
|
28 |
+
"loss": 2.32,
|
29 |
+
"step": 20
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 0.34,
|
33 |
+
"eval_loss": 2.5187058448791504,
|
34 |
+
"eval_runtime": 79.9944,
|
35 |
+
"eval_samples_per_second": 11.613,
|
36 |
+
"eval_steps_per_second": 1.463,
|
37 |
+
"step": 20
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.52,
|
41 |
+
"learning_rate": 1.6551724137931037e-05,
|
42 |
+
"loss": 2.2652,
|
43 |
+
"step": 30
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"epoch": 0.52,
|
47 |
+
"eval_loss": 2.479558229446411,
|
48 |
+
"eval_runtime": 79.9192,
|
49 |
+
"eval_samples_per_second": 11.624,
|
50 |
+
"eval_steps_per_second": 1.464,
|
51 |
+
"step": 30
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.69,
|
55 |
+
"learning_rate": 1.540229885057471e-05,
|
56 |
+
"loss": 2.2424,
|
57 |
+
"step": 40
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.69,
|
61 |
+
"eval_loss": 2.449814796447754,
|
62 |
+
"eval_runtime": 80.3275,
|
63 |
+
"eval_samples_per_second": 11.565,
|
64 |
+
"eval_steps_per_second": 1.457,
|
65 |
+
"step": 40
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.86,
|
69 |
+
"learning_rate": 1.4252873563218392e-05,
|
70 |
+
"loss": 2.1759,
|
71 |
+
"step": 50
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 0.86,
|
75 |
+
"eval_loss": 2.430422782897949,
|
76 |
+
"eval_runtime": 80.3296,
|
77 |
+
"eval_samples_per_second": 11.565,
|
78 |
+
"eval_steps_per_second": 1.456,
|
79 |
+
"step": 50
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 1.03,
|
83 |
+
"learning_rate": 1.310344827586207e-05,
|
84 |
+
"loss": 2.1698,
|
85 |
+
"step": 60
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 1.03,
|
89 |
+
"eval_loss": 2.4160897731781006,
|
90 |
+
"eval_runtime": 79.8167,
|
91 |
+
"eval_samples_per_second": 11.639,
|
92 |
+
"eval_steps_per_second": 1.466,
|
93 |
+
"step": 60
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 1.21,
|
97 |
+
"learning_rate": 1.1954022988505748e-05,
|
98 |
+
"loss": 2.1337,
|
99 |
+
"step": 70
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 1.21,
|
103 |
+
"eval_loss": 2.40354585647583,
|
104 |
+
"eval_runtime": 79.8387,
|
105 |
+
"eval_samples_per_second": 11.636,
|
106 |
+
"eval_steps_per_second": 1.465,
|
107 |
+
"step": 70
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 1.38,
|
111 |
+
"learning_rate": 1.0804597701149427e-05,
|
112 |
+
"loss": 2.1193,
|
113 |
+
"step": 80
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"epoch": 1.38,
|
117 |
+
"eval_loss": 2.3962202072143555,
|
118 |
+
"eval_runtime": 79.8113,
|
119 |
+
"eval_samples_per_second": 11.64,
|
120 |
+
"eval_steps_per_second": 1.466,
|
121 |
+
"step": 80
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.55,
|
125 |
+
"learning_rate": 9.655172413793105e-06,
|
126 |
+
"loss": 2.0928,
|
127 |
+
"step": 90
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"epoch": 1.55,
|
131 |
+
"eval_loss": 2.3851864337921143,
|
132 |
+
"eval_runtime": 79.8078,
|
133 |
+
"eval_samples_per_second": 11.64,
|
134 |
+
"eval_steps_per_second": 1.466,
|
135 |
+
"step": 90
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 1.72,
|
139 |
+
"learning_rate": 8.505747126436782e-06,
|
140 |
+
"loss": 2.1072,
|
141 |
+
"step": 100
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 1.72,
|
145 |
+
"eval_loss": 2.376269817352295,
|
146 |
+
"eval_runtime": 79.9299,
|
147 |
+
"eval_samples_per_second": 11.623,
|
148 |
+
"eval_steps_per_second": 1.464,
|
149 |
+
"step": 100
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.9,
|
153 |
+
"learning_rate": 7.35632183908046e-06,
|
154 |
+
"loss": 2.0701,
|
155 |
+
"step": 110
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 1.9,
|
159 |
+
"eval_loss": 2.3708786964416504,
|
160 |
+
"eval_runtime": 79.9941,
|
161 |
+
"eval_samples_per_second": 11.613,
|
162 |
+
"eval_steps_per_second": 1.463,
|
163 |
+
"step": 110
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 2.07,
|
167 |
+
"learning_rate": 6.206896551724138e-06,
|
168 |
+
"loss": 2.0584,
|
169 |
+
"step": 120
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 2.07,
|
173 |
+
"eval_loss": 2.3670151233673096,
|
174 |
+
"eval_runtime": 80.0335,
|
175 |
+
"eval_samples_per_second": 11.608,
|
176 |
+
"eval_steps_per_second": 1.462,
|
177 |
+
"step": 120
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 2.24,
|
181 |
+
"learning_rate": 5.057471264367817e-06,
|
182 |
+
"loss": 2.0569,
|
183 |
+
"step": 130
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 2.24,
|
187 |
+
"eval_loss": 2.3638148307800293,
|
188 |
+
"eval_runtime": 80.0359,
|
189 |
+
"eval_samples_per_second": 11.607,
|
190 |
+
"eval_steps_per_second": 1.462,
|
191 |
+
"step": 130
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 2.41,
|
195 |
+
"learning_rate": 3.908045977011495e-06,
|
196 |
+
"loss": 2.0396,
|
197 |
+
"step": 140
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"epoch": 2.41,
|
201 |
+
"eval_loss": 2.3619213104248047,
|
202 |
+
"eval_runtime": 80.0238,
|
203 |
+
"eval_samples_per_second": 11.609,
|
204 |
+
"eval_steps_per_second": 1.462,
|
205 |
+
"step": 140
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 2.59,
|
209 |
+
"learning_rate": 2.7586206896551725e-06,
|
210 |
+
"loss": 2.0406,
|
211 |
+
"step": 150
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"epoch": 2.59,
|
215 |
+
"eval_loss": 2.3583548069000244,
|
216 |
+
"eval_runtime": 80.0658,
|
217 |
+
"eval_samples_per_second": 11.603,
|
218 |
+
"eval_steps_per_second": 1.461,
|
219 |
+
"step": 150
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 2.76,
|
223 |
+
"learning_rate": 1.6091954022988506e-06,
|
224 |
+
"loss": 2.0259,
|
225 |
+
"step": 160
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"epoch": 2.76,
|
229 |
+
"eval_loss": 2.3552348613739014,
|
230 |
+
"eval_runtime": 80.0434,
|
231 |
+
"eval_samples_per_second": 11.606,
|
232 |
+
"eval_steps_per_second": 1.462,
|
233 |
+
"step": 160
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 2.93,
|
237 |
+
"learning_rate": 4.5977011494252875e-07,
|
238 |
+
"loss": 2.0492,
|
239 |
+
"step": 170
|
240 |
+
},
|
241 |
+
{
|
242 |
+
"epoch": 2.93,
|
243 |
+
"eval_loss": 2.3539514541625977,
|
244 |
+
"eval_runtime": 80.0092,
|
245 |
+
"eval_samples_per_second": 11.611,
|
246 |
+
"eval_steps_per_second": 1.462,
|
247 |
+
"step": 170
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 3.0,
|
251 |
+
"step": 174,
|
252 |
+
"total_flos": 7.500749066993664e+16,
|
253 |
+
"train_loss": 2.138888589267073,
|
254 |
+
"train_runtime": 4525.1585,
|
255 |
+
"train_samples_per_second": 3.032,
|
256 |
+
"train_steps_per_second": 0.038
|
257 |
+
},
|
258 |
+
{
|
259 |
+
"epoch": 3.0,
|
260 |
+
"eval_loss": 2.3539514541625977,
|
261 |
+
"eval_runtime": 80.117,
|
262 |
+
"eval_samples_per_second": 11.596,
|
263 |
+
"eval_steps_per_second": 1.46,
|
264 |
+
"step": 174
|
265 |
+
}
|
266 |
+
],
|
267 |
+
"logging_steps": 10,
|
268 |
+
"max_steps": 174,
|
269 |
+
"num_train_epochs": 3,
|
270 |
+
"save_steps": 10,
|
271 |
+
"total_flos": 7.500749066993664e+16,
|
272 |
+
"trial_name": null,
|
273 |
+
"trial_params": null
|
274 |
+
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4600
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84acc7450e4d937cd2b7e05c91d789543976e763d2b1cbde1597d35322b38146
|
3 |
size 4600
|