Model release
Browse files- .gitattributes +1 -0
- README.md +39 -0
- all_results.json +3 -0
- config.json +3 -0
- eval_results.json +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +3 -0
- train_results.json +3 -0
- trainer_state.json +3 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitattributes
CHANGED
|
@@ -25,3 +25,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# oBERT-12-upstream-pruned-unstructured-90-finetuned-mnli-v2
|
| 2 |
+
|
| 3 |
+
This model is obtained with [The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models](https://arxiv.org/abs/2203.07259).
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
It corresponds to the model presented in the `Table 2 - oBERT - MNLI 90%` (in the upcoming updated version of the paper).
|
| 7 |
+
|
| 8 |
+
```
|
| 9 |
+
Pruning method: oBERT upstream unstructured + sparse-transfer to downstream
|
| 10 |
+
Paper: https://arxiv.org/abs/2203.07259
|
| 11 |
+
Dataset: MNLI
|
| 12 |
+
Sparsity: 90%
|
| 13 |
+
Number of layers: 12
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
The dev-set performance reported in the paper is averaged over four seeds, and we release the best model (marked with `(*)`):
|
| 17 |
+
```
|
| 18 |
+
| oBERT 90% | m-acc | mm-acc|
|
| 19 |
+
| ------------ | ----- | ----- |
|
| 20 |
+
| seed=42 | 83.45 | 84.13 |
|
| 21 |
+
| seed=3407 (*)| 83.45 | 83.72 |
|
| 22 |
+
| seed=12345 | 83.27 | 83.57 |
|
| 23 |
+
| seed=123 | 83.42 | 83.71 |
|
| 24 |
+
| ------------ | ----- | ----- |
|
| 25 |
+
| mean | 83.40 | 83.78 |
|
| 26 |
+
| stdev | 0.086 | 0.241 |
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
Code: _coming soon_
|
| 30 |
+
|
| 31 |
+
## BibTeX entry and citation info
|
| 32 |
+
```bibtex
|
| 33 |
+
@article{kurtic2022optimal,
|
| 34 |
+
title={The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models},
|
| 35 |
+
author={Kurtic, Eldar and Campos, Daniel and Nguyen, Tuan and Frantar, Elias and Kurtz, Mark and Fineran, Benjamin and Goin, Michael and Alistarh, Dan},
|
| 36 |
+
journal={arXiv preprint arXiv:2203.07259},
|
| 37 |
+
year={2022}
|
| 38 |
+
}
|
| 39 |
+
```
|
all_results.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c9b193b727ce53b8c72ef92ef0a7e9a070ca174511385155a96e2b2a8df8135
|
| 3 |
+
size 654
|
config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3d0dcdd57ebea7a5ca17b9fd5b870e48e4a7d8cb6744a7f354f571a8e9c3f56
|
| 3 |
+
size 1028
|
eval_results.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ee085f9e0c32af49fbe50bb3f2e079d6edb1a8a26b7b7340f7d78a6e0dee2de
|
| 3 |
+
size 477
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc338edc7b841c18c832d297bc1300dcd0952e7030952e38d67149509d70c988
|
| 3 |
+
size 438025197
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
|
| 3 |
+
size 112
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da0e79933b9ed51798a3ae27893d3c5fa4a201126cef75586296df9b4d2c62a0
|
| 3 |
+
size 711661
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c6863d5eead8a7621fbfc9f434b9ad08693b40f7e17da33922dfb395a8645ca
|
| 3 |
+
size 392
|
train_results.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ba387fc4133760c92ad5f39ccd59b1299935df848ee012a5c4c0b60ad833cde
|
| 3 |
+
size 197
|
trainer_state.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c01a9e818b599c39f8a8026eb52976120f3b38323b227eb851b812943a05da4
|
| 3 |
+
size 26501
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6310e0b138c8e99646f6547bf275252af1dd2b37ea052a80b4ea596a9f177f0d
|
| 3 |
+
size 3375
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|