Run this model with HF Jobs
Run zealerx/ct-punc-mlx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/zealerx/ct-punc-mlx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/zealerx/ct-punc-mlx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
- 16
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for zealerx/ct-punc-mlx
Base model
funasr/ct-punc