ekurtic commited on
Commit
419e1f1
1 Parent(s): 2ccb952

Model release

Browse files
.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-3-downstream-pruned-block4-90-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 - 3 Layers - Sparsity 90% - 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: 90%
13
+ Number of layers: 3
14
+ ```
15
+
16
+ The dev-set performance of this model:
17
+ ```
18
+ EM = 70.00
19
+ F1 = 79.66
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:07c3aa81b3e4e4b53f9987187aa49a156a972ce05841a094de66bae6de2c104b
3
+ size 253
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0891a551cede5e57e8e8bba82dc12586ec7f4d8ea5105b08bbcfb26c5f90c284
3
+ size 678
eval_nbest_predictions.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51a1ac0508d7d8b9604a3e857008586047faf9e9c0679cc43a73226cc08f137a
3
+ size 49343754
eval_predictions.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c583a31fd33202facc0690e0b989d360dedaa73a0c49a017eb147af51291cb3d
3
+ size 598839
eval_results.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c95d82e71185e2dbf39d39e2af53c4b26a414d34934116ce65a5ef9856548d3c
3
+ size 115
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0366e39b135e05de7ec9233be1eeb3e4a8ab931fc56cbaf723c0ffa7e484960b
3
+ size 180695361
recipe.yaml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ !LayerPruningModifier
2
+ end_epoch: -1.0
3
+ layers: ['bert.encoder.layer.3', 'bert.encoder.layer.4', 'bert.encoder.layer.5', 'bert.encoder.layer.6', 'bert.encoder.layer.7', 'bert.encoder.layer.8', 'bert.encoder.layer.9', 'bert.encoder.layer.10', 'bert.encoder.layer.11']
4
+ start_epoch: -1.0
5
+ update_frequency: -1.0
6
+
7
+ !QuantizationModifier
8
+ disable_quantization_observer_epoch: 5.0
9
+ end_epoch: -1.0
10
+ freeze_bn_stats_epoch: 5.0
11
+ quantize_embeddings: 1
12
+ start_epoch: 0.0
13
+ submodules: ['bert.encoder', 'qa_outputs', 'bert.embeddings']
14
+
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:b1570a222067acd4004b4fd06cc07fc27e0000631507e38297cf88a565e92e53
3
+ size 392
train_results.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:026fa0a471f0e9a324094f6b2388238ed8e039c359f60b60bae2328f79c99c47
3
+ size 159
trainer_state.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39f1905da6f8f08ae95a986acbc1f12f0958e39d1dc534c3a4b679c5e9c9c2eb
3
+ size 7340
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1af1d2ec4dabdf53b5d5d7e4023210c37fd3f55e73cfbf2af699f2ebcb11cb60
3
+ size 2607
vocab.txt ADDED
The diff for this file is too large to render. See raw diff