Model release
Browse files- .gitattributes +1 -0
- README.md +40 -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,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# oBERT-12-upstream-pruned-unstructured-97-finetuned-qqp-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 - QQP 97%` (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: QQP
|
12 |
+
Sparsity: 97%
|
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 |
+
```
|
19 |
+
| oBERT 97% | acc | F1 |
|
20 |
+
| ------------ | ----- | ----- |
|
21 |
+
| seed=42 (*)| 90.42 | 87.09 |
|
22 |
+
| seed=3407 | 90.31 | 86.87 |
|
23 |
+
| seed=123 | 90.20 | 86.76 |
|
24 |
+
| seed=12345 | 90.39 | 87.16 |
|
25 |
+
| ------------ | ----- | ----- |
|
26 |
+
| mean | 90.33 | 86.97 |
|
27 |
+
| stdev | 0.098 | 0.186 |
|
28 |
+
```
|
29 |
+
|
30 |
+
Code: _coming soon_
|
31 |
+
|
32 |
+
## BibTeX entry and citation info
|
33 |
+
```bibtex
|
34 |
+
@article{kurtic2022optimal,
|
35 |
+
title={The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models},
|
36 |
+
author={Kurtic, Eldar and Campos, Daniel and Nguyen, Tuan and Frantar, Elias and Kurtz, Mark and Fineran, Benjamin and Goin, Michael and Alistarh, Dan},
|
37 |
+
journal={arXiv preprint arXiv:2203.07259},
|
38 |
+
year={2022}
|
39 |
+
}
|
40 |
+
```
|
all_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fc9c5ca8a5159ebedd9fa55b52f76031a01ec2185753457e48808823feeeb55
|
3 |
+
size 493
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfac6bb9b3da23b5d5ce8ee141ba93e1cfaa220ee6c4bba462f13956793e2d93
|
3 |
+
size 987
|
eval_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21e6f23585c9c7698425caf3efba259a36e9defdc81615b190e44c8eb4061ad8
|
3 |
+
size 314
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33b940786fdcc8c94d8704d87455dc14f5af5174b7b213df661e4b4219ba4e03
|
3 |
+
size 438022125
|
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:bf09e5fe961d8190dafe6bc12d206b801ee0ccccdc7278d0923ecbe72b6677a8
|
3 |
+
size 391
|
train_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30dea65ce5f481aebb298d9f1f20b7a5734f306f5fcb2ea2ed4a778ab9dd634e
|
3 |
+
size 199
|
trainer_state.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96cdacd44633b5f9dc2f0383cc7c30a7ebbe2ef084dff1e0dba274fb38d4280c
|
3 |
+
size 25389
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:50791e8a9323d81a6675ca9d64c1ca4579b15dd46cf087a3c8bd3eeb3b525c26
|
3 |
+
size 3375
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|