Initial model upload
Browse files- config.json +58 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +213 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "state-spaces/mamba-790m-hf",
|
3 |
+
"architectures": [
|
4 |
+
"MambaForTokenClassification"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"conv_kernel": 4,
|
8 |
+
"d_model": 2048,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"expand": 2,
|
11 |
+
"fused_add_norm": true,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"hidden_size": 1536,
|
14 |
+
"id2label": {
|
15 |
+
"0": "B-LOC",
|
16 |
+
"1": "B-ORG",
|
17 |
+
"2": "B-PER",
|
18 |
+
"3": "I-LOC",
|
19 |
+
"4": "I-ORG",
|
20 |
+
"5": "I-PER",
|
21 |
+
"6": "O"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.1,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"B-LOC": 0,
|
27 |
+
"B-ORG": 1,
|
28 |
+
"B-PER": 2,
|
29 |
+
"I-LOC": 3,
|
30 |
+
"I-ORG": 4,
|
31 |
+
"I-PER": 5,
|
32 |
+
"O": 6
|
33 |
+
},
|
34 |
+
"layer_norm_epsilon": 1e-05,
|
35 |
+
"model_type": "mamba",
|
36 |
+
"n_layer": 48,
|
37 |
+
"num_hidden_layers": 48,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"pad_vocab_size_multiple": 8,
|
40 |
+
"rescale_prenorm_residual": false,
|
41 |
+
"residual_in_fp32": true,
|
42 |
+
"rms_norm": true,
|
43 |
+
"ssm_cfg": {},
|
44 |
+
"state_size": 16,
|
45 |
+
"time_step_floor": 0.0001,
|
46 |
+
"time_step_init_scheme": "random",
|
47 |
+
"time_step_max": 0.1,
|
48 |
+
"time_step_min": 0.001,
|
49 |
+
"time_step_rank": 96,
|
50 |
+
"time_step_scale": 1.0,
|
51 |
+
"torch_dtype": "float32",
|
52 |
+
"transformers_version": "4.46.0",
|
53 |
+
"use_bias": false,
|
54 |
+
"use_cache": true,
|
55 |
+
"use_conv_bias": true,
|
56 |
+
"use_mambapy": false,
|
57 |
+
"vocab_size": 50280
|
58 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11b9f7e4b391e554121a51dbcf2d43a7ed0b26697b9ffcbf1f28c13559574b46
|
3 |
+
size 3172911676
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa3ccb4bfb280203037002c7655683ca3fd2e1d5827616be03eb404c9b506c5d
|
3 |
+
size 6346131398
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e54933b0aa06f60e61a06b56be70340a551730f0d5eedbba895ff36d2379784
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9197244c5ee8fd84c23cb5387dd7cd4b0d34bb7720142963e9ea404ddb17646d
|
3 |
+
size 1064
|
trainer_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ero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.08,
|
13 |
+
"grad_norm": 13.113007545471191,
|
14 |
+
"learning_rate": 4.600000000000001e-05,
|
15 |
+
"loss": 4.1143,
|
16 |
+
"step": 100
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.08,
|
20 |
+
"eval_loss": 0.43995586037635803,
|
21 |
+
"eval_runtime": 32.4764,
|
22 |
+
"eval_samples_per_second": 1.971,
|
23 |
+
"eval_steps_per_second": 0.062,
|
24 |
+
"step": 100
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.16,
|
28 |
+
"grad_norm": 20.936077117919922,
|
29 |
+
"learning_rate": 4.2e-05,
|
30 |
+
"loss": 2.1269,
|
31 |
+
"step": 200
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 0.16,
|
35 |
+
"eval_loss": 0.379876971244812,
|
36 |
+
"eval_runtime": 32.4094,
|
37 |
+
"eval_samples_per_second": 1.975,
|
38 |
+
"eval_steps_per_second": 0.062,
|
39 |
+
"step": 200
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.24,
|
43 |
+
"grad_norm": 16.75326156616211,
|
44 |
+
"learning_rate": 3.8e-05,
|
45 |
+
"loss": 1.8978,
|
46 |
+
"step": 300
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 0.24,
|
50 |
+
"eval_loss": 0.2993869483470917,
|
51 |
+
"eval_runtime": 32.9835,
|
52 |
+
"eval_samples_per_second": 1.94,
|
53 |
+
"eval_steps_per_second": 0.061,
|
54 |
+
"step": 300
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.32,
|
58 |
+
"grad_norm": 21.65208625793457,
|
59 |
+
"learning_rate": 3.4000000000000007e-05,
|
60 |
+
"loss": 1.8537,
|
61 |
+
"step": 400
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"epoch": 0.32,
|
65 |
+
"eval_loss": 0.30614784359931946,
|
66 |
+
"eval_runtime": 32.9509,
|
67 |
+
"eval_samples_per_second": 1.942,
|
68 |
+
"eval_steps_per_second": 0.061,
|
69 |
+
"step": 400
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.4,
|
73 |
+
"grad_norm": 13.365196228027344,
|
74 |
+
"learning_rate": 3e-05,
|
75 |
+
"loss": 1.6485,
|
76 |
+
"step": 500
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 0.4,
|
80 |
+
"eval_loss": 0.3090161383152008,
|
81 |
+
"eval_runtime": 32.2891,
|
82 |
+
"eval_samples_per_second": 1.982,
|
83 |
+
"eval_steps_per_second": 0.062,
|
84 |
+
"step": 500
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.48,
|
88 |
+
"grad_norm": 12.13517951965332,
|
89 |
+
"learning_rate": 2.6000000000000002e-05,
|
90 |
+
"loss": 1.7569,
|
91 |
+
"step": 600
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 0.48,
|
95 |
+
"eval_loss": 0.265519380569458,
|
96 |
+
"eval_runtime": 33.1283,
|
97 |
+
"eval_samples_per_second": 1.932,
|
98 |
+
"eval_steps_per_second": 0.06,
|
99 |
+
"step": 600
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.56,
|
103 |
+
"grad_norm": 11.330101013183594,
|
104 |
+
"learning_rate": 2.2000000000000003e-05,
|
105 |
+
"loss": 1.6369,
|
106 |
+
"step": 700
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 0.56,
|
110 |
+
"eval_loss": 0.27068448066711426,
|
111 |
+
"eval_runtime": 32.3816,
|
112 |
+
"eval_samples_per_second": 1.976,
|
113 |
+
"eval_steps_per_second": 0.062,
|
114 |
+
"step": 700
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.64,
|
118 |
+
"grad_norm": 10.912799835205078,
|
119 |
+
"learning_rate": 1.8e-05,
|
120 |
+
"loss": 1.6069,
|
121 |
+
"step": 800
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.64,
|
125 |
+
"eval_loss": 0.26618537306785583,
|
126 |
+
"eval_runtime": 32.4233,
|
127 |
+
"eval_samples_per_second": 1.974,
|
128 |
+
"eval_steps_per_second": 0.062,
|
129 |
+
"step": 800
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.72,
|
133 |
+
"grad_norm": 10.115180015563965,
|
134 |
+
"learning_rate": 1.4000000000000001e-05,
|
135 |
+
"loss": 1.5865,
|
136 |
+
"step": 900
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 0.72,
|
140 |
+
"eval_loss": 0.2548241913318634,
|
141 |
+
"eval_runtime": 32.7391,
|
142 |
+
"eval_samples_per_second": 1.955,
|
143 |
+
"eval_steps_per_second": 0.061,
|
144 |
+
"step": 900
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 0.8,
|
148 |
+
"grad_norm": 5.854705810546875,
|
149 |
+
"learning_rate": 1e-05,
|
150 |
+
"loss": 1.6823,
|
151 |
+
"step": 1000
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"epoch": 0.8,
|
155 |
+
"eval_loss": 0.253208190202713,
|
156 |
+
"eval_runtime": 33.3194,
|
157 |
+
"eval_samples_per_second": 1.921,
|
158 |
+
"eval_steps_per_second": 0.06,
|
159 |
+
"step": 1000
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 0.88,
|
163 |
+
"grad_norm": 15.417906761169434,
|
164 |
+
"learning_rate": 6e-06,
|
165 |
+
"loss": 1.4823,
|
166 |
+
"step": 1100
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"epoch": 0.88,
|
170 |
+
"eval_loss": 0.2543775737285614,
|
171 |
+
"eval_runtime": 32.6584,
|
172 |
+
"eval_samples_per_second": 1.96,
|
173 |
+
"eval_steps_per_second": 0.061,
|
174 |
+
"step": 1100
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 0.96,
|
178 |
+
"grad_norm": 10.001874923706055,
|
179 |
+
"learning_rate": 2.0000000000000003e-06,
|
180 |
+
"loss": 1.6394,
|
181 |
+
"step": 1200
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 0.96,
|
185 |
+
"eval_loss": 0.25032997131347656,
|
186 |
+
"eval_runtime": 36.1677,
|
187 |
+
"eval_samples_per_second": 1.77,
|
188 |
+
"eval_steps_per_second": 0.055,
|
189 |
+
"step": 1200
|
190 |
+
}
|
191 |
+
],
|
192 |
+
"logging_steps": 100,
|
193 |
+
"max_steps": 1250,
|
194 |
+
"num_input_tokens_seen": 0,
|
195 |
+
"num_train_epochs": 1,
|
196 |
+
"save_steps": 100,
|
197 |
+
"stateful_callbacks": {
|
198 |
+
"TrainerControl": {
|
199 |
+
"args": {
|
200 |
+
"should_epoch_stop": false,
|
201 |
+
"should_evaluate": false,
|
202 |
+
"should_log": false,
|
203 |
+
"should_save": true,
|
204 |
+
"should_training_stop": true
|
205 |
+
},
|
206 |
+
"attributes": {}
|
207 |
+
}
|
208 |
+
},
|
209 |
+
"total_flos": 1804900566516192.0,
|
210 |
+
"train_batch_size": 4,
|
211 |
+
"trial_name": null,
|
212 |
+
"trial_params": null
|
213 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c8e5aac368155674d30ef5e3f0d8903af3baa95f7826c71f0cffd62e5910a52
|
3 |
+
size 5176
|