File size: 2,489 Bytes
f1bc4df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
  "model_id": "nvidia/parakeet-tdt_ctc-110m",
  "model_type": "hybrid_tdt_ctc",
  "sample_rate": 16000,
  "max_audio_seconds": 15.0,
  "max_audio_samples": 240000,
  "max_symbol_steps": 1,
  "vocab_size": 1024,
  "blank_id": 1024,
  "joint_extra_outputs": 5,
  "duration_bins": [
    0,
    1,
    2,
    3,
    4
  ],
  "encoder_dim": 512,
  "decoder_dim": 640,
  "decoder_hidden": 640,
  "decoder_layers": 1,
  "checkpoint": {
    "type": "pretrained",
    "model_id": "nvidia/parakeet-tdt_ctc-110m"
  },
  "coreml": {
    "compute_units": "CPU_ONLY",
    "compute_precision": "FLOAT32"
  },
  "components": {
    "preprocessor": {
      "inputs": {
        "audio_signal": [
          1,
          240000
        ],
        "audio_length": [
          1
        ]
      },
      "outputs": {
        "encoder": [
          1,
          512,
          188
        ],
        "encoder_length": [
          1
        ]
      },
      "path": "Preprocessor.mlpackage"
    },
    "decoder": {
      "inputs": {
        "targets": [
          1,
          1
        ],
        "target_length": [
          1
        ],
        "h_in": [
          1,
          1,
          640
        ],
        "c_in": [
          1,
          1,
          640
        ]
      },
      "outputs": {
        "decoder": [
          1,
          640,
          1
        ],
        "h_out": [
          1,
          1,
          640
        ],
        "c_out": [
          1,
          1,
          640
        ]
      },
      "path": "Decoder.mlpackage"
    },
    "joint_decision": {
      "inputs": {
        "encoder": [
          1,
          512,
          188
        ],
        "decoder": [
          1,
          640,
          1
        ]
      },
      "outputs": {
        "token_id": "int32",
        "token_prob": "float32",
        "duration": "int32"
      },
      "path": "JointDecision.mlpackage"
    },
    "joint_decision_single_step": {
      "inputs": {
        "encoder_step": [
          1,
          512,
          1
        ],
        "decoder_step": [
          1,
          640,
          1
        ]
      },
      "outputs": {
        "token_id": [
          1,
          1,
          1
        ],
        "token_prob": [
          1,
          1,
          1
        ],
        "duration": [
          1,
          1,
          1
        ],
        "top_k_ids": "int32",
        "top_k_logits": "float32"
      },
      "path": "JointDecisionSingleStep.mlpackage"
    }
  }
}