Instructions to use zealerx/ct-punc-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use zealerx/ct-punc-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download zealerx/ct-punc-mlx --local-dir ct-punc-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
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
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for zealerx/ct-punc-mlx
Base model
funasr/ct-punc