Instructions to use p208p2002/zh-wiki-punctuation-restore with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use p208p2002/zh-wiki-punctuation-restore with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="p208p2002/zh-wiki-punctuation-restore")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("p208p2002/zh-wiki-punctuation-restore") model = AutoModelForTokenClassification.from_pretrained("p208p2002/zh-wiki-punctuation-restore") - Inference
- Notebooks
- Google Colab
- Kaggle
中文內容夾雜英文,出現[UNK],該如何解決?
2
#2 opened over 1 year ago
by
sfkuo