CT-Punc for MLX

Chinese punctuation restoration: FunASR's CT-Transformer punctuation model (Alibaba DAMO Academy), SAN-M encoder in MLX, FunASR's own text handling in Python.

Converted from funasr/ct-punc with speech-mlx. Runs without PyTorch.

Use

pip install "speech-mlx[indextts,dots] @ git+https://github.com/xiaozealer/speech-mlx"
from speech_mlx.funasr.asr import CTPunc
print(CTPunc.from_pretrained("zealerx/ct-punc-mlx").punctuate("今天天气不错我们去公园吧"))

Parity with the original

Identical punctuated text to FunASR on 40 sentences of transcript; encoder within 5.3e-6.

Details: docs/PARITY.md.

Licence

The licence of the original model applies (licence file in this repo).

Downloads last month
12
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for zealerx/ct-punc-mlx

Base model

funasr/ct-punc
Finetuned
(1)
this model