Instructions to use DeepLearning101/Corrector101zhTW with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepLearning101/Corrector101zhTW with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="DeepLearning101/Corrector101zhTW")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("DeepLearning101/Corrector101zhTW") model = AutoModelForMaskedLM.from_pretrained("DeepLearning101/Corrector101zhTW", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.6b957bf
-
Upload 8 files
Verified signature9039ee4 -
Delete outputs-macbert4csc_20240428
Verified signature4980e59 -
Upload 8 files
Verified signatureoutputs-macbert4csc_20240428 - ERNIE for Chinese Spelling Correction 繁體中文 - MacBertMaskedLM For Chinese Spelling Correction 繁體中文 - wikipedia-zh-20230720-filtered.json 繁體中文 - Automatic Corpus Generation-zh 繁體中文 - [那些自然語言處理 (Natural Language Processing, NLP) 踩的坑 -- 文本糾錯](https://blog.twman.org/2021/04/NLP.html#:~:text=%E4%BA%86%E9%BB%9E%E6%84%9F%E8%A6%BA%E3%80%82-,%E6%96%87%E6%9C%AC%E7%B3%BE%E9%8C%AF%E9%BB%98%E9%BB%98%E6%9B%B4%E6%96%B0,-%E5%BE%8C%E4%BE%86%E3%80%82%E3%80%82%E3%80%82%E7%96%AB%E6%83%85)eaa77d0 -
Update README.md
Verified signature5eedde2
-
initial commit
Verified signature1e8a678