File size: 1,392 Bytes
4fb6212
 
 
 
 
 
 
 
 
 
37a6a65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
tags:
- bert
- oBERT
- sparsity
- pruning
- compression
language: en
datasets: squad
---
# oBERT-12-upstream-pruned-unstructured-97-finetuned-squadv1

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).


It corresponds to the model presented in the `Table 2 - oBERT - SQuADv1 97%`.

```
Pruning method: oBERT upstream unstructured + sparse-transfer to downstream
Paper: https://arxiv.org/abs/2203.07259
Dataset: SQuADv1
Sparsity: 97%
Number of layers: 12
```

The dev-set performance reported in the paper is averaged over three seeds, and we release the best model (marked with `(*)`):

```
| oBERT 97%    | F1    | EM    |
| ------------ | ----- | ----- |
| seed=42      | 84.11 | 76.02 |
| seed=3407 (*)| 84.71 | 76.61 |
| seed=54321   | 84.35 | 76.44 |
| ------------ | ----- | ----- |
| mean         | 84.39 | 76.36 |
| stdev        | 0.301 | 0.303 |
```

Code: _coming soon_

## BibTeX entry and citation info
```bibtex
@article{kurtic2022optimal,
  title={The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models},
  author={Kurtic, Eldar and Campos, Daniel and Nguyen, Tuan and Frantar, Elias and Kurtz, Mark and Fineran, Benjamin and Goin, Michael and Alistarh, Dan},
  journal={arXiv preprint arXiv:2203.07259},
  year={2022}
}
```