Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- speech
|
| 7 |
+
- asr
|
| 8 |
+
- coreml
|
| 9 |
+
- parakeet
|
| 10 |
+
- transducer
|
| 11 |
+
- ios
|
| 12 |
+
base_model: nvidia/parakeet-tdt-0.6b-v2
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Parakeet TDT v3 — CoreML INT8 (iOS)
|
| 16 |
+
|
| 17 |
+
CoreML INT8 conversion of [NVIDIA Parakeet-TDT 0.6B v2](https://huggingface.co/nvidia/parakeet-tdt-0.6b-v2) optimized for iOS deployment on Neural Engine. Encoder uses `EnumeratedShapes` for variable-length audio input.
|
| 18 |
+
|
| 19 |
+
## Models
|
| 20 |
+
|
| 21 |
+
| Model | Description | Compute | Quantization |
|
| 22 |
+
|-------|-------------|---------|-------------|
|
| 23 |
+
| `encoder.mlmodelc` | FastConformer encoder (24L, 1024 hidden) | Neural Engine | INT8 palettized |
|
| 24 |
+
| `decoder.mlmodelc` | LSTM prediction network (2L, 640 hidden) | Neural Engine | FP16 |
|
| 25 |
+
|
| 26 |
+
## Usage
|
| 27 |
+
|
| 28 |
+
Used by [speech-swift](https://github.com/soniqo/speech-swift) `ParakeetASR` module:
|
| 29 |
+
|
| 30 |
+
```swift
|
| 31 |
+
let model = try await ParakeetASRModel.fromPretrained()
|
| 32 |
+
let text = try model.transcribeAudio(samples, sampleRate: 16000)
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
- **Guide**: [soniqo.audio/guides/parakeet](https://soniqo.audio/guides/parakeet)
|
| 38 |
+
- **Docs**: [soniqo.audio](https://soniqo.audio)
|
| 39 |
+
- **GitHub**: [soniqo/speech-swift](https://github.com/soniqo/speech-swift)
|