Model release
Browse files- .gitattributes +1 -0
- README.md +40 -0
- all_results.json +3 -0
- config.json +3 -0
- eval_nbest_predictions.json +3 -0
- eval_predictions.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-squadv1-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 - SQuADv1 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: SQuADv1
|
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% | F1 | EM |
|
20 |
+
| ------------- | ----- | ----- |
|
21 |
+
| seed=42 | 84.92 | 76.94 |
|
22 |
+
| seed=3407 | 84.87 | 76.71 |
|
23 |
+
| seed=123 | 84.95 | 77.06 |
|
24 |
+
| seed=12345 (*)| 84.95 | 76.90 |
|
25 |
+
| ------------- | ----- | ----- |
|
26 |
+
| mean | 84.92 | 76.90 |
|
27 |
+
| stdev | 0.037 | 0.145 |
|
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:63f7493be1e34268fcfffb915725111bd22c911df381aa1f39fcc719ace55059
|
3 |
+
size 298
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:380169abe557124a472ea17ca3aa889ac28e1ee16e22e059b040e21a1baff592
|
3 |
+
size 773
|
eval_nbest_predictions.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a855a7f678ac8c6f5326651aab25ea3c8771860b2bedf2cddec61061ca2ef4c1
|
3 |
+
size 45702613
|
eval_predictions.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c776888ecc10cf6c6a9c802f60c5320eb84316390b9358f4ae1c0961d1b03a83
|
3 |
+
size 589310
|
eval_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6dab5105be37e79d7624fdd08613d6d7bec5a39edb7247aacd8f0d98e11607e2
|
3 |
+
size 124
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0c26f79c4bbd2ba97e80149252b9e8e052355a4944cb73b0ebe0350d347c591
|
3 |
+
size 435658993
|
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:d241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66
|
3 |
+
size 711396
|
tokenizer_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2995bd0620bd945c6fedbfb8ec229865428cb1fb08d690e79e3d7715755af2e
|
3 |
+
size 441
|
train_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67228c69072a369dad24defb885bd438794532fea561de26b96eb3d995962e11
|
3 |
+
size 194
|
trainer_state.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4702db99461754b85bccdafa1be5a7602bd918c735a0d8eaa377f028e96ac23
|
3 |
+
size 12402
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2ad7267334c8e1d3f0033f765f27d7dbdd8ae2b70592901dcd45e5788a5e6b6
|
3 |
+
size 3375
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|