Run this model with HF Jobs
Run raynardj/classical-chinese-punctuation-guwen-biaodian 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/raynardj/classical-chinese-punctuation-guwen-biaodian. 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/raynardj/classical-chinese-punctuation-guwen-biaodian 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 raynardj/classical-chinese-punctuation-guwen-biaodian with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use raynardj/classical-chinese-punctuation-guwen-biaodian with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="raynardj/classical-chinese-punctuation-guwen-biaodian")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("raynardj/classical-chinese-punctuation-guwen-biaodian") model = AutoModelForTokenClassification.from_pretrained("raynardj/classical-chinese-punctuation-guwen-biaodian", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Classical Chinese Punctuation
欢迎前往我的github文言诗词项目页面探讨、加⭐️ , Please check the github repository for more about the model, hit 🌟 if you like
This model punctuates Classical(ancient) Chinese, you might feel strange about this task, but many of my ancestors think writing articles without punctuation is brilliant idea 🧐. What we have here are articles from books, letters or carved on stones where you can see no punctuation, just a long string of characters. As you can guess, NLP tech is usually a good tool to tackle this problem, and the entire pipeline can be borrowed from usual NER task.
Since there are also many articles are punctuated, hence with some regex operations, labeled data is more than abundant 📚. That's why this problem is pretty much a low hanging fruit.
so I guess who's interested in the problem set can speak at least modern Chinese, hence... let me continue the documentation in Chinese.
文言文(古文) 断句模型
输入一串未断句文言文, 可以断句, 目前支持二十多种标点符号
其他文言诗词的资源
- Downloads last month
- 852