bert-base-squadv1-pruneofa-90pc-bt-qat-lt / nncf_bert_squad_sparsity.json
Chua, Vui Seng
Add collaterals
0e66ada
raw
history blame
1.69 kB
{
"input_info": [
{
"sample_size": [1, 384],
"type": "long"
},
{
"sample_size": [1, 384],
"type": "long"
},
{
"sample_size": [1, 384],
"type": "long"
}
],
"compression":
[
{
"algorithm": "magnitude_sparsity",
"sparsity_init": 0.0,
"params": {
"schedule": "multistep",
"multistep_steps": [
2,
4,
6,
8,
],
"multistep_sparsity_levels": [
0.0,
0.0,
0.0,
0.0,
0.0,
]
},
"ignored_scopes": ["{re}.*NNCFEmbedding", "{re}.*qa_outputs*"]
},
{
"algorithm": "quantization",
"initializer": {
"range": {
"num_init_samples": 32,
"type": "percentile",
"params":
{
"min_percentile": 0.01,
"max_percentile": 99.99
}
},
"batchnorm_adaptation": {
"num_bn_adaptation_samples": 200
}
},
"activations":
{
"mode": "symmetric"
},
"weights":
{
"mode": "symmetric",
"signed": true,
"per_channel": false
}
}
],
}