Upload 2 files
Browse files- audiocaps_config.yml +28 -0
audiocaps_config.yml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
tokenizer:
|
2 |
+
type: text_tokenizer.DictTokenizer
|
3 |
+
args:
|
4 |
+
max_length: 20
|
5 |
+
target_sr: 16000
|
6 |
+
model:
|
7 |
+
args:
|
8 |
+
shared_dim: 1024
|
9 |
+
tchr_dim: 768
|
10 |
+
model:
|
11 |
+
args: {}
|
12 |
+
decoder:
|
13 |
+
args:
|
14 |
+
attn_emb_dim: 1408
|
15 |
+
dropout: 0.2
|
16 |
+
emb_dim: 256
|
17 |
+
fc_emb_dim: 1408
|
18 |
+
nlayers: 2
|
19 |
+
tie_weights: true
|
20 |
+
vocab_size: 4981
|
21 |
+
type: models.transformer_decoder.TransformerDecoder
|
22 |
+
encoder:
|
23 |
+
args:
|
24 |
+
freeze: false
|
25 |
+
pretrained: true
|
26 |
+
type: models.cnn_encoder.EfficientNetB2
|
27 |
+
type: models.transformer_model.TransformerModel
|
28 |
+
type: models.kd_wrapper.ContraEncoderKdWrapper
|