Model release
Browse files- .gitattributes +1 -0
- README.md +39 -0
- config.json +3 -0
- eval_results.txt +3 -0
- nbest_predictions.json +3 -0
- predictions.json +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +3 -0
- tokenizer_config.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-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 2 - oBERT - SQuADv1 97%`.
|
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 three seeds, and we release the best model (marked with `(*)`):
|
17 |
+
|
18 |
+
```
|
19 |
+
| oBERT 97% | F1 | EM |
|
20 |
+
| ------------ | ----- | ----- |
|
21 |
+
| seed=42 | 84.11 | 76.02 |
|
22 |
+
| seed=3407 (*)| 84.71 | 76.61 |
|
23 |
+
| seed=54321 | 84.35 | 76.44 |
|
24 |
+
| ------------ | ----- | ----- |
|
25 |
+
| mean | 84.39 | 76.36 |
|
26 |
+
| stdev | 0.301 | 0.303 |
|
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 |
+
```
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8486603b13aa568cb30a3f12f76029a3365344a234ace7353010ea02ea15338
|
3 |
+
size 659
|
eval_results.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
exact_match = 76.61305581835383
|
2 |
+
f1 = 84.71297608105864
|
3 |
+
epoch = 8.0
|
nbest_predictions.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2e9ca79b0aa7647bf4ac6eb86d2ed05bdbbeb7fd97483a1c67c535663191c47
|
3 |
+
size 49140433
|
predictions.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd6a04b295d9cee7ed5176a8e88b31d475825ecc4633f2180302aa8f8bfb0342
|
3 |
+
size 592336
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7acb655b2b2239cd815113434b7aee679eba4ebc08096903bdca6a1fe88024b
|
3 |
+
size 435661303
|
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:260bb99d8ae9c9d6dde1649bfd9c7fc81ce64f3cd1088b3a774d7c40592d4fba
|
3 |
+
size 483
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0aad58512c30362c7653a4fe7c09c39bff34dba4595f9bc25d99cea4f38667b7
|
3 |
+
size 2479
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|