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_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-97-finetuned-mnli
|
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 97%`.
|
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: 97%
|
13 |
+
Number of layers: 12
|
14 |
+
```
|
15 |
+
|
16 |
+
The dev-set performance reported in the paper is averaged over three seeds, and we release the best model (marked with `(*)`):
|
17 |
+
|
18 |
+
```
|
19 |
+
| oBERT 97% | m-acc | mm-acc|
|
20 |
+
| ------------ | ----- | ----- |
|
21 |
+
| seed=42 | 78.55 | 79.90 |
|
22 |
+
| seed=3407 | 78.88 | 79.78 |
|
23 |
+
| seed=54321(*)| 79.11 | 79.71 |
|
24 |
+
| ------------ | ----- | ----- |
|
25 |
+
| mean | 78.85 | 79.80 |
|
26 |
+
| stdev | 0.281 | 0.096 |
|
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:3c2b333d8b0036c6081dd2d597c3030b5fb2bd701d969584c4e166d369dce2a3
|
3 |
+
size 802
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ecc5f4bda1b1ec69e586ea9fcc4b442fbd5338d0a924953bb692b1a0c64deb2
|
3 |
+
size 825
|
eval_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4ae59f783be08e09023d0ee0f9129dec41f69a0381f3b8b919292667ea04b4c
|
3 |
+
size 353
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73baae1b3de318f51c93f98fe14fc5628cc9dbbb0768c1d960efe1111945108b
|
3 |
+
size 438027529
|
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_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e44380d025de0cc56aa37748fd78f32cc21cc711edce78e8eea46abad743f94
|
3 |
+
size 465
|
train_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82b5e4c813f02a2523cb46c7d0bbd04308907c89188b013e376a29baefebf3df
|
3 |
+
size 469
|
trainer_state.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac4e8f521a2c052f31d0cc54acd2875c04c1c1ee1acdcdb8016de4fed86931ec
|
3 |
+
size 26095
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d57c179cd9e4aa71e615c87e550c0de194dab6dc56521db5528357f7dc92bc0
|
3 |
+
size 2415
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|