Download python/sherpa_punct_sdk/__init__.py from AXERA-TECH/punc-ct-transformer: direct link, hf CLI and curl.
- Browser
- Download file 452 Bytes
-
https://huggingface.co/AXERA-TECH/punc-ct-transformer/resolve/main/python/sherpa_punct_sdk/__init__.py
- Command line
-
hf download hf://AXERA-TECH/punc-ct-transformer/python/sherpa_punct_sdk/__init__.py
-
curl -L -o __init__.py https://huggingface.co/AXERA-TECH/punc-ct-transformer/resolve/main/python/sherpa_punct_sdk/__init__.py
452 Bytes
| # Sherpa Punctuation SDK for AX650 | |
| # | |
| # Converts raw Chinese text to punctuation-annotated text using | |
| # the compiled AXMODEL on AXera NPU (or CPU fallback). | |
| from .pipeline import PunctuationPipeline | |
| from .preprocess import CharTokenizer | |
| from .postprocess import decode_punctuation | |
| from .inference import PunctInference | |
| __all__ = [ | |
| "PunctuationPipeline", | |
| "CharTokenizer", | |
| "decode_punctuation", | |
| "PunctInference", | |
| ] | |
| __version__ = "1.0.0" | |