Model release
Browse files- .gitattributes +1 -0
- README.md +32 -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
- recipe.yaml +8 -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,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# oBERT-12-downstream-pruned-block4-80-QAT-squadv1
|
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 3 - 12 Layers - Sparsity 80% - 4-block + QAT`.
|
7 |
+
|
8 |
+
```
|
9 |
+
Pruning method: oBERT downstream block-4 + QAT
|
10 |
+
Paper: https://arxiv.org/abs/2203.07259
|
11 |
+
Dataset: SQuADv1
|
12 |
+
Sparsity: 80%
|
13 |
+
Number of layers: 12
|
14 |
+
```
|
15 |
+
|
16 |
+
The dev-set performance of this model:
|
17 |
+
```
|
18 |
+
EM = 80.58
|
19 |
+
F1 = 87.89
|
20 |
+
```
|
21 |
+
|
22 |
+
Code: _coming soon_
|
23 |
+
|
24 |
+
## BibTeX entry and citation info
|
25 |
+
```bibtex
|
26 |
+
@article{kurtic2022optimal,
|
27 |
+
title={The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models},
|
28 |
+
author={Kurtic, Eldar and Campos, Daniel and Nguyen, Tuan and Frantar, Elias and Kurtz, Mark and Fineran, Benjamin and Goin, Michael and Alistarh, Dan},
|
29 |
+
journal={arXiv preprint arXiv:2203.07259},
|
30 |
+
year={2022}
|
31 |
+
}
|
32 |
+
```
|
all_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4d4302ff5c89a2818525558ebe647fb7b28772e5e7453b8c3fe995c65f726a6
|
3 |
+
size 252
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c72246d4e8176390b1cd42d20b3c7cf4c02ea582134ae9095df56f78d703747
|
3 |
+
size 738
|
eval_nbest_predictions.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:50a09bb890c8d9419a73dfe28c51be7c497b0d010ea3dbfbaf2801e4d0e8909d
|
3 |
+
size 49411643
|
eval_predictions.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4add854510ba6502db5e8e18b289484a83e9ac3d01236b94e469cfea7343fa77
|
3 |
+
size 588711
|
eval_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3cd1f6e05af7e0c07e2a993e8baddd79e46bcb6ab84c47e3606e64736030158
|
3 |
+
size 114
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2613207234c17930e3e30ffb22a8dceb4de2ff54307cf70bfc514dabea1d1733
|
3 |
+
size 436619715
|
recipe.yaml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!QuantizationModifier
|
2 |
+
disable_quantization_observer_epoch: 5
|
3 |
+
end_epoch: -1.0
|
4 |
+
freeze_bn_stats_epoch: 5
|
5 |
+
quantize_embeddings: 1
|
6 |
+
start_epoch: 0.0
|
7 |
+
submodules: ['bert.embeddings', 'bert.encoder', 'qa_outputs']
|
8 |
+
|
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:5fd1c882abbd30517dced455a2c9768945ec726b96727927e4959348d9de550b
|
3 |
+
size 466081
|
tokenizer_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5090b7e03eb3ac6be1917c6025dc43ca6b7636edb5aab591e8278c8c51df014
|
3 |
+
size 452
|
train_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72cd91a0869297c54e750ea4948f5a09e8110ec9bdcde1aab79391205cff661b
|
3 |
+
size 159
|
trainer_state.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45552d1cc7bbe1e162e041779a89e2603c8c1584ffbcc099be4fa0e38993b509
|
3 |
+
size 7229
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6542fc3488c0998f00ddd6aa2c7f459bb0e2f273db28cd1ceccc0d448e037ff4
|
3 |
+
size 2607
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|