Update model config
Browse files- config.json +37 -0
config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "spiking_neural_network",
|
| 3 |
+
"architecture": "recurrent_lif",
|
| 4 |
+
"task": "audio_classification",
|
| 5 |
+
"dataset": "spiking_heidelberg_digits",
|
| 6 |
+
"input_channels": 700,
|
| 7 |
+
"hidden_size": 512,
|
| 8 |
+
"output_classes": 20,
|
| 9 |
+
"neuron_model": "cuba_lif",
|
| 10 |
+
"recurrent": true,
|
| 11 |
+
"time_bins": 250,
|
| 12 |
+
"dt_ms": 4.0,
|
| 13 |
+
"threshold": 1.0,
|
| 14 |
+
"dropout": 0.3,
|
| 15 |
+
"surrogate_gradient": "fast_sigmoid",
|
| 16 |
+
"surrogate_scale": 25.0,
|
| 17 |
+
"training": {
|
| 18 |
+
"optimizer": "adamw",
|
| 19 |
+
"learning_rate": 0.001,
|
| 20 |
+
"weight_decay": 0.0001,
|
| 21 |
+
"scheduler": "cosine_annealing",
|
| 22 |
+
"epochs": 200,
|
| 23 |
+
"batch_size": 128,
|
| 24 |
+
"gradient_clip_norm": 1.0
|
| 25 |
+
},
|
| 26 |
+
"results": {
|
| 27 |
+
"float_accuracy": 0.859,
|
| 28 |
+
"quantized_accuracy_16bit": 0.854,
|
| 29 |
+
"quantization_loss": 0.004
|
| 30 |
+
},
|
| 31 |
+
"hardware_deployment": {
|
| 32 |
+
"target_processors": ["catalyst_n1", "catalyst_n2"],
|
| 33 |
+
"weight_precision": "int16",
|
| 34 |
+
"threshold_hw": 1000,
|
| 35 |
+
"decay_precision": "12bit_fractional"
|
| 36 |
+
}
|
| 37 |
+
}
|