Note on CER
: We report normalized CER which removes punctuation and normalizes number formats (digits → Chinese characters). Raw CER including these format differences is ~19-20%.
Hardware Requirements
Platform
: macOS 14.0+ or iOS 17.0+
Processor
: Apple Silicon (M1/M2/M3/M4/A15+) recommended
Neural Engine
: Optimized for ANE execution
Memory
: ~600MB runtime (int8 encoder)
Usage
Swift (Recommended)
import CoreML
import AVFoundation
// Load modelslet preprocessor =tryMLModel(contentsOf: preprocessorURL)
let encoder =tryMLModel(contentsOf: encoderV2URL) // Use v2 (int8)let decoder =tryMLModel(contentsOf: decoderURL)
// Prepare audio (16kHz, mono, up to 15 seconds)let audioArray: [Float] =...// Your audio sampleslet audioPadded = pad(audioArray, to: 240000) // Pad to 15s// Step 1: Preprocessorlet preprocInput =PreprocessorInput(
audio_signal: tryMLMultiArray(audioPadded),
audio_length: tryMLMultiArray([240000])
)
let preprocOutput =try preprocessor.prediction(from: preprocInput)
// Step 2: Encoderlet encoderInput =EncoderInput(
audio_signal: preprocOutput.mel,
length: preprocOutput.mel_length
)
let encoderOutput =try encoder.prediction(from: encoderInput)
// Step 3: Decoder (CTC Head)let decoderInput =DecoderInput(encoder_output: encoderOutput.encoder_output)
let decoderOutput =try decoder.prediction(from: decoderInput)
// Step 4: CTC Greedy Decodelet logits = decoderOutput.ctc_logits
let text = ctcGreedyDecode(logProbs: logits, vocabulary: vocab, blankId: 7000)
print(text) // "你好世界"
Performance gain
: 7.3% faster inference + 50% memory reduction
The int8 quantization provides excellent compression with virtually no accuracy loss, making it ideal for on-device deployment.
Limitations
Fixed input duration
: Requires exactly 15 seconds of audio (240,000 samples @ 16kHz). Shorter audio must be padded, longer audio must be split into chunks.
Language
: Optimized for Mandarin Chinese (Simplified). Performance on Traditional Chinese or dialects may vary.
Foreign words
: Struggles with transliterated foreign names (e.g., "Rolando Mendoza" → incorrect transliteration).
Punctuation
: While the model can output punctuation, it was not extensively trained for punctuation prediction.
Apple Silicon required
: Models are optimized for Apple Neural Engine. Performance on Intel Macs or non-Apple hardware will be degraded.
parakeet-ctc-0.6b-zh-cn-coreml huggingface.co is an AI model on huggingface.co that provides parakeet-ctc-0.6b-zh-cn-coreml's model effect (), which can be used instantly with this FluidInference parakeet-ctc-0.6b-zh-cn-coreml model. huggingface.co supports a free trial of the parakeet-ctc-0.6b-zh-cn-coreml model, and also provides paid use of the parakeet-ctc-0.6b-zh-cn-coreml. Support call parakeet-ctc-0.6b-zh-cn-coreml model through api, including Node.js, Python, http.
parakeet-ctc-0.6b-zh-cn-coreml huggingface.co is an online trial and call api platform, which integrates parakeet-ctc-0.6b-zh-cn-coreml's modeling effects, including api services, and provides a free online trial of parakeet-ctc-0.6b-zh-cn-coreml, you can try parakeet-ctc-0.6b-zh-cn-coreml online for free by clicking the link below.
FluidInference parakeet-ctc-0.6b-zh-cn-coreml online free url in huggingface.co:
parakeet-ctc-0.6b-zh-cn-coreml is an open source model from GitHub that offers a free installation service, and any user can find parakeet-ctc-0.6b-zh-cn-coreml on GitHub to install. At the same time, huggingface.co provides the effect of parakeet-ctc-0.6b-zh-cn-coreml install, users can directly use parakeet-ctc-0.6b-zh-cn-coreml installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
parakeet-ctc-0.6b-zh-cn-coreml install url in huggingface.co: