manifest: declare the audio frontend, transducer decode and driver

#1
by Void2377 - opened
Files changed (1) hide show
  1. parakeet-tdt-0-6b-v3.json +121 -13
parakeet-tdt-0-6b-v3.json CHANGED
@@ -1,9 +1,16 @@
1
  {
2
  "schema": 1,
3
  "name": "parakeet-tdt-0-6b-v3",
4
- "source": "nvidia/parakeet-tdt-0.6b-v3",
5
  "family": "asr",
 
 
 
 
 
 
 
6
  "arch": {
 
7
  "enc_hidden": 1024,
8
  "enc_layers": 24,
9
  "enc_heads": 8,
@@ -25,28 +32,129 @@
25
  "decoder_layers": 2,
26
  "vocab": 8193,
27
  "blank_token_id": 8192,
 
 
 
 
 
 
 
28
  "max_symbols_per_step": 10,
29
  "hidden_act": "relu",
30
  "joint_vocab_out": 8198
31
  },
32
  "artifacts": {
33
  "graphs": {
34
- "encoder": {
35
- "package": "parakeet-tdt-0-6b-v3_encoder.mlpackage"
 
 
 
 
 
 
 
36
  },
37
- "step": {
38
- "package": "parakeet-tdt-0-6b-v3_step.mlpackage"
 
 
 
 
 
 
 
39
  }
40
  },
41
  "host": {
42
- "embed": "parakeet-tdt-0-6b-v3_embed_f16.bin",
43
- "tokenizer": "tokenizer.json"
 
44
  }
45
  },
46
- "runtime": {
47
- "compute_units": "cpuAndNeuralEngine",
48
- "precision": "fp16",
49
- "ctx": null,
50
- "seq": 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  }
52
- }
 
1
  {
2
  "schema": 1,
3
  "name": "parakeet-tdt-0-6b-v3",
 
4
  "family": "asr",
5
+ "source": "nvidia/parakeet-tdt-0.6b-v3",
6
+ "comment": "",
7
+ "target": {
8
+ "backend": "coreml",
9
+ "min_os": "macOS15",
10
+ "note": "portable .mlpackage; .mlmodelc is compiled on device and cached content-addressed by model hash + OS build + device model"
11
+ },
12
  "arch": {
13
+ "model_type": "parakeet_tdt",
14
  "enc_hidden": 1024,
15
  "enc_layers": 24,
16
  "enc_heads": 8,
 
32
  "decoder_layers": 2,
33
  "vocab": 8193,
34
  "blank_token_id": 8192,
35
+ "durations": [
36
+ 0,
37
+ 1,
38
+ 2,
39
+ 3,
40
+ 4
41
+ ],
42
  "max_symbols_per_step": 10,
43
  "hidden_act": "relu",
44
  "joint_vocab_out": 8198
45
  },
46
  "artifacts": {
47
  "graphs": {
48
+ "parakeet-tdt-0-6b-v3_encoder": {
49
+ "role": "encoder",
50
+ "package": "parakeet-tdt-0-6b-v3_encoder.mlpackage",
51
+ "compiled": "parakeet-tdt-0-6b-v3_encoder.mlmodelc",
52
+ "seq": 1,
53
+ "ctx": 0,
54
+ "precision": "fp16",
55
+ "compute_units": "cpuAndNeuralEngine",
56
+ "stateful": false
57
  },
58
+ "parakeet-tdt-0-6b-v3_step": {
59
+ "role": "step",
60
+ "package": "parakeet-tdt-0-6b-v3_step.mlpackage",
61
+ "compiled": "parakeet-tdt-0-6b-v3_step.mlmodelc",
62
+ "seq": 1,
63
+ "ctx": 0,
64
+ "precision": "fp16",
65
+ "compute_units": "cpuAndNeuralEngine",
66
+ "stateful": false
67
  }
68
  },
69
  "host": {
70
+ "tokenizer": "tokenizer.json",
71
+ "tokenizer_kind": "sentencepiece",
72
+ "embed": "parakeet-tdt-0-6b-v3_embed_f16.bin"
73
  }
74
  },
75
+ "audio": {
76
+ "kind": "log_mel",
77
+ "sample_rate": 16000,
78
+ "buckets": [
79
+ 512
80
+ ],
81
+ "flavor": "nemo",
82
+ "n_mels": 128,
83
+ "normalize": true
84
+ },
85
+ "decode": {
86
+ "pipeline": "transducer",
87
+ "driver": "ane_transducer_transcribe",
88
+ "vocab": 8193,
89
+ "blank_token_id": 8192,
90
+ "n_durations": 5,
91
+ "durations": [
92
+ 0,
93
+ 1,
94
+ 2,
95
+ 3,
96
+ 4
97
+ ],
98
+ "max_symbols_per_step": 10,
99
+ "pred_state": [
100
+ "h0",
101
+ "c0",
102
+ "h1",
103
+ "c1"
104
+ ]
105
+ },
106
+ "state": {
107
+ "name": "",
108
+ "kind": "explicit",
109
+ "tensors": [
110
+ "h0",
111
+ "c0",
112
+ "h1",
113
+ "c1"
114
+ ],
115
+ "shared_by": [],
116
+ "note": "the prediction network's LSTM state, threaded through the step graph's own I/O"
117
+ },
118
+ "success": {
119
+ "parity": "wer",
120
+ "wer_max": 0.05,
121
+ "min_tok_per_s": 0.0
122
+ },
123
+ "plan": {
124
+ "steps": [
125
+ {
126
+ "kind": "host",
127
+ "op": "ane_transducer_transcribe",
128
+ "args": {
129
+ "tokenizer": "tokenizer.json",
130
+ "tokenizer_kind": "sentencepiece",
131
+ "kind": "log_mel",
132
+ "flavor": "nemo",
133
+ "sample_rate": 16000,
134
+ "n_mels": 128,
135
+ "normalize": true,
136
+ "buckets": [
137
+ 512
138
+ ],
139
+ "vocab": 8193,
140
+ "blank_token_id": 8192,
141
+ "n_durations": 5,
142
+ "durations": [
143
+ 0,
144
+ 1,
145
+ 2,
146
+ 3,
147
+ 4
148
+ ],
149
+ "max_symbols_per_step": 10,
150
+ "pred_state": [
151
+ "h0",
152
+ "c0",
153
+ "h1",
154
+ "c1"
155
+ ]
156
+ }
157
+ }
158
+ ]
159
  }
160
+ }