Rename config.json to config.yaml
Browse files- config.json +0 -18
- config.yaml +19 -0
config.json
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"architectures": [
|
3 |
-
"SegmentationModel"
|
4 |
-
],
|
5 |
-
"chunk_duration": 10.0,
|
6 |
-
"max_speakers_per_chunk": 3,
|
7 |
-
"max_speakers_per_frame": 2,
|
8 |
-
"min_duration": null,
|
9 |
-
"model_type": "pyannet",
|
10 |
-
"sample_rate": 16000,
|
11 |
-
"torch_dtype": "float32",
|
12 |
-
"transformers_version": "4.47.1",
|
13 |
-
"warm_up": [
|
14 |
-
0.0,
|
15 |
-
0.0
|
16 |
-
],
|
17 |
-
"weigh_by_cardinality": false
|
18 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.yaml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
task:
|
2 |
+
_target_: pyannote.audio.tasks.SpeakerDiarization
|
3 |
+
duration: 10.0
|
4 |
+
max_speakers_per_chunk: 3
|
5 |
+
max_speakers_per_frame: 2
|
6 |
+
model:
|
7 |
+
_target_: pyannote.audio.models.segmentation.PyanNet
|
8 |
+
sample_rate: 16000
|
9 |
+
num_channels: 1
|
10 |
+
sincnet:
|
11 |
+
stride: 10
|
12 |
+
lstm:
|
13 |
+
hidden_size: 128
|
14 |
+
num_layers: 4
|
15 |
+
bidirectional: true
|
16 |
+
monolithic: true
|
17 |
+
linear:
|
18 |
+
hidden_size: 128
|
19 |
+
num_layers: 2
|