End of training
Browse files- README.md +1 -1
- model-00001-of-00003.safetensors +1 -1
- model-00002-of-00003.safetensors +1 -1
- model-00003-of-00003.safetensors +1 -1
- sparsification_sftt.py +0 -2
README.md
CHANGED
|
@@ -15,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
-
- Loss: 2.
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 2.3188
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
model-00001-of-00003.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4943163992
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b8e3f0f4ee18f293ef8a0c738a2f07294f981f71de3dbf285804fe95830179f
|
| 3 |
size 4943163992
|
model-00002-of-00003.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4999821144
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee2167da978685b018574d420a96d32ccd07c57bb4ccd69c268fc219f8dbcd90
|
| 3 |
size 4999821144
|
model-00003-of-00003.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4540517840
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07599734b7f002e9cf552f9fccc5140536b656f50385aa0bca03f88173093d49
|
| 3 |
size 4540517840
|
sparsification_sftt.py
CHANGED
|
@@ -384,7 +384,6 @@ class MistralSparseSiluMLP(MistralMLP):
|
|
| 384 |
pre_act = self.gate_proj(x)
|
| 385 |
post_act = self.act_fn(pre_act)
|
| 386 |
if self.kill_sparse_swish_outputs:
|
| 387 |
-
print("POST ACT:", post_act.abs().mean())
|
| 388 |
dead_neurons = post_act.abs() <= self.dead_threshold
|
| 389 |
# print("pre act sparsity: ", (pre_act==0).float().mean())
|
| 390 |
|
|
@@ -400,7 +399,6 @@ class MistralSparseSiluMLP(MistralMLP):
|
|
| 400 |
) / (self.visit_counts + 1)
|
| 401 |
self.visit_counts += 1
|
| 402 |
|
| 403 |
-
print("DEAD PERCENTAGE: ", self.dead_percentage)
|
| 404 |
self.a = dead_percentage
|
| 405 |
|
| 406 |
# print(self.agg_sparsity)
|
|
|
|
| 384 |
pre_act = self.gate_proj(x)
|
| 385 |
post_act = self.act_fn(pre_act)
|
| 386 |
if self.kill_sparse_swish_outputs:
|
|
|
|
| 387 |
dead_neurons = post_act.abs() <= self.dead_threshold
|
| 388 |
# print("pre act sparsity: ", (pre_act==0).float().mean())
|
| 389 |
|
|
|
|
| 399 |
) / (self.visit_counts + 1)
|
| 400 |
self.visit_counts += 1
|
| 401 |
|
|
|
|
| 402 |
self.a = dead_percentage
|
| 403 |
|
| 404 |
# print(self.agg_sparsity)
|